![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
hadoop
haishuipaomian
这个作者很懒,什么都没留下…
展开
-
一个hadoop执行问题
刚刚学习hadoop,搭建起集群在运行hadoop自带例子时报如下错误。请高手帮我解决下hadoop jar c:/hadoop/hadoop-0.20.2/hadoop-0.20.2-examples.jar wordcount in/test.txt out12/06/08 15:57:08 INFO input.FileInputFormat: Total input path...原创 2012-06-08 17:40:07 · 112 阅读 · 0 评论 -
hadoop中文乱码问题
我在hadoop中要处理不同编码格式的文件。如:gbk ,utf-8.hadoop 默认是utf-8 执行结果是Utf-8的正常显示gbk 的显示乱码在网上查了 value = new String(text.getBytes(), 0, text.getLength(), encoding);这种形式。执行结果未变化。求指导。。。<!--EndFragment...2012-06-18 18:02:55 · 271 阅读 · 0 评论 -
hadoop上传本地文件到hdfs报错
[code="java"]public static void Copy() throws IOException{ Configuration cfg = new Configuration(); FileSystem hdfs = FileSystem.get(cfg);// File file = new File("C:\\XXX\\API\\ss.txt"); ...2012-09-18 23:25:02 · 423 阅读 · 0 评论