hadoop 在windows下安装配置文章一篇

http://ebiquity.umbc.edu/Tutorials/Hadoop/00%20-%20Intro.html

国外的,相当强大,主要是配图很详实

 

但是我照着弄还是出了点问题,用的是0.20.2版本

提示CastException:

org.apache.hadoop.mapreduce.lib.input.FileSplit cannot be cast to mapred.InputSplit

 

另外,用自带的eclipse插件运行根本没反应,用了一个IBM网站找的,又不会用..

http://www.alphaworks.ibm.com/tech/mapreducetools/download

 

话说在ubuntu下又是另一个问题,NullPointerException,找了下,摘抄一段答疑文字如下,未解决,网上一般认为是版本和hosts的设置问题

 

Have you looked at https://issues.apache.org/jira/browse/MAPREDUCE-969 ?
It points to https://issues.apache.org/jira/browse/HADOOP-4744
See if HADOOP-4744 is contained in the hadoop version you're running.
I am reading cdh3b2 source code. Please confirm that *ReduceTask.java:2683 *is
this line:
List loc = mapLocations.get(host);
If so, you can print the value of host, or value of URI u which host is
derived.
Cheers

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值