日期:2014-05-16 浏览次数:20705 次
?
HADOOP配置export HADOOP_HOME=/home/hadoop/setup/hadoop-0.19.2
export PATH=$HADOOP_HOME/bin:$PATH
export JAVA_HOME=/home/hadoop/setup/jdk1.7.0_04
<property>
<name>fs.default.name</name>
<value>hdfs://localhost:9000</value>
</property>
<property>
<name>mapred.job.tracker</name>
<value>localhost:9001</value>
</property>
<property>
<name>dfs.replication</name>
<value>1</value>
</property>
?HADOOP运行
$HADOOP_HOME/bin/hadoop namenode -format
$HADOOP_HOME/bin/start-all.sh
export HIVE_HOME=/home/hadoop/setup/hive-0.6.0
expor