mapred.reduce.tasks
1
The default number of reduce tasks per job. Typically set
to a prime close to the number of available hosts. Ignored when
mapred.job.tracker is "local".
需要对这个参数进行修改,修改为:
mapred.reduce.tasks
11
The default number of reduce tasks per job. Typically set
to a prime close to the number of available hosts. Ignored when
mapred.job.tracker is "local".
7.org.apache.hadoop.ipc.RemoteException: org.apache.hadoop.hdfs.server.namenode.LeaseExpiredException: No lease on /hbase/.logs/Slave2,60020,1366353790042/Slave2%2C60020%2C1366353790042.1366353792650 File does not exist. [Lease. Holder: DFSClient_hb_rs_Slave2,60020,1366353790042, pendingcreates: 1]
修改 hadoop的配置文件 conf/hdfs-site.xml,添加
dfs.datanode.max.xcievers
4096
待确认!!!
8.Failed setting up proxy interface org.apache.hadoop.hbase.ipc.HRegionInterface
hbase.zookeeper.property.maxClientCnxns
300
Property from ZooKeeper's config zoo.cfg.
Limit on number of concurrent connections (at the socket level) that a
single client, identified by IP address, may make to a single member of
the ZooKeeper ensemble. Set high to avoid zk connection issues running
standalone and pseudo-distributed.
重启下zookeeper,hbase,重新测试,问题解决。
11.job failed:# of failed Reduce Tasks exceeded allowed limit. FailedCount:
参考:http://blog.163.com/zhengjiu_520/blog/static/3559830620130743644473/
12.FATAL org.apache.hadoop.hbase.regionserver.wal.HLog: Could not sync. Requesting close of hlog
java.io.IOException
参考:http://blog.sina.com.cn/s/blog_53765cf90101auqo.html 待确认 http://www.codesky.net/article/201206/171897.html
13.Hbase Lease Exception
设置hbase.regionserver.lease.period和hbase.rpc.timeout hbase.rpc.timeout >=hbase.regionserver.lease.period
14.Task attempt_failed to report status for 600 seconds. Killing!
参考:http://stackoverflow.com/questions/5864589/how-to-fix-task-attempt-201104251139-0295-r-000006-0-failed-to-report-status-fo