hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lztaomin <lztao...@163.com>
Subject hbase hbase.rootdir configuration
Date Wed, 17 Apr 2013 14:55:05 GMT
HI 
    I I use the Hadoop HA,hadoop ha work very well ,but  my hbase configuration 
<property>
  <name>hbase.rootdir</name>
  <value>hdfs://cluster/hbase</value>
</property>
      hbase can not access HDFS ,    How should I the configuration hbase.rootdir is correct
? thanks very much?

    My core-site.xml configuration 
<property>  
     <name>fs.defaultFS</name>   
     <value>hdfs://cluster</value>  
</property>   
<property>  
  <name>io.compression.codecs</name>  
  <value>org.apache.hadoop.io.compress.SnappyCodec</value>  
</property> 

       My  hdfs-site.xml  configuration 
<property>  
  <name>dfs.federation.nameservices</name>  
  <value>cluster</value>  
</property>  
<property>
  <name>dfs.replication</name>
  <value>3</value>
</property>
<property>
  <name>dfs.datanode.max.xcievers</name>
  <value>8192</value>
</property>

<property>  
  <name>dfs.namenode.name.dir</name>  
  <value>/ytxt/hadoopData</value>  
</property>  

<property>  
  <name>dfs.ha.namenodes.cluster</name>  
  <value>nn0,nn1</value>   
</property>  
<property>  
  <name>dfs.namenode.rpc-address.cluster.nn0</name>  
  <value>sy-hadoop-namenode1.189read.com:9000</value>  
</property>  
<property>  
  <name>dfs.namenode.rpc-address.cluster.nn1</name>  
  <value>sy-hadoop-namenode2.189read.com:9000</value>  
</property>  

<property>  
  <name>dfs.namenode.http-address.cluster.nn0</name>  
  <value>sy-hadoop-namenode1.189read.com:50070</value>  
</property>  
<property>  
  <name>dfs.namenode.http-address.cluster.nn1</name>  
  <value>sy-hadoop-namenode2.189read.com:50070</value>  
</property>  

<property>  
  <name>dfs.namenode.shared.edits.dir</name>  
  <value>/HAshared</value>  
</property>  

<property>  
  <name>dfs.client.failover.proxy.provider.cluster</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>/home/hadoop/.ssh/id_rsa</value>  
</property>  
<property>  
  <name>dfs.ha.automatic-failover.enabled</name>  
  <value>true</value>  
</property>  
<property>  
  <name>ha.zookeeper.quorum</name>  
  <value>sy-hadoop-namenode1.189read.com,sy-hadoop-namenode2.189read.com,datanode1:2181,datanode2:2181,datanode3:2181</value>
 
</property>  
<property>  
    <name>dfs.data.dir</name>  
    <value>/ytxt/hadoopData</value>  
</property>  




lztaomin
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message