You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (Created) (JIRA)" <ji...@apache.org> on 2011/10/27 21:10:32 UTC

[jira] [Created] (HBASE-4688) Make it so can run PE w/o having to put hbase jar on CLASSPATH

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

                 Key: HBASE-4688
                 URL: https://issues.apache.org/jira/browse/HBASE-4688
             Project: HBase
          Issue Type: Bug
            Reporter: stack


I need this:

{code}
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);
   }
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4688) Make it so can run PE w/o having to put hbase jar on CLASSPATH

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13137695#comment-13137695 ] 

Hudson commented on HBASE-4688:
-------------------------------

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

                
> Make it so can run PE w/o having to put hbase jar on CLASSPATH
> --------------------------------------------------------------
>
>                 Key: HBASE-4688
>                 URL: https://issues.apache.org/jira/browse/HBASE-4688
>             Project: HBase
>          Issue Type: Bug
>            Reporter: stack
>         Attachments: pe.txt
>
>
> I need this:
> {code}
> 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);
>    }
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4688) Make it so can run PE w/o having to put hbase jar on CLASSPATH

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13137559#comment-13137559 ] 

Hudson commented on HBASE-4688:
-------------------------------

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

                
> Make it so can run PE w/o having to put hbase jar on CLASSPATH
> --------------------------------------------------------------
>
>                 Key: HBASE-4688
>                 URL: https://issues.apache.org/jira/browse/HBASE-4688
>             Project: HBase
>          Issue Type: Bug
>            Reporter: stack
>         Attachments: pe.txt
>
>
> I need this:
> {code}
> 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);
>    }
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4688) Make it so can run PE w/o having to put hbase jar on CLASSPATH

Posted by "stack (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-4688:
-------------------------

    Attachment: pe.txt
    
> Make it so can run PE w/o having to put hbase jar on CLASSPATH
> --------------------------------------------------------------
>
>                 Key: HBASE-4688
>                 URL: https://issues.apache.org/jira/browse/HBASE-4688
>             Project: HBase
>          Issue Type: Bug
>            Reporter: stack
>         Attachments: pe.txt
>
>
> I need this:
> {code}
> 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);
>    }
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4688) Make it so can run PE w/o having to put hbase jar on CLASSPATH

Posted by "Ted Yu (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13137472#comment-13137472 ] 

Ted Yu commented on HBASE-4688:
-------------------------------

+1 on patch.
                
> Make it so can run PE w/o having to put hbase jar on CLASSPATH
> --------------------------------------------------------------
>
>                 Key: HBASE-4688
>                 URL: https://issues.apache.org/jira/browse/HBASE-4688
>             Project: HBase
>          Issue Type: Bug
>            Reporter: stack
>         Attachments: pe.txt
>
>
> I need this:
> {code}
> 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);
>    }
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (HBASE-4688) Make it so can run PE w/o having to put hbase jar on CLASSPATH

Posted by "Todd Lipcon (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon reassigned HBASE-4688:
----------------------------------

    Assignee: stack
    
> Make it so can run PE w/o having to put hbase jar on CLASSPATH
> --------------------------------------------------------------
>
>                 Key: HBASE-4688
>                 URL: https://issues.apache.org/jira/browse/HBASE-4688
>             Project: HBase
>          Issue Type: Bug
>            Reporter: stack
>            Assignee: stack
>             Fix For: 0.92.0
>
>         Attachments: pe.txt
>
>
> I need this:
> {code}
> 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);
>    }
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (HBASE-4688) Make it so can run PE w/o having to put hbase jar on CLASSPATH

Posted by "stack (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack resolved HBASE-4688.
--------------------------

       Resolution: Fixed
    Fix Version/s: 0.92.0

Resolving.  Was committed to branch and trunk.
                
> Make it so can run PE w/o having to put hbase jar on CLASSPATH
> --------------------------------------------------------------
>
>                 Key: HBASE-4688
>                 URL: https://issues.apache.org/jira/browse/HBASE-4688
>             Project: HBase
>          Issue Type: Bug
>            Reporter: stack
>             Fix For: 0.92.0
>
>         Attachments: pe.txt
>
>
> I need this:
> {code}
> 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);
>    }
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira