hadoop2.x中运行job.waitForCompletion(true)总是返回false

Z-Calar 2015-09-16 04:21:16
hadoop2.x中运行job.waitForCompletion(true)总是返回false,谁能解释下这是为什么啊?
要怎么弄才能修改好程序。
...全文
4490 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
茹此快乐 2019-04-25
  • 打赏
  • 举报
回复
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. [org.apache.commons.beanutils.FluentPropertyBeanIntrospector] - Error when creating PropertyDescriptor for public final void org.apache.commons.configuration2.AbstractConfiguration.setProperty(java.lang.String,java.lang.Object)! Ignoring this property. Exception in thread "main" ExitCodeException exitCode=-1073741701: at org.apache.hadoop.util.Shell.runCommand(Shell.java:1009) at org.apache.hadoop.util.Shell.run(Shell.java:902) at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:1227) at org.apache.hadoop.util.Shell.execCommand(Shell.java:1321) at org.apache.hadoop.util.Shell.execCommand(Shell.java:1303) at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:840) at org.apache.hadoop.fs.RawLocalFileSystem.mkOneDirWithMode(RawLocalFileSystem.java:522) at org.apache.hadoop.fs.RawLocalFileSystem.mkdirsWithOptionalPermission(RawLocalFileSystem.java:562) at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:534) at org.apache.hadoop.fs.RawLocalFileSystem.mkdirsWithOptionalPermission(RawLocalFileSystem.java:561) at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:539) at org.apache.hadoop.fs.FilterFileSystem.mkdirs(FilterFileSystem.java:332) at org.apache.hadoop.mapreduce.JobSubmissionFiles.getStagingDir(JobSubmissionFiles.java:162) at org.apache.hadoop.mapreduce.JobSubmissionFiles.getStagingDir(JobSubmissionFiles.java:113) at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:151) at org.apache.hadoop.mapreduce.Job$11.run(Job.java:1570) at org.apache.hadoop.mapreduce.Job$11.run(Job.java:1567) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1729) at org.apache.hadoop.mapreduce.Job.submit(Job.java:1567) at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1588) at wordCount.JobSubmitterToWindows.main(JobSubmitterToWindows.java:47) Disconnected from the target VM, address: '127.0.0.1:61330', transport: 'socket'
茹此快乐 2019-04-25
  • 打赏
  • 举报
