Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-2095

pig start script doesn't collect libs properly when "hadoop" is part of PIG_HOME

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 0.8.1
    • None
    • None
    • pig is installed in a directory containing the phrase "hadoop"

    Description

      bin/pig contains this loop:

      141 # libraries in the lib dir, so don't blindly add them all. Only add the one
      142 # that matche PIG_HADOOP_VERSION.
      143 for f in $PIG_HOME/lib/*.jar; do
      144 IS_HADOOP=`echo $f | grep hadoop`
      ...
      153 done

      IS_HADOOP is always true if pig is installed in a directory containing the phrase "hadoop", like "/home/hadoop/pig-8.1.0/"
      as a consequence, all lib/ jars are dropped from the classpath.

      Attachments

        1. PIG-2095_1.patch
          0.5 kB
          Rekha Joshi

        Activity

          People

            Unassigned Unassigned
            brainlounge Bernd Fondermann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: