Version 2 (modified by waue, 13 years ago) (diff) |
---|
環境
- hadoop => /opt/hadoop-1.0.0
- workspace => /var/hadoop/hadoop100
- hbase => /opt/hbase-0.90.5
- workspace => /var/hadoop/hbase0905
hadoop 1.0.0 single node
- conf/hadoop-env.sh
export JAVA_HOME=/usr/lib/jvm/java-6-sun
- conf/core-site.xml:
<configuration> <property> <name>fs.default.name</name> <value>hdfs://localhost:9000</value> </property> <property> <name>hadoop.tmp.dir</name> <value>/var/hadoop/hadoop100</value> </property> </configuration>
- conf/mapred-site.xml:
<configuration> <property> <name>mapred.job.tracker</name> <value>localhost:9001</value> </property> </configuration>
- conf/hdfs-site.xml:
<configuration> <property> <name>dfs.replication</name> <value>1</value> </property> </configuration>
hbase 0.90.5 single node
- conf/hbase-env.sh
export JAVA_HOME=/usr/lib/jvm/java-6-sun
- conf/hbase-site.xml
<configuration> <property> <name>hbase.rootdir</name> <value>file:///var/hadoop/hbase0905</value> </property> </configuration>
bin/start-hbase.sh
Attachments (1)
- hadoop-conf-swith.zip (3.4 KB) - added by waue 13 years ago.
Download all attachments as: .zip