http://www.cnblogs.com/flying5/archive/2011/05/04/2078408.html
http://www.cnblogs.com/ylan2009/articles/2321177.html
window cmd yong c:\windows\system32
远登linux使用putty和winscp !!
hadoop 添加 jar 包
在代码中
DistributedCache.addFileToClassPath(new Path("\\user\\dirk2\\input\\ojdbc6-11.2.0.1.0.jar"), conf);
//无须重启
在hdfs中
hadoop fs -put object6-11.2.0.1.0.jar /lib
//需要重启才生效
本文详细介绍了在Hadoop环境中如何通过代码和HDFS添加jar包的方法,包括使用DistributedCache和hadoopfs-putobject命令,以及注意事项如是否需要重启。
16万+

被折叠的 条评论
为什么被折叠?



