You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/10/06 01:41:26 UTC
[jira] [Commented] (TRAFODION-1504) Check for changed class path
information in sqgen
[ https://issues.apache.org/jira/browse/TRAFODION-1504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14944260#comment-14944260 ]
ASF GitHub Bot commented on TRAFODION-1504:
-------------------------------------------
GitHub user zellerh opened a pull request:
https://github.com/apache/incubator-trafodion/pull/104
TRAFODION-1504 check for environment in sqgen
Avoid the common mistake of doing an sqgen in an environment that
is not clean, where changes to CLASSPATH or other environment variables
have been done after sourcing sqenv.sh.
This commit also fixes TRAFODION-1505, delete the sw* convenience scripts
created by install_local_hadoop when we do swuninstall_local_hadoop.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zellerh/incubator-trafodion bug/1129
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafodion/pull/104.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #104
----
commit 596692db2905db9f5e62e7b84b3bab64e2808f1a
Author: Hans Zeller <ha...@esgyn.com>
Date: 2015-10-05T23:36:55Z
TRAFODION-1504 check for environment in sqgen
Avoid the common mistake of doing an sqgen in an environment that
is not clean, where changes to CLASSPATH or other environment variables
have been done after sourcing sqenv.sh.
This commit also fixes TRAFODION-1505, delete the sw* convenience scripts
created by install_local_hadoop when we do swuninstall_local_hadoop.
----
> Check for changed class path information in sqgen
> -------------------------------------------------
>
> Key: TRAFODION-1504
> URL: https://issues.apache.org/jira/browse/TRAFODION-1504
> Project: Apache Trafodion
> Issue Type: Bug
> Components: foundation
> Reporter: Hans Zeller
> Assignee: Hans Zeller
> Fix For: 1.2-incubating
>
>
> There have been quite a few cases I've seen where we set up something (e.g. called the install_local_hadoop script) in a shell and then did sqgen in that same shell.
> What happened was that the first action should have had an impact on the CLASSPATH, but since that only happens when we source sqenv.sh and this was not done, sqgen created the wrong CLASSPATH information.
> I would like to fix that by sourcing in sqenv.sh at the beginning of the sqgen script. Also, sqenv gives the warning that the environment changed, then issue an error and abort sqgen.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)