Exceptionmessage: /bin/bash: line 0: fg: no job controlStacktrace: ExitCodeException exitCode=1: /bin/bash: line 0: fg: no job control
问题现象:
远程提交Hadoop 时候报错
Exception message: /bin/bash: line 0: fg: no job control Stack trace: ExitCodeException exitCode=1: /bin/bash: line 0: fg: no job control at org.apache.hadoop.util.Shell.runCommand(Shell.java:538) at org.apache.hadoop.util.Shell.run(Shell.java:455) at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:715) at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:211) at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:302) at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:82) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
或者报错:
Error: java.lang.RuntimeException: java.lang.ClassNotFoundException: Class cpcn.payment.statementinternalbatch.mapred.accountinner.AccountInnerMap not found at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2195) at
如何解决:
把代码打包,并设置conf,conf.set("mapred.jar","**.jar");再次执行:
如果报错 exitcode with 1怎么解决:
查看你代码配置:
原文链接:https://www.f2er.com/bash/389846.html