[
https://issues.apache.org/jira/browse/MAPREDUCE-1399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12830324#action_12830324
]
Tsz Wo (Nicholas), SZE commented on MAPREDUCE-1399:
---------------------------------------------------
After applied m1399_20100204.patch, it shows a NPE for the following.
{noformat}
-bash-3.1$ hadoop archive -archiveName foo.har -p . foo .
Exception in archives
java.lang.NullPointerException
at org.apache.hadoop.tools.HadoopArchives.run(HadoopArchives.java:733)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
at org.apache.hadoop.tools.HadoopArchives.main(HadoopArchives.java:752)
{noformat}
Here is the codes:
{code}
732 FileStatus[] statuses = fs.globStatus(p);
733 for (FileStatus status: statuses) {
734 globPaths.add(fs.makeQualified(status.getPath()));
735 }
{code}
> The archive command shows a null error message
> ----------------------------------------------
>
> Key: MAPREDUCE-1399
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1399
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: harchive
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Mahadev konar
> Fix For: 0.22.0
>
> Attachments: m1399_20100204.patch, MAPREDUCE-1399.patch
>
>
> {noformat}
> bash-3.1$ hadoop archive -archiveName foo.har -p . foo .
> Exception in archives
> null
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.