摘要:
描述:内存溢出,堆不够用异常:14/03/26 23:11:36 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform… using builtin-java classes where applicable14/03/26 23:11:36 WARN mapred.JobClient: No job jar file set. User classes may not be found. See JobConf(Class) or JobConf#setJar(String).14 阅读全文
摘要:
Hadoop配置问题启动hadoop后,50070页面显示正常,Live Nodes:0 DFS Used:100%namenode log显示如下错误:ERROR org.apache.hadoop.hdfs.server.datanode.DataNode: java.io.IOException: Incompatible namespaceIDs in /tmp/hadoop-XXX/dfs/data: namenode namespaceID = 1009927204; datanode namespaceID = 785353449 at org.apache.hadoop.hd. 阅读全文
摘要:
错误情景:import sun.net.dns.ResolverConfiguration;import sun.net.util.IPAddressUtil;编译器提示Error解决方案:如果你用的是Eclipse 在preference->java->complier->errors/warning->deprecated and restricted API把 Forbidden reference 的Error改成warning 即可原因是:AudiStream 类在 sun.audio.*包下J2SE中的类大致可以划分为以下的各个包:java.*,javax. 阅读全文