zookeeper
zoo.cfg
tickTime=2000
dataDir=/dataDisk/bmx/hadoop/hadooop2data/zkdata
dataLogDir=/dataDisk/bmx/hadoop/hadooop2data/zkdatalog
clientPort=2181
maxClientCnxns=500
autopurge.snapRetainCount=3
autopurge.purgeInterval=1
hadoop
core-site.xml
<property>
<name>fs.defaultFS</name>
<value>hdfs://hbase01</value>
</property>
<property>
<name>hadoop.tmp.dir</name>
<value>/dataDisk/bmx/hadoop/hadooop2data/tmp</value>
</property>
<property>
<name>hadoop.proxyuser.hduser.hosts</name>
<value>*</value>
</property>
<property>
<name>hadoop.proxyuser.hduser.groups</name>
<value>*</value>
</property>
hdfs-site.xml
<property>
<name>dfs.name.dir</name>
<value>/dataDisk/bmx/hadoop/hadooop2data/name</value>
</property>
<property>
<name>dfs.data.dir</name>
<value>/dataDisk/bmx/hadoop/hadooop2data/data</value>
</property>
<property>
<name>dfs.replication</name>
<value>1</value>
</property>
<property>
<name>dfs.datanode.max.transfer.threads</name>
<value>4096</value>
</property>
<property>
<name>dfs.nameservices</name>
<value>hbase01</value>
</property>
yarn-site.xml
<property>
<name>yarn.resourcemanager.hostname</name>
<value>hbase01</value>
</property>
<property>
<name>yarn.nodemanager.aux-services</name>
<value>mapreduce_shuffle</value>
</property>
hbase
hbase-site.xml
<property>
<name>hbase.rootdir</name>
<value>hdfs://hbase01/hbase</value>
</property>
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
<property>
<name>hbase.master</name>
<value>6000</value>
</property>
<property>
<name>hbase.zookeeper.quorum</name>
<value>hbase01:2181</value>
</property>
<property>
<name>hbase.master.maxclockskew</name>
<value>150000</value>
</property>
more /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
172.30.250.111 hbase01
more /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=hbase01
NOZEROCONF=yes
发表评论