Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0
    • Fix Version/s: 0.9.1, 0.10.0
    • Component/s: build
    • Labels:
      None
    • Environment:

      Java 6, CentOS 5.6

    • Hadoop Flags:
      Reviewed

      Description

      For setting up pig to work with Hadoop and HBase, it would be nice if there is a post installation script to configure the location of Java, Hadoop, and HBase to setup the system properly for interacting with Hadoop related software.

      1. PIG-2284.patch
        7 kB
        Eric Yang
      2. PIG-2284-1.patch
        7 kB
        Eric Yang
      3. PIG-2284-2.patch
        7 kB
        Eric Yang

        Issue Links

          Activity

          Eric Yang created issue -
          Hide
          Eric Yang added a comment -

          Usage of the post installation script:

          usage: ./sbin/pig-setup-conf.sh <parameters>
          
            Optional parameters:
              --conf-dir=/etc/pig              Set Pig configuration directory
              --hadoop-conf=/usr/etc/hadoop    Set Hadoop configuration directory location
              --hadoop-home=/usr               Set Hadoop directory location
              --hbase-conf=/usr/etc/hbase      Set HBase configuration directory location
              --hbase-home=/usr                Set HBase directory location
              --java-home=/usr/java/default    Set JAVA_HOME directory location
              --zookeeper-home=/usr            Set ZooKeeper directory location
          
          Show
          Eric Yang added a comment - Usage of the post installation script: usage: ./sbin/pig-setup-conf.sh <parameters> Optional parameters: --conf-dir=/etc/pig Set Pig configuration directory --hadoop-conf=/usr/etc/hadoop Set Hadoop configuration directory location --hadoop-home=/usr Set Hadoop directory location --hbase-conf=/usr/etc/hbase Set HBase configuration directory location --hbase-home=/usr Set HBase directory location --java-home=/usr/java/default Set JAVA_HOME directory location --zookeeper-home=/usr Set ZooKeeper directory location
          Hide
          Eric Yang added a comment -
          • Post installation script.
          • Create hbase-env.jar for pig jobs that use HBaseStorage.
          Show
          Eric Yang added a comment - Post installation script. Create hbase-env.jar for pig jobs that use HBaseStorage.
          Eric Yang made changes -
          Field Original Value New Value
          Attachment PIG-2284.patch [ 12494548 ]
          Eric Yang made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Hide
          Eric Yang added a comment -

          Fixed hadoop-conf location.

          Show
          Eric Yang added a comment - Fixed hadoop-conf location.
          Eric Yang made changes -
          Attachment PIG-2284-1.patch [ 12494692 ]
          Hide
          Eric Yang added a comment -

          Fixed hbase-conf location.

          Show
          Eric Yang added a comment - Fixed hbase-conf location.
          Eric Yang made changes -
          Attachment PIG-2284-2.patch [ 12494704 ]
          Hide
          Daniel Dai added a comment -

          Patch committed to both trunk and 0.9 branch.

          Show
          Daniel Dai added a comment - Patch committed to both trunk and 0.9 branch.
          Daniel Dai made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Fix Version/s 0.9.1 [ 12317343 ]
          Fix Version/s 0.10 [ 12316246 ]
          Resolution Fixed [ 1 ]
          Eric Yang made changes -
          Link This issue relates to HBASE-4415 [ HBASE-4415 ]
          Daniel Dai made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Eric Yang
              Reporter:
              Eric Yang
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development