hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-7904) Make mapreduce jobs pass based on 2.0.4-alpha
Date Fri, 29 Mar 2013 05:31:16 GMT

    [ https://issues.apache.org/jira/browse/HBASE-7904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13617092#comment-13617092

stack commented on HBASE-7904:

Why this change?

-      this.coprocessorHost = new RegionCoprocessorHost(this, rsServices, conf);
+      this.coprocessorHost = new RegionCoprocessorHost(this, rsServices, baseConf);

This seems to be only real addition: +    HBaseConfiguration.merge(this.conf, jobConf);  --
is that right?

Did something change in the hadoop2 snapshot?  A yarn patch got committed?

Why we have to do this now?

-    GenericOptionsParser opts = new GenericOptionsParser(new Configuration(cluster.getConfiguration()),
+    GenericOptionsParser opts = new GenericOptionsParser(new Configuration(
+      cluster.getConfiguration()), args);
     Configuration conf = opts.getConfiguration();
+    // copy or add the necessary configuration values from the map reduce config to the hbase
+    copyConfigurationValues(UTIL.getConfiguration(), conf);

Why create a new HBaseConfiguration instance?  What is wrong w/ the cluster instance?

How does cluster config relate to UTIL.getConfiguration?  (Are they the same?)

> Make mapreduce jobs pass based on 2.0.4-alpha
> ---------------------------------------------
>                 Key: HBASE-7904
>                 URL: https://issues.apache.org/jira/browse/HBASE-7904
>             Project: HBase
>          Issue Type: Task
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Critical
>             Fix For: 0.95.0
>         Attachments: 7904.txt, 7904-v2-hadoop-2.0.txt, 7904-v2.txt, 7904-v4-hadoop-2.0.txt,
7904-v4.txt, 7904-v4.txt, 7904-v5-hadoop-2.0.txt, 7904-v5.txt, 7904-v6-hadoop-2.0.txt, 7904-v7-hadoop-2.0.txt,
7904-v8-hadoop-2.0.txt, 7904-v8.txt, 7904-v9-hadoop-2.0.txt, 7904-v9.txt, hbase-7904-v3.txt
> 2.0.3-alpha has been released.
> We should upgrade the dependency.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message