This page is obsolete. It has been replaced with the Amazon sandbox: https://aws.amazon.com/marketplace/pp/B018RBMFG0?sr=0-2 |
The Trafodion sandbox is a virtual appliance that provides a simulation of Trafodion on a single-node cluster, giving you an area where you can become familiar with Trafodion. Download the trafodion_release.ova file and install it on a PC that is already running one of the supported hypervisors. The sandbox already has Trafodion Release 1.1 and Hortonworks Data Platform (HDP) installed.
NOTE: If you encounter problems or need assistance with the installation or use of the Trafodion sandbox, please email tbd for help.
To run the Trafodion sandbox successfully, you will need at least 16 GB of memory on your PC. The sandbox uses about 5 GB of memory while the Hadoop services and Trafodion are running, so make sure that you have enough available memory on your PC to support those processes. Otherwise, the sandbox will operate very slowly.
Install one of these tested and supported hypervisors on your PC:
Your PC should have virtualization enabled in its BIOS settings. To enable virtualization on your PC, follow these steps:
Once your PC meets the prerequisites, follow these steps:
NOTE: The .ova file is about 6 GB in size. Therefore, it might take over an hour to download this file to your PC depending on the speed of your Internet connection. If you'd like to verify the download, the checksum iseb08cbc5bfd4b7b2bde8ba2d7b01db4b trafodion_release.ova, which you can compute and compare using the Linux command "md5sum trafodion_release.ova".
The hypervisor will display a dialog box prompting you to import the new virtual machine.
If you see this VMware Workstation error message, click Retry:
The import failed because <local storage path> did not pass OVF specification conformance or virtual hardware compliance checks. Click Retry to relax OVF specification and virtual hardware compliance checks and try the import again, or click Cancel to cancel the import. If you retry the import, you might not be able to use the virtual machine in VMware Workstation.
NOTE: The import process might take about 15 minutes to complete because it is transferring about 4 GB of data.
The hypervisor boots up CentOS, which might take a few minutes to complete.
This kernel requires an x86-64 CPU, but only detected an I686 CPU. Unable to boot - please use a kernel appropriate for your CPU.
TIP: Instead of shutting down the system, hibernate the virtual machine. When you restart it, it should return to the same state in which you had left it.
NOTE: It might take a while to start the Ambari console for the first time. Please be patient.
NOTE: If any problems arise while you are starting the Hadoop services, see the Troubleshooting section.
status 'detailed':[trafodion@trafodion ~]$ hbase shell
hbase(main):001:0>status 'detailed'
version 0.98.0.2.1.7.0-784-hadoop2
0 regionsInTransition
master coprocessors: []
1 live servers
trafodion.local:60020 1423613814142
...
0 dead servers
hbase(main):003:0>
If there are no live HBase RegionServers, return to step 9 to restart those servers. If the HBase RegionServers are live, proceed to step 12.
NOTE: Before bringing up the Trafodion instance, make sure that the required Hadoop services and the HBase RegionServers are still running. See steps 10 and 11 in Starting the Hadoop Services.
ifconfig command and note which network interface (that is, eth<n>) has an IP address.dcs.dns.interface setting in $MY_SQROOT/dcs*/conf/dcs-site.xml.dcs.dns.interface setting in dcs-site.xml to match the network interface name. You are now ready to start Trafodion.cds sqstart
If sqstart runs successfully, you should see this output after running the sqcheck command:
[trafodion@trafodion scripts]$ sqcheck Checking if processes are up. Checking attempt: 1; user specified max: 2. Execution time in seconds: 11. The SQ environment is up! Process Configured Actual Down ------- ---------- ------ ---- DTM 2 2 RMS 4 4 MXOSRVR 2 2
If sqstart is not working (that is, if it does not complete after about five minutes):
Background SQ Startup job (pid: 15136) # of SQ processes: 9 ^C [trafodion@trafodion scripts]$ ckillall This command might cause irreparable damage to your database. Execute sqstop instead. Do you really want to continue? y/n: y Going to execute ckillall [trafodion@trafodion scripts]$
Once sqstart runs successfully, proceed to step 14 to launch sqlci.
[trafodion@trafodion scripts]$ cd .. [trafodion@trafodion sql]$ cd .. [trafodion@trafodion ~]$ sqlci Trafodion Conversational Interface 1.0.0 (c) Copyright 2014 Hewlett-Packard Development Company, LP. >>get version of software; System Version 1.0.0. Expected Version 1.0.0. Software is current. --- SQL operation complete. >>get version of metadata; Current Version 3.0. Expected Version 3.0. Metadata is current. --- SQL operation complete.
The output of the GET VERSION commands should indicate that the software and metadata are current.
If you see error messages when running the GET VERSION commands, report the problem to tbd and try initializing Trafodion as follows to resolve the problem:
>>initialize trafodion, drop; --- SQL operation complete. >>initialize trafodion; --- SQL operation complete.
Rerun the GET VERSION OF SOFTWARE and GET VERSION OF METADATA commands to make sure that the software and metadata are current.
>>create table test1 (f1 int, f2 int);
--- SQL operation complete.
>>insert into test1 values(1,1);
--- 1 row(s) inserted.
>>insert into test1 values(2,2);
--- 1 row(s) inserted.
>>select * from test1;
F1 F2
----------- -----------
1 1
2 2
--- 2 row(s) selected.
>>get tables;
Tables in Schema TRAFODION.SEABASE
==================================
TEST1
--- SQL operation complete.
>>exit;
Those SQL commands should run successfully.
Problem: App Timeline Server fails to start
Solution: Update the yarn.timeline-service.store-class value as follows:
yarn.timeline-service.store-class field:org.apache.hadoop.yarn.server.timeline.LeveldbTimelineStore
Problem: Hadoop services do not start.
Solution: You might need to set the proxy server in /etc/yum.conf:
[trafodion@trafodion ~]$ su root Password: [root@trafodion trafodion]#
/etc/yum.conf file by setting the proxy to http://trafodion:8080:[root@trafodion trafodion]# vi /etc/yum.conf #<proxy-server>:<port-number> proxy=http://trafodion:8080 [root@trafodion trafodion]#