And about the visibility of HDFS conf in HBase classpath, so ?
(classpath should appear in startup log of HBase processes)


2013/5/24 Azuryy Yu <[email protected]>

> they are all configured as you pointed.
>
> --Send from my Sony mobile.
> On May 24, 2013 6:18 PM, "Damien Hardy" <[email protected]> wrote:
>
> > Hello,
> >
> > Is hdfs-site.xml and core-site.xml available in HBase java process
> > CLASSPATH ?
> >
> > Did you add
> > ```
> >   <property>
> >     <name>dfs.client.failover.proxy.provider.test-cluster</name> <!-- pay
> > attention to nameservice reference in property id -->
> >
> >
> >
> <value>org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider</value>
> >   </property>
> > ```
> > In hdfs-site.xml ?
> >
> > Best regards,
> >
> >
> >
> >
> > 2013/5/24 Azuryy Yu <[email protected]>
> >
> > > Hi,
> > >
> > > I configured HDFS ha using QJM, so I configured hbase as following:
> > >
> > >   <property>
> > >     <name>hbase.rootdir</name>
> > >     <value>hdfs://test-cluster</value>
> > >   </property>
> > >
> > > test-cluster is my name sevice ID in my HDFS configuration,
> > >
> > > but HBase cannot start, Exception:
> > > java.lang.IllegalArgumentException: java.net.URISyntaxException:
> Relative
> > > path in absolute URI: hdfs://test-cluster.tmp
> > >   at org.apache.hadoop.fs.Path.initialize(Path.java:167)
> > >   at org.apache.hadoop.fs.Path.<init>(Path.java:89)
> > >   at org.apache.hadoop.fs.Path.<init>(Path.java:67)
> > >   at
> > >
> > >
> >
> org.apache.hadoop.hbase.master.MasterFileSystem.<init>(MasterFileSystem.java:113)
> > >   at
> > >
> > >
> >
> org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:549)
> > >   at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:408)
> > >   at java.lang.Thread.run(Thread.java:722)
> > >
> > > Doesn't that mean, HBase can only specify a real name node, not
> > > name-service ID? if so, HBase will be failed if Namenode crashed even
> if
> > > configured HDFS HA.
> > >
> >
> >
> >
> > --
> > Damien HARDY
> > IT Infrastructure Architect
> > Viadeo - 30 rue de la Victoire - 75009 Paris - France
> >
>



-- 
Damien HARDY
IT Infrastructure Architect
Viadeo - 30 rue de la Victoire - 75009 Paris - France

Reply via email to