摘要: Hadoop 2.x 编译编译前准备 (hadoop_src/BUILDING.txt)Requirements:* Unix System* JDK 1.6+* Maven 3.0 or later* Findbugs 1.3.9 (if running findbugs)* ProtocolBu... 阅读全文
posted @ 2015-03-11 13:53 GavinQiu 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 在docker中共享本地目录docker run -v localFile:dockerFile -ti imageName command例:docker run -v ~/:/root -ti stocsis/hadoop-2.6.0:v1 bash注:路径必须为绝对路径查看最近运行的docke... 阅读全文
posted @ 2015-03-11 13:52 GavinQiu 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 编辑/etc/network/interface文件auto br0iface br0 inet staticaddress 192.168.7.31netmask 255.255.240.0gateway 192.168.7.254bridge_ports em1bridge_stp offdns... 阅读全文
posted @ 2015-03-11 13:51 GavinQiu 阅读(427) 评论(0) 推荐(0) 编辑
摘要: 将硬盘挂载到指定目录,如/data在hdfs-site.xml中修改 dfs.datanode.data.dir file://${hadoop.tmp.dir}/dfs/data,/data Determines where on the local filesystem an DFS data ... 阅读全文
posted @ 2015-03-11 13:50 GavinQiu 阅读(290) 评论(0) 推荐(0) 编辑
摘要: 1.启动hdfs start-dfs.sh (启动后使用jps查看进程是否启动)2.执行hdfs portmap start和hdfs nfs3 start 使用jps查看portmap和nfs3是否启动3.执行mount -t nfs -o vers=3,proto=tcp,nolock 10.... 阅读全文
posted @ 2015-03-11 13:49 GavinQiu 阅读(1449) 评论(0) 推荐(0) 编辑
摘要: 转自http://blog.csdn.net/xia_yu_mao_fa/article/details/37825713hdfs-webdav能讲hdfs映射为本地文件系统。通过实现webDav Http协议。可以如使用本地文件系统一样使用hdfs。部署过程:(hadoop版本为1.2.1,使用高... 阅读全文
posted @ 2015-03-11 13:48 GavinQiu 阅读(1812) 评论(0) 推荐(0) 编辑