Pig
  1. Pig
  2. PIG-1346

In unit tests Util.executeShellCommand relies on java commands being in the path and does not consider JAVA_HOME

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.6.0, 0.7.0
    • Fix Version/s: 0.6.0, 0.7.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Util.executeShellCommand is currently used in unit tests to execute java related binaries like "java", "javac", "jar" - this method should check if JAVA_HOME is set and use $JAVA_HOME/bin/java etc. If JAVA_HOME is not set, the method can try and execute the command as-is.

      1. PIG-1346.patch
        4 kB
        Pradeep Kamath
      2. PIG-1346-2.patch
        4 kB
        Pradeep Kamath

        Activity

          People

          • Assignee:
            Pradeep Kamath
            Reporter:
            Pradeep Kamath
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development