摘要:
搞定了hadoop配置之后,可以写代码运行了,首先要配一下CLASS_PATH,修改/etc/profileexport JAVA_HOME=/usr/lib/jvm/java-6-openjdk-i386export HADOOP_INSTALL=/home/zhanglanyun/workspace/hadoopexport PATH=$PATH:$HADOOP_INSTALL/binexport CLASSPATH=.:$JAVA_HOME/lib/:$HADOOP_INSTALL/hadoop-core-1.1.2.jar然后编译代码javac A.java ...然后把所有的clas 阅读全文