回复
"C:\Program Files (x86)\Java\jdk1.8.0_151\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:61330,suspend=y,server=n -javaagent:C:\Users\Administrator\.IntelliJIdea2018.3\system\captureAgent\debugger-agent.jar -Dfile.encoding=UTF-8 -classpath "C:\Program Files (x86)\Java\jdk1.8.0_151\jre\lib\charsets.jar;C:\Program Files (x86)\Java\jdk1.8.0_151\jre\lib\deploy.jar;C:\Program Files (x86)\Java\jdk1.8.0_151\jre\lib\ext\access-bridge-32.jar;C:\Program Files (x86)\Java\jdk1.8.0_151\jre\lib\ext\cldrdata.jar;C:\Program Files (x86)\Java\jdk1.8.0_151\jre\lib\ext\dnsns.jar;C:\Program Files (x86)\Java\jdk1.8.0_151\jre\lib\ext\jaccess.jar;C:\Program Files (x86)\Java\jdk1.8.0_151\jre\lib\ext\jfxrt.jar;C:\Program Files (x86)\Java\jdk1.8.0_151\jre\lib\ext\localedata.jar;C:\Program Files (x86)\Java\jdk1.8.0_151\jre\lib\ext\nashorn.jar;C:\Program Files (x86)\Java\jdk1.8.0_151\jre\lib\ext\sunec.jar;C:\Program Files (x86)\Java\jdk1.8.0_151\jre\lib\ext\sunjce_provider.jar;C:\Program Files (x86)\Java\jdk1.8.0_151\jre\lib\ext\sunmscapi.jar;C:\Program Files (x86)\Java\jdk1.8.0_151\jre\lib\ext\sunpkcs11.jar;C:\Program Files (x86)\Java\jdk1.8.0_151\jre\lib\ext\zipfs.jar;C:\Program Files (x86)\Java\jdk1.8.0_151\jre\lib\javaws.jar;C:\Program Files (x86)\Java\jdk1.8.0_151\jre\lib\jce.jar;C:\Program Files (x86)\Java\jdk1.8.0_151\jre\lib\jfr.jar;C:\Program Files (x86)\Java\jdk1.8.0_151\jre\lib\jfxswt.jar;C:\Program Files (x86)\Java\jdk1.8.0_151\jre\lib\jsse.jar;C:\Program Files (x86)\Java\jdk1.8.0_151\jre\lib\management-agent.jar;C:\Program Files (x86)\Java\jdk1.8.0_151\jre\lib\plugin.jar;C:\Program Files (x86)\Java\jdk1.8.0_151\jre\lib\resources.jar;C:\Program Files (x86)\Java\jdk1.8.0_151\jre\lib\rt.jar;D:\Eclipse\workspaces\dataCount\target\classes;E:\BaiduNetdiskDownload\.m2\repository\org\apache\hadoop\hadoop-client\3.1.1\hadoop-client-3.1.1.jar;E:\BaiduNetdiskDownload\.m2\repository\org\apache\hadoop\hadoop-common\3.1.1\hadoop-common-3.1.1.jar;E:\BaiduNetdiskDownload\.m2\repository\com\google\guava\guava\11.0.2\guava-11.0.2.jar;E:\BaiduNetdiskDownload\.m2\repository\commons-cli\commons-cli\1.2\commons-cli-1.2.jar;E:\BaiduNetdiskDownload\.m2\repository\org\apache\commons\commons-math3\3.1.1\commons-math3-3.1.1.jar;E:\BaiduNetdiskDownload\.m2\repository\org\apache\httpcomponents\httpclient\4.5.2\httpclient-4.5.2.jar;E:\BaiduNetdiskDownload\.m2\repository\org\apache\httpcomponents\httpcore\4.4.4\httpcore-4.4.4.jar;E:\BaiduNetdiskDownload\.m2\repository\commons-codec\commons-codec\1.11\commons-codec-1.11.jar;E:\BaiduNetdiskDownload\.m2\repository\commons-io\commons-io\2.5\commons-io-2.5.jar;E:\BaiduNetdiskDownload\.m2\repository\commons-net\commons-net\3.6\commons-net-3.6.jar;E:\BaiduNetdiskDownload\.m2\repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;E:\BaiduNetdiskDownload\.m2\repository\org\eclipse\jetty\jetty-servlet\9.3.19.v20170502\jetty-servlet-9.3.19.v20170502.jar;E:\BaiduNetdiskDownload\.m2\repository\org\eclipse\jetty\jetty-security\9.3.19.v20170502\jetty-security-9.3.19.v20170502.jar;E:\BaiduNetdiskDownload\.m2\repository\org\eclipse\jetty\jetty-webapp\9.3.19.v20170502\jetty-webapp-9.3.19.v20170502.jar;E:\BaiduNetdiskDownload\.m2\repository\org\eclipse\jetty\jetty-xml\9.3.19.v20170502\jetty-xml-9.3.19.v20170502.jar;E:\BaiduNetdiskDownload\.m2\repository\javax\servlet\jsp\jsp-api\2.1\jsp-api-2.1.jar;E:\BaiduNetdiskDownload\.m2\repository\com\sun\jersey\jersey-servlet\1.19\jersey-servlet-1.19.jar;E:\BaiduNetdiskDownload\.m2\repository\commons-logging\commons-logging\1.1.3\commons-logging-1.1.3.jar;E:\BaiduNetdiskDownload\.m2\repository\log4j\log4j\1.2.17\log4j-1.2.17.jar;E:\BaiduNetdiskDownload\.m2\repository\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;E:\BaiduNetdiskDownload\.m2\repository\commons-beanutils\commons-beanutils\1.9.3\commons-beanutils-1.9.3.jar;E:\BaiduNetdiskDownload\.m2\repository\org\apache\commons\commons-configuration2\2.1.1\commons-configuration2-2.1.1.jar;E:\BaiduNetdiskDownload\.m2\repository\org\apache\commons\commons-lang3\3.4\commons-lang3-3.4.jar;E:\BaiduNetdiskDownload\.m2\repository\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar;E:\BaiduNetdiskDownload\.m2\repository\org\apache\avro\avro\1.7.7\avro-1.7.7.jar;E:\BaiduNetdiskDownload\.m2\repository\org\codehaus\jackson\jackson-core-asl\1.9.13\jackson-core-asl-1.9.13.jar;E:\BaiduNetdiskDownload\.m2\repository\org\codehaus\jackson\jackson-mapper-asl\1.9.13\jackson-mapper-asl-1.9.13.jar;E:\BaiduNetdiskDownload\.m2\repository\com\thoughtworks\paranamer\paranamer\2.3\paranamer-2.3.jar;E:\BaiduNetdiskDownload\.m2\repository\org\xerial\snappy\snappy-java\1.0.5\snappy-java-1.0.5.jar;E:\BaiduNetdiskDownload\.m2\repository\com\google\re2j\re2j\1.1\re2j-1.1.jar;E:\BaiduNetdiskDownload\.m2\repository\com\google\protobuf\protobuf-java\2.5.0\protobuf-java-2.5.0.jar;E:\BaiduNetdiskDownload\.m2\repository\com\google\code\gson\gson\2.2.4\gson-2.2.4.jar;E:\BaiduNetdiskDownload\.m2\repository\org\apache\hadoop\hadoop-auth\3.1.1\hadoop-auth-3.1.1.jar;E:\BaiduNetdiskDownload\.m2\repository\com\nimbusds\nimbus-jose-jwt\4.41.1\nimbus-jose-jwt-4.41.1.jar;E:\BaiduNetdiskDownload\.m2\repository\com\github\stephenc\jcip\jcip-annotations\1.0-1\jcip-annotations-1.0-1.jar;E:\BaiduNetdiskDownload\.m2\repository\net\minidev\json-smart\2.3\json-smart-2.3.jar;E:\BaiduNetdiskDownload\.m2\repository\net\minidev\accessors-smart\1.2\accessors-smart-1.2.jar;E:\BaiduNetdiskDownload\.m2\repository\org\ow2\asm\asm\5.0.4\asm-5.0.4.jar;E:\BaiduNetdiskDownload\.m2\repository\org\apache\curator\curator-framework\2.12.0\curator-framework-2.12.0.jar;E:\BaiduNetdiskDownload\.m2\repository\org\apache\curator\curator-client\2.12.0\curator-client-2.12.0.jar;E:\BaiduNetdiskDownload\.m2\repository\org\apache\curator\curator-recipes\2.12.0\curator-recipes-2.12.0.jar;E:\BaiduNetdiskDownload\.m2\repository\com\google\code\findbugs\jsr305\3.0.0\jsr305-3.0.0.jar;E:\BaiduNetdiskDownload\.m2\repository\org\apache\htrace\htrace-core4\4.1.0-incubating\htrace-core4-4.1.0-incubating.jar;E:\BaiduNetdiskDownload\.m2\repository\org\apache\commons\commons-compress\1.4.1\commons-compress-1.4.1.jar;E:\BaiduNetdiskDownload\.m2\repository\org\tukaani\xz\1.0\xz-1.0.jar;E:\BaiduNetdiskDownload\.m2\repository\org\apache\kerby\kerb-simplekdc\1.0.1\kerb-simplekdc-1.0.1.jar;E:\BaiduNetdiskDownload\.m2\repository\org\apache\kerby\kerb-client\1.0.1\kerb-client-1.0.1.jar;E:\BaiduNetdiskDownload\.m2\repository\org\apache\kerby\kerby-config\1.0.1\kerby-config-1.0.1.jar;E:\BaiduNetdiskDownload\.m2\repository\org\apache\kerby\kerb-core\1.0.1\kerb-core-1.0.1.jar;E:\BaiduNetdiskDownload\.m2\repository\org\apache\kerby\kerby-pkix\1.0.1\kerby-pkix-1.0.1.jar;E:\BaiduNetdiskDownload\.m2\repository\org\apache\kerby\kerby-asn1\1.0.1\kerby-asn1-1.0.1.jar;E:\BaiduNetdiskDownload\.m2\repository\org\apache\kerby\kerby-util\1.0.1\kerby-util-1.0.1.jar;E:\BaiduNetdiskDownload\.m2\repository\org\apache\kerby\kerb-common\1.0.1\kerb-common-1.0.1.jar;E:\BaiduNetdiskDownload\.m2\repository\org\apache\kerby\kerb-crypto\1.0.1\kerb-crypto-1.0.1.jar;E:\BaiduNetdiskDownload\.m2\repository\org\apache\kerby\kerb-util\1.0.1\kerb-util-1.0.1.jar;E:\BaiduNetdiskDownload\.m2\repository\org\apache\kerby\token-provider\1.0.1\token-provider-1.0.1.jar;E:\BaiduNetdiskDownload\.m2\repository\org\apache\kerby\kerb-admin\1.0.1\kerb-admin-1.0.1.jar;E:\BaiduNetdiskDownload\.m2\repository\org\apache\kerby\kerb-server\1.0.1\kerb-server-1.0.1.jar;E:\BaiduNetdiskDownload\.m2\repository\org\apache\kerby\kerb-identity\1.0.1\kerb-identity-1.0.1.jar;E:\BaiduNetdiskDownload\.m2\repository\org\apache\kerby\kerby-xdr\1.0.1\kerby-xdr-1.0.1.jar;E:\BaiduNetdiskDownload\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.7.8\jackson-databind-2.7.8.jar;E:\BaiduNetdiskDownload\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.7.8\jackson-core-2.7.8.jar;E:\BaiduNetdiskDownload\.m2\repository\org\codehaus\woodstox\stax2-api\3.1.4\stax2-api-3.1.4.jar;E:\BaiduNetdiskDownload\.m2\repository\com\fasterxml\woodstox\woodstox-core\5.0.3\woodstox-core-5.0.3.jar;E:\BaiduNetdiskDownload\.m2\repository\org\apache\hadoop\hadoop-hdfs-client\3.1.1\hadoop-hdfs-client-3.1.1.jar;E:\BaiduNetdiskDownload\.m2\repository\com\squareup\okhttp\okhttp\2.7.5\okhttp-2.7.5.jar;E:\BaiduNetdiskDownload\.m2\repository\com\squareup\okio\okio\1.6.0\okio-1.6.0.jar;E:\BaiduNetdiskDownload\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.7.8\jackson-annotations-2.7.8.jar;E:\BaiduNetdiskDownload\.m2\repository\org\apache\hadoop\hadoop-yarn-api\3.1.1\hadoop-yarn-api-3.1.1.jar;E:\BaiduNetdiskDownload\.m2\repository\javax\xml\bind\jaxb-api\2.2.11\jaxb-api-2.2.11.jar;E:\BaiduNetdiskDownload\.m2\repository\org\apache\hadoop\hadoop-yarn-client\3.1.1\hadoop-yarn-client-3.1.1.jar;E:\BaiduNetdiskDownload\.m2\repository\org\apache\hadoop\hadoop-mapreduce-client-core\3.1.1\hadoop-mapreduce-client-core-3.1.1.jar;E:\BaiduNetdiskDownload\.m2\repository\org\apache\hadoop\hadoop-yarn-common\3.1.1\hadoop-yarn-common-3.1.1.jar;E:\BaiduNetdiskDownload\.m2\repository\javax\servlet\javax.servlet-api\3.1.0\javax.servlet-api-3.1.0.jar;E:\BaiduNetdiskDownload\.m2\repository\org\eclipse\jetty\jetty-util\9.3.19.v20170502\jetty-util-9.3.19.v20170502.jar;E:\BaiduNetdiskDownload\.m2\repository\com\sun\jersey\jersey-core\1.19\jersey-core-1.19.jar;E:\BaiduNetdiskDownload\.m2\repository\javax\ws\rs\jsr311-api\1.1.1\jsr311-api-1.1.1.jar;E:\BaiduNetdiskDownload\.m2\repository\com\sun\jersey\jersey-client\1.19\jersey-client-1.19.jar;E:\BaiduNetdiskDownload\.m2\repository\com\fasterxml\jackson\module\jackson-module-jaxb-annotations\2.7.8\jackson-module-jaxb-annotations-2.7.8.jar;E:\BaiduNetdiskDownload\.m2\repository\com\fasterxml\jackson\jaxrs\jackson-jaxrs-json-provider\2.7.8\jackson-jaxrs-json-provider-2.7.8.jar;E:\BaiduNetdiskDownload\.m2\repository\com\fasterxml\jackson\jaxrs\jackson-jaxrs-base\2.7.8\jackson-jaxrs-base-2.7.8.jar;E:\BaiduNetdiskDownload\.m2\repository\org
茹此快乐 2019-04-25
  • 打赏
  • 举报
回复
qq_28032361 2019-01-11
  • 打赏
  • 举报
回复
你什么都不贴出来,怎么帮你,报错信息啦?
jianchelang1820 2016-12-28
  • 打赏
  • 举报
回复
加注解是怎么回事啊,楼主
GeekIT 2016-08-09
  • 打赏
  • 举报
回复
map 和reduce类没加注解,是什么意思,谢谢了
Z-Calar 2015-09-17
  • 打赏
  • 举报
回复
问题解决了,查看log日志,原来是map 和reduce类没加注解
Z-Calar 2015-09-16
  • 打赏
  • 举报
回复
还是没人回答啊,接着查资料吧··
Z-Calar 2015-09-16
  • 打赏
  • 举报
回复
哪位大神帮忙解答下,坐等ing

932

社区成员

发帖
与我相关
我的任务
社区描述
云计算 云存储相关讨论
社区管理员
  • 云存储
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