[
https://issues.apache.org/jira/browse/MAPREDUCE-4395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13406469#comment-13406469
]
Bhallamudi Venkata Siva Kamesh commented on MAPREDUCE-4395:
-----------------------------------------------------------
Here is an example.
{noformat}
Exception in thread "main" java.lang.NullPointerException
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:282)
at
org.apache.hadoop.mapreduce.filecache.ClientDistributedCacheManager.getFileStatus(ClientDistributedCacheManager.java:205)
at
org.apache.hadoop.mapreduce.filecache.ClientDistributedCacheManager.determineTimestamps(ClientDistributedCacheManager.java:77)
at
org.apache.hadoop.mapreduce.JobSubmitter.copyAndConfigureFiles(JobSubmitter.java:245)
at
org.apache.hadoop.mapreduce.JobSubmitter.copyAndConfigureFiles(JobSubmitter.java:283)
at
org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:354)
{noformat}
> Possible NPE at ClientDistributedCacheManager#determineTimestamps
> -----------------------------------------------------------------
>
> Key: MAPREDUCE-4395
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4395
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: distributed-cache, job submission, mrv2
> Affects Versions: 3.0.0
> Reporter: Bhallamudi Venkata Siva Kamesh
> Assignee: Bhallamudi Venkata Siva Kamesh
>
> {code:title=ClientDistributedCacheManager#determineTimestamps|borderStyle=solid}
> URI[] tfiles = DistributedCache.getCacheFiles(job);
> {code}
> It may be possible that tfiles array contains *null* as it's entry, and
> subsequently leads to NPE.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira