hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolai Grigoriev (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16383) TableMapReduceUtil should allow using JobConf, not Job
Date Thu, 11 Aug 2016 16:53:20 GMT

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

Nikolai Grigoriev commented on HBASE-16383:
-------------------------------------------

OK, I think I see the point. I have just realized that other API classes in  mapreduce  package
use Job. I agree with what you said about Oozie. Thanks.

> TableMapReduceUtil should allow using JobConf, not Job
> ------------------------------------------------------
>
>                 Key: HBASE-16383
>                 URL: https://issues.apache.org/jira/browse/HBASE-16383
>             Project: HBase
>          Issue Type: Improvement
>          Components: util
>            Reporter: Nikolai Grigoriev
>            Priority: Minor
>
> I was recently trying to set up an MR job initialized with TableMapReduceUtil to be ran
by Oozie. Oozie offers a way to configure the job by providing an implementation of org.apache.oozie.action.hadoop.OozieActionConfigurator.
Unfortunately, this interface is using org.apache.hadoop.mapred.JobConf, not Job. I may be
wrong but I believe that everything TableMapReduceUtil does actually maps to the job configuration
so it does not really need the Job itself. If this is true, probably it would be more appropriate
to use JobConf in TableMapReduceUtil instead of Job? Or provide the methods for both.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message