[
https://issues.apache.org/jira/browse/HBASE-3578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Harvey updated HBASE-3578:
------------------------------
Status: Patch Available (was: Open)
I've modified the TableMapReduceUtil class to setup the jobs with the new
HBaseConfiguration api and tested that this works with mapreduce jobs without
needed to pass in the configuration. I've only tested this locally and not on a
cluster.
> TableInputFormat does not setup the configuration for HBase mapreduce jobs
> correctly
> ------------------------------------------------------------------------------------
>
> Key: HBASE-3578
> URL: https://issues.apache.org/jira/browse/HBASE-3578
> Project: HBase
> Issue Type: Bug
> Components: mapreduce
> Affects Versions: 0.90.1, 0.90.0
> Reporter: Dan Harvey
>
> In 0.20.x and earlier TableMapReduceUtil (and other Input/OutputFormat
> classes) used to setup the HTable with a HBaseConfiguration object, now that
> has been deprecated in #HBASE-2036 they are constructed with Hadoop
> configuration objects which do not contain the configuration xml file
> resources required to setup HBase. I think it is currently expected this is
> done when constructing the job but as this needs to be done for every HBase
> mapreduce job it would be cleaner if the TableMapReduceUtil class did this
> whilst setting up the TableInput/OutputFormat classes.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira