Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-4688

Make it so can run PE w/o having to put hbase jar on CLASSPATH

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.92.0
    • Component/s: None
    • Labels:
      None

      Description

      I need this:

      diff --git a/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java b/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
      index 3982eff..ef47d0d 100644
      --- a/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
      +++ b/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
      @@ -570,6 +570,9 @@ public class PerformanceEvaluation {
           TextOutputFormat.setOutputPath(job, new Path(inputDir,"outputs"));
       
           TableMapReduceUtil.addDependencyJars(job);
      +    // Add a Class from the hbase.jar so it gets registered too.
      +    TableMapReduceUtil.addDependencyJars(job.getConfiguration(),
      +      org.apache.hadoop.hbase.util.Bytes.class);
           job.waitForCompletion(true);
         }
      
      1. pe.txt
        0.7 kB
        stack

        Activity

        Hide
        yuzhihong@gmail.com Ted Yu added a comment -

        +1 on patch.

        Show
        yuzhihong@gmail.com Ted Yu added a comment - +1 on patch.
        Hide
        hudson Hudson added a comment -

        Integrated in HBase-TRUNK #2374 (See https://builds.apache.org/job/HBase-TRUNK/2374/)
        HBASE-4688 Make it so can run PE w/o having to put hbase jar on CLASSPATH

        stack :
        Files :

        • /hbase/trunk/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
        Show
        hudson Hudson added a comment - Integrated in HBase-TRUNK #2374 (See https://builds.apache.org/job/HBase-TRUNK/2374/ ) HBASE-4688 Make it so can run PE w/o having to put hbase jar on CLASSPATH stack : Files : /hbase/trunk/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
        Hide
        hudson Hudson added a comment -

        Integrated in HBase-0.92 #86 (See https://builds.apache.org/job/HBase-0.92/86/)
        HBASE-4688 Make it so can run PE w/o having to put hbase jar on CLASSPATH

        stack :
        Files :

        • /hbase/branches/0.92/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
        Show
        hudson Hudson added a comment - Integrated in HBase-0.92 #86 (See https://builds.apache.org/job/HBase-0.92/86/ ) HBASE-4688 Make it so can run PE w/o having to put hbase jar on CLASSPATH stack : Files : /hbase/branches/0.92/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
        Hide
        stack stack added a comment -

        Resolving. Was committed to branch and trunk.

        Show
        stack stack added a comment - Resolving. Was committed to branch and trunk.
        Hide
        lars_francke Lars Francke added a comment -

        This issue was closed as part of a bulk closing operation on 2015-11-20. All issues that have been resolved and where all fixVersions have been released have been closed (following discussions on the mailing list).

        Show
        lars_francke Lars Francke added a comment - This issue was closed as part of a bulk closing operation on 2015-11-20. All issues that have been resolved and where all fixVersions have been released have been closed (following discussions on the mailing list).

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development