[
https://issues.apache.org/jira/browse/HBASE-10880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stack resolved HBASE-10880.
---------------------------
Resolution: Invalid
Please ask these kind of questions on the mailing list, not in an issue.
Thanks. You don't seem to have followed the instruction in here:
http://hadoop.apache.org/docs/r2.3.0/hadoop-yarn/hadoop-yarn-site/HDFSHighAvailabilityWithNFS.html
You have hadoop1 and hadoop2 when it looks like it should be cluster1 and
cluster2. Try rereading the instructions.
> install hbase on hadoop NN,how to configure the value hbase hbase.rootdir?
> --------------------------------------------------------------------------
>
> Key: HBASE-10880
> URL: https://issues.apache.org/jira/browse/HBASE-10880
> Project: HBase
> Issue Type: New Feature
> Components: hadoop2
> Environment: 1.red hat
> 2.hadoop-2.3.0(NN)
> 3.hadoop1(namenode active),hadoop2(namenode standby),hadoop3
> (datanode),hadoop4(datanode)
> 4.hbase-0.98.0-hadoop2-bin.tar.gz
> Reporter: bobsoft
>
> operating system: linux (red hat 5.4 i386)
> hadoop version:hadoop-2.3 (NN:two namenode)
> hbase version:hbase-0.98.0-hadoop2-bin
> hadoop-2.3(NN)
> core-site.xml
> <configuration>
> <property>
> <name>hadoop.tmp.dir</name>
> <value>/home/hadoop/tmp</value>
> <description>A base for other temporary directories.</description>
> </property>
> <property>
> <name>fs.default.name</name>
> <value>hdfs://cluster1</value>
> </property>
> </configuration
> hdfs-site.xml
> <configuration>
> <property>
> <name>dfs.replication</name>
> <value>2</value>
> </property>
> <property>
> <name>dfs.nameservices</name>
> <value>cluster1</value>
> </property>
> <property>
> <name>dfs.ha.namenodes.cluster1</name>
> <value>hadoop1,hadoop2</value>
> </property>
> <property>
> <name>dfs.namenode.rpc-address.cluster1.hadoop1</name>
> <value>hadoop1:9000</value>
> </property>
> <property>
> <name>dfs.namenode.rpc-address.cluster1.hadoop2</name>
> <value>hadoop2:9000</value>
> </property>
> <property>
> <name>dfs.namenode.http-address.cluster1.hadoop1</name>
> <value>hadoop1:50070</value>
> </property>
> <property>
> <name>dfs.namenode.http-address.cluster1.hadoop2</name>
> <value>hadoop2:50070</value>
> </property>
> <property>
> <name>dfs.namenode.shared.edits.dir</name>
> <value>qjournal://hadoop1:8485;hadoop2:8485;hadoop3:8485/cluster1</value>
> </property>
> <property>
> <name>dfs.client.failover.proxy.provider.cluster1</name>
> <value>org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider</value>
> </property>
> <property>
> <name>dfs.ha.fencing.methods</name>
> <value>sshfence</value>
> </property>
> <property>
> <name>dfs.ha.fencing.ssh.private-key-files</name>
> <value>/root/.ssh/id_rsa</value>
> </property>
> <property>
> <name>dfs.journalnode.edits.dir</name>
> <value>/hadoop/tmp/journal</value>
> </property>
> <property>
> <name>dfs.webhdfs.enabled</name>
> <value>true</value>
> </property>
> </configuration>
> After testing, hadoop NN configuration is successful.
> http://images.cnitblog.com/i/48682/201403/281811569696016.jpg
> http://images.cnitblog.com/i/48682/201403/281812107976891.jpg
> http://images.cnitblog.com/i/48682/201403/281812270168836.jpg
> how to configure the value hbase hbase.rootdir?
> "hdfs://hadoop1:9000/hbase" or "hdfs://hadoop2:9000/hbase" or "
> hdfs://cluster1" All of these configuration values, I have tried, but
> failed to start hbase,Can you help me?
--
This message was sent by Atlassian JIRA
(v6.2#6252)