[
https://issues.apache.org/jira/browse/HADOOP-2753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stack resolved HADOOP-2753.
---------------------------
Resolution: Fixed
Fix Version/s: 0.16.0
Backed out HADOOP-2718 on TRUNK and BRANCH
> [hbase] Back out 2718; programmatic config works but hbase*xml conf is
> overridden
> ---------------------------------------------------------------------------------
>
> Key: HADOOP-2753
> URL: https://issues.apache.org/jira/browse/HADOOP-2753
> Project: Hadoop Core
> Issue Type: Bug
> Components: contrib/hbase
> Reporter: stack
> Priority: Blocker
> Fix For: 0.16.0
>
>
> Dave Simpson instrumented his local copy and found that defaults are
> overriding his hbase-site.xml config since application of HADOOP-2718.
> 08/01/30 21:59:29 INFO mapred.TableInputFormat: Setup table to go against
> Docs and columns outlink:.*
> 08/01/30 21:59:29 ERROR mapred.TableInputFormat: Failed create of table
> java.lang.NullPointerException
> at
> org.apache.hadoop.hbase.LocalHBaseCluster.doLocal(LocalHBaseCluster.java:277)
> at
> org.apache.hadoop.hbase.HConnectionManager$TableServers.<init>(HConnectionManager.java:132)
> at
> org.apache.hadoop.hbase.HConnectionManager.getConnection(HConnectionManager.java:77)
> at org.apache.hadoop.hbase.HTable.<init>(HTable.java:84)
> at
> org.apache.hadoop.hbase.mapred.TableInputFormat.configure(TableInputFormat.java:193)
> at
> org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:58)
> at
> org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:82)
> at org.apache.hadoop.mapred.JobConf.getInputFormat(JobConf.java:421)
> at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:537)
> at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:805)
> at com.powerset.webmap.Webmap.run(Webmap.java:545)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> at com.powerset.webmap.Webmap.main(Webmap.java:566)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.hadoop.util.RunJar.main(RunJar.java:155)
> 08/01/30 21:59:29 INFO mapred.TableInputFormat: Table created: null
> I'm configuring this with a hbase-site.xml in the hbase/conf directory.
> Here's what is in it:
> <?xml version="1.0"?>
> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
> <configuration>
> <property>
> <name>hbase.master</name>
> <value>localhost:60000</value>
> </property>
> </configuration>
> -Dave
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.