Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase >> mail # user >> hbase-0.94.7 doesn't support HDFS QJM HA


+
Azuryy Yu 2013-05-24, 10:11
+
Damien Hardy 2013-05-24, 10:17
+
Azuryy Yu 2013-05-24, 10:26
Copy link to this message
-
Re: hbase-0.94.7 doesn't support HDFS QJM HA
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
+
Azuryy Yu 2013-05-24, 10:39
+
Azuryy Yu 2013-05-24, 10:25