You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Suresh Subbiah (JIRA)" <ji...@apache.org> on 2015/08/31 08:07:49 UTC

[jira] [Closed] (TRAFODION-813) LP Bug: 1401191 - sqenv problem when using downloaded product and install_local_hadoop

     [ https://issues.apache.org/jira/browse/TRAFODION-813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Subbiah closed TRAFODION-813.
------------------------------------
    Resolution: Fixed

Change status in JIRA to reflect LaunchPad

> LP Bug: 1401191 - sqenv problem when using downloaded product and install_local_hadoop
> --------------------------------------------------------------------------------------
>
>                 Key: TRAFODION-813
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-813
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: dev-environment
>            Reporter: Christopher Sheedy
>            Assignee: Christopher Sheedy
>            Priority: Minor
>
> Trafodion can be tested this way on a system where Hadoop is not installed:
> 1.	Download a file from downloads.trafodion.org, e.g., file trafodion_debug-20141210_0830.tar.gz
> 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_server-0.9.1.tgz
> 4.	Set the Trafodion environment:
>     source ./sqenv.sh
> 5.	Install Hadoop within the current directory using the supplied script:
>     sql/scripts/install_local_hadoop
> 6.	Run tests
> The sqenv.sh file needs to be invoked first because install_local_hadoop needs the environment variable $MY_SQROOT.  The problem is that sqenv.sh does not recognize it is working with the installed product, and reports an error:
> $ . ./sqenv.sh
> ERROR: Did not find supported Hadoop distribution
> $
> This seems to be a harmless error, since install_local_hadoop and running tests apparently run normally.  Perhaps “WARNING” is more appropriate.
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)