Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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.