sqenv problem when using downloaded product and install_local_hadoop
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Trafodion |
Fix Committed
|
Low
|
Chris Sheedy |
Bug Description
Trafodion can be tested this way on a system where Hadoop is not installed:
1. Download a file from downloads.
2. Unpack the downloaded file to extract Trafodion core product tar file
3. Install Trafodion by unpacking its tar file in an empty directory:
tar -xzf trafodion_
4. Set the Trafodion environment:
source ./sqenv.sh
5. Install Hadoop within the current directory using the supplied script:
sql/
6. Run tests
The sqenv.sh file needs to be invoked first because install_
$ . ./sqenv.sh
ERROR: Did not find supported Hadoop distribution
$
This seems to be a harmless error, since install_
This was encountered running the SQL developer regression tests on shared developer systems where Hadoop is not installed as root, i.e., developers have local copies of Hadoop.
Changed in trafodion: | |
importance: | Undecided → Low |
tags: | added: dev-environment |
Changed in trafodion: | |
assignee: | nobody → Chris Sheedy (chris-sheedy) |
status: | New → In Progress |
Changed in trafodion: | |
status: | In Progress → Fix Committed |
After step 4 in this scenario, CLASSPATH statrs with 4 colons because variables from the not-yet-done Hadoop installation are empty but used in setting CLASSPATH, e.g.,
$ echo $CLASSPATH | cut -c1-22 home/csheedy/
::::/opt/