GitHub user anwar6953 opened a pull request:
https://github.com/apache/twill/pull/11
Fix a ClassCastException in YarnUtils.addDelegationTokens.
Example exception:
```
java.lang.ClassCastException:
org.apache.twill.filesystem.LocationFactories$1 cannot be cast to
org.apache.twill.filesystem.FileContextLocationFactory
at
org.apache.twill.internal.yarn.YarnUtils.addDelegationTokens(YarnUtils.java:168)
~[org.apache.twill.twill-yarn-0.8.0-SNAPSHOT.jar:0.8.0-SNAPSHOT]
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/anwar6953/twill
fix-yarn-utils-add-delegation-token
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/twill/pull/11.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 #11
----
commit 3e115efe1427435023b0613438a797594a70fa63
Author: Ali Anwar <[email protected]>
Date: 2016-09-21T04:25:24Z
Fix a ClassCastException in YarnUtils.addDelegationTokens.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---