You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/09/22 11:13:04 UTC
[jira] [Commented] (FLINK-2705) Yarn fails with NoSuchMethodError
when log level is set to DEBUG
[ https://issues.apache.org/jira/browse/FLINK-2705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14902274#comment-14902274 ]
ASF GitHub Bot commented on FLINK-2705:
---------------------------------------
GitHub user tillrohrmann opened a pull request:
https://github.com/apache/flink/pull/1162
[FLINK-2705] [test-stability] Fixes Yarn crash when running with DEBUG log level
Excludes commons-codec:1.3 from aws-java-jdk dependency to resolve dependency ambiguity between hadoop-commons and aws-java-jdk. Now the included version of commons-codec is 1.4
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tillrohrmann/flink fixYarnDebug
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/1162.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1162
----
commit d01708512cc6785635432ee6c5754da0b4133a87
Author: Till Rohrmann <tr...@apache.org>
Date: 2015-09-21T13:35:32Z
[FLINK-2705] [test-stability] Excludes commons-codec:1.3 from aws-java-jdk dependency to resolve dependency ambiguity
----
> Yarn fails with NoSuchMethodError when log level is set to DEBUG
> ----------------------------------------------------------------
>
> Key: FLINK-2705
> URL: https://issues.apache.org/jira/browse/FLINK-2705
> Project: Flink
> Issue Type: Bug
> Reporter: Till Rohrmann
> Assignee: Till Rohrmann
>
> The Yarn tests fail with a {{NoSuchMethodError}} when the log level is set to DEBUG. Apparently, we have a wrong dependency version of {{org.apache.commons.codec}} in our scope when the Yarn is executed.
> {code}
> Exception in thread "LocalizerRunner for container_1442415732615_0009_01_000001" java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64.<init>(I[BZ)V
> at org.apache.hadoop.security.token.Token.encodeWritable(Token.java:236)
> at org.apache.hadoop.security.token.Token.encodeToUrlString(Token.java:263)
> at org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceLocalizationService$LocalizerRunner.writeCredentials(ResourceLocalizationService.java:1016)
> at org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceLocalizationService$LocalizerRunner.run(ResourceLocalizationService.java:972)
> Error while deploying YARN cluster: The YARN application unexpectedly switched to state FAILED during deployment.
> {code}
> https://s3.amazonaws.com/archive.travis-ci.org/jobs/80641990/log.txt
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)