昨天好不容易把集群搞起来了,今天运行一个程序却在logs里出现这样的错误,让我无比的纠结呀:在终端中显示为:
logs中的部分提示为:
2012-09-13 11:29:40,780 WARN org.apache.hadoop.security.ShellBasedUnixGroupsMapping: got exception trying to get groups for user webuser
org.apache.hadoop.util.Shell$ExitCodeException: id: webuser:无此用户
at org.apache.hadoop.util.Shell.runCommand(Shell.java:255)
at org.apache.hadoop.util.Shell.run(Shell.java:182)
at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:375)
at org.apache.hadoop.util.Shell.execCommand(Shell.java:461)
at org.apache.hadoop.util.Shell.execCommand(Shell.java:444)
at org.apache.hadoop.security.ShellBasedUnixGroupsMapping.getUnixGroups(ShellBasedUnixGroupsMapping.java:68)
at org.apache.hadoop.security.ShellBasedUnixGroupsMapping.getGroups(ShellBasedUnixGroupsMapping.java:45)
at org.apache.hadoop.security.Groups.getGroups(Groups.java:79)
at org.apache.hadoop.security.UserGroupInformation.getGroupNames(UserGroupInformation.java:998)
at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.<init>(FSPermissionChecker.java:50)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkPermission(FSNamesystem.java:5210)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkTraverse(FSNamesystem.java:5193)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getFileInfo(FSNamesystem.java:2019)
at org.apache.hadoop.hdfs.server.namenode.NameNode.getFileInfo(NameNode.java:848)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:563)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1388)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1384)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1093)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1382)
我运行其他的程序完全可以的呀,为什么这个不行呢?我还重新格式化了整个集群,结果还是不行,最后居然是因为我的路径写错了,
比如:我的路径写为: hdfs://localhost:9000/user/fansy/input/data1 ,由于这个程序是我在伪分布式下编写的,当时的路径是没有问题的,但是现在是在集群中,所以路径写错了。应该改为: hdfs://192.168.0.123:9000/user/fansy/input/data1, 把localhost改为具体的Ip地址,如果在相应的路径上没有data1,那么会提示说没有文件,而不是在上文中终端中显示的那样。
今天还遇到一个问题,那就是我用10W条记录跑一个程序10分钟左右完成,用100W数据跑就要5到6Hours, 而且老是出现下面的错误:
就是不断的回去重新map,查了好多资料,比较靠谱的说法是内存溢出错误导致任务失败。所以对于大数据来说还是要写一些比较优化的程序才行。
分享到:
相关推荐
Ethnic Groups
[2017-02-10 13:12:06.678] [INFO] mysqlLog - update tbl_playerdata_error: { [Error: ER_LOCK_DEADLOCK: Deadlock found when trying to get lock; try restarting transaction] code: 'ER_LOCK_DEADLOCK', ...
今天又一次遇到PHP 的一个提醒:Notice: Trying to get property of non-object problem,这种错误很常见
使用PL/SQL登录ORACLE数据 报错,error while trying to retrieve text for error ORA-01804,的解决方法,操作步骤,在windows server 2008R2 64位,oracle 12C,PLSQL Developer 12 64位,以上使用环境正常,
解决Oracle11g,PL/SQL连接报错问题 解压 解压instantclient-basic-nt-11.2.0.2.0.zip,例如到D:\instantclient_11_2 3、设置PLSQL Developer 启动PLSQL Developer,不登录点取消进入PLSQL Developer,Tools->>...
”Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http:///var/run/docker.sock/v1.26/images/json: dial unix /var/run/docker.sock: connect: ...
在对Oracle做备份时出现Status Code 29错误:Failed trying to execute a command。本文分析了错误发生的原因,介绍了其解决办法。
cc1 和 gcc 什么关系? GCC的编译有多个阶段,每个阶段都使用不同的内部命令。特别是C,首先使用cpp进行预处理,然后编译为汇编,汇编为机器语言,然后链接在一起。 cc1是内部命令,用于获取预处理的C语言文件并...
4、模型报错:ValueError: You are trying to load a weight file containing 12 layers into a model with 0 layers. 问题分析: 模型创建后还没有编译,一般是在模型加载前调用model.build(input_shape), 但我通过...
搜集了FLUENT-UDF使用过程中常见的一些问题,对初学者有一定帮助
主要介绍了MySQL启动报错问题InnoDB:Unable to lock/ibdata1 error,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友可以参考下
在使用session_destroy(),进行Session变量的注销时,出现了Warning: session_destroy() [function.session-destroy]: Trying to destroy uninitialized session in的错误!
在windows下安装完后提示: Fatal error: Trying to clone an uncloneable object of class Imagick in C:\www\hx\pdf_to_png.php on line 17 使用IIS和Apache均会有这个提示。经多次测试后,发现两种解决方法: 1....
解决JsonException: Max allowed object depth reached while trying to export from type UnityEngine.Vector3
proxysql-2.0.5可修复'ProxySQL Error:connection is locked to hostgroup 10 but trying to reach hostgroup 20这个问题
at the University of Virginia in 1994 In trying to find a text for the course I discovered that books on Lie groups either presuppose a knowledge of differentiable manifolds or provide a mini course ...
List All: Clicking the List All button makes RegexBuddy forget which capturing group you had it list matches for. Test: Debug Here and Debug Till End triggered an "invalid class typecast" error if ...
UserWarning: Trying to unpickle estimator MLPClassifier from version 0.18 when using version 0.19.1. This might lead to breaking code or invalid results. Use at your own risk. 我们的方法 为了持久化...