标签:
1、安装Ubuntu 14.04 Desktop LTS
export HADOOP_INSTALL=/usr/local/hadoopexport PATH=$PATH:$HADOOP_INSTALL/binexport PATH=$PATH:$HADOOP_INSTALL/sbinexport HADOOP_MAPRED_HOME=$HADOOP_INSTALLexport HADOOP_COMMON_HOME=$HADOOP_INSTALLexport HADOOP_HDFS_HOME=$HADOOP_INSTALLexport YARN_HOME=$HADOOP_INSTALL
在~/.bash_profile或者/etc/profile中加入以下语句就没问题了。
#vi /etc/profile或者vi ~/.bash_profile
export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/lib/native
export HADOOP_OPTS="-Djava.library.path=$HADOOP_HOME/lib"
然后用source重新编译使之生效即可!
#source /etc/profile或者source ~/.bash_profile
<configuration><property><name>mapreduce.framework.name</name><value>yarn</value></property></configuration>
2583 DataNode2970 ResourceManager3461 Jps3177 NodeManager2361 NameNode2840 SecondaryNam
程序 ‘jps‘ 已包含在下列软件包中:* default-jdk* ecj* gcj-4.6-jdk* openjdk-6-jdk* gcj-4.5-jdk* openjdk-7-jdk请尝试:sudo apt-get install <选定的软件包>
Ubuntu 14.04 LTS上安装部署Hadoop 2.7.1
标签:
原文地址:http://www.cnblogs.com/yjstonestar/p/4906547.html