Uploaded image for project: 'Apache Trafodion (Retired)'
  1. Apache Trafodion (Retired)
  2. TRAFODION-1504

Check for changed class path information in sqgen

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2-incubating
    • foundation
    • 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.

      Attachments

        Activity

          People

            hzeller Hans Zeller
            hzeller Hans Zeller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: