Uploaded image for project: 'Giraph'
  1. Giraph
  2. GIRAPH-163

bin/giraph script overwrites CLASSPATH if "dev environment" detected (this also removes USER_JAR from CLASSPATH)

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.1.0, 1.0.0
    • Fix Version/s: None
    • Component/s: conf and scripts
    • Labels:
    • Environment:

      current trunk of giraph, after running "mvn compile" (as advised in the quick start guide).
      Also Hadoop 1.0.1 was used.

      Description

      If no ./lib dir is present, then the bin/giraph script assumes it is running in a "dev environment".
      This chooses an execution path through the bin/giraph script, which overwrites the CLASSPATH variable instead of appending to it.

      Incidentally, this also removes the name of the jar submitted by the user, which got appended to CLASSPATH earlier in the script.

        Attachments

        1. GIRAPH-163.patch
          0.4 kB
          Benjamin Heitmann

          Activity

            People

            • Assignee:
              metaman Benjamin Heitmann
              Reporter:
              metaman Benjamin Heitmann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified