[
https://issues.apache.org/jira/browse/MAPREDUCE-837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12740692#action_12740692
]
Koji Noguchi commented on MAPREDUCE-837:
----------------------------------------
hadoop archive -archiveName abc.har /user/knoguchi/abc
hdfs://mynamenode:8020/user/knoguchi
in 0.18, job fails with
{noformat}
09/08/07 19:41:57 INFO mapred.JobClient: Task Id :
attempt_200908071938_0001_m_000000_2, Status : FAILED
Failed to rename output with the exception: java.io.IOException: Can not get the
relative path: base =
hdfs://mynamenode:8020/user/knoguchi/abc.har/_temporary/_attempt_200908071938_0001_m_000000_2
child =
hdfs://mynamenode/user/knoguchi/abc.har/_temporary/_attempt_200908071938_0001_m_000000_2/part-0
at org.apache.hadoop.mapred.Task.getFinalPath(Task.java:590)
at org.apache.hadoop.mapred.Task.moveTaskOutputs(Task.java:603)
at org.apache.hadoop.mapred.Task.moveTaskOutputs(Task.java:621)
at org.apache.hadoop.mapred.Task.saveTaskOutput(Task.java:565)
at
org.apache.hadoop.mapred.JobTracker$TaskCommitQueue.run(JobTracker.java:2616)
{noformat}
in 0.20, it logs the above warning but job succeeds with empty output directory.
(which is worse)
I'll create a separate Jira for the 0.20 job succeeding part.
> harchive fail when output directory has URI with default port of 8020
> ---------------------------------------------------------------------
>
> Key: MAPREDUCE-837
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-837
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: harchive
> Affects Versions: 0.20.1
> Reporter: Koji Noguchi
> Priority: Minor
>
> % hadoop archive -archiveName abc.har /user/knoguchi/abc
> hdfs://mynamenode:8020/user/knoguchi
> doesn't work on 0.18 nor 0.20
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.