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

bin/pig doesn't have any hooks for picking up ZK installation deployed from tarballs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.9.1, 0.10.0
    • None
    • grunt

    Description

      The following chunk of bin/pig

      # locate ZooKeeper
      if [ -d "${PIG_HOME}/share/zookeeper" ]; then
          for f in ${PIG_HOME}/share/zookeeper/zookeeper-*.jar; do
              CLASSPATH=${CLASSPATH}:$f
          done
      fi
      

      makes it impossible for pig to pick up ZK installation area
      unless the content of the binary tarballs gets massaged in a certain
      way.

      Would it be possible to have a more generic code in place that
      would, perhaps, pay attention to things like ZOOKEEPER_HOME ?

      Attachments

        1. PIG-2327.patch.txt
          0.7 kB
          Roman Shaposhnik

        Activity

          People

            rvs Roman Shaposhnik
            rvs Roman Shaposhnik
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: