You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Koji Noguchi (JIRA)" <ji...@apache.org> on 2009/08/07 22:09:14 UTC

[jira] Created: (MAPREDUCE-838) Task succeeds even when committer.commitTask fails with IOException

Task succeeds even when committer.commitTask fails with IOException
-------------------------------------------------------------------

                 Key: MAPREDUCE-838
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-838
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: task
    Affects Versions: 0.20.1
            Reporter: Koji Noguchi


In MAPREDUCE-837, job succeeded with empty output even though all the tasks were throwing IOException at commiter.commitTask.

{noformat}
2009-08-07 17:51:47,458 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
2009-08-07 17:51:47,466 WARN org.apache.hadoop.mapred.TaskRunner: Failure committing: java.io.IOException: Can not get the relative path: \
base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
  at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
  at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
  at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
  at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
  at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
  at org.apache.hadoop.mapred.Task.commit(Task.java:768)
  at org.apache.hadoop.mapred.Task.done(Task.java:692)
  at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
  at org.apache.hadoop.mapred.Child.main(Child.java:170)

2009-08-07 17:51:47,468 WARN org.apache.hadoop.mapred.TaskRunner: Failure asking whether task can commit: java.io.IOException: \
Can not get the relative path: base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
  at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
  at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
  at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
  at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
  at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
  at org.apache.hadoop.mapred.Task.commit(Task.java:768)
  at org.apache.hadoop.mapred.Task.done(Task.java:692)
  at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
  at org.apache.hadoop.mapred.Child.main(Child.java:170)

2009-08-07 17:51:47,469 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
2009-08-07 17:51:47,472 INFO org.apache.hadoop.mapred.TaskRunner: Task 'attempt_200907301448_8771_r_000000_0' done.


{noformat}


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (MAPREDUCE-838) Task succeeds even when committer.commitTask fails with IOException

Posted by "Devaraj Das (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Devaraj Das updated MAPREDUCE-838:
----------------------------------

         Priority: Blocker  (was: Critical)
    Fix Version/s: 0.20.1

> Task succeeds even when committer.commitTask fails with IOException
> -------------------------------------------------------------------
>
>                 Key: MAPREDUCE-838
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-838
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: task
>    Affects Versions: 0.20.1
>            Reporter: Koji Noguchi
>            Assignee: Amareshwari Sriramadasu
>            Priority: Blocker
>             Fix For: 0.20.1
>
>
> In MAPREDUCE-837, job succeeded with empty output even though all the tasks were throwing IOException at commiter.commitTask.
> {noformat}
> 2009-08-07 17:51:47,458 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,466 WARN org.apache.hadoop.mapred.TaskRunner: Failure committing: java.io.IOException: Can not get the relative path: \
> base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,468 WARN org.apache.hadoop.mapred.TaskRunner: Failure asking whether task can commit: java.io.IOException: \
> Can not get the relative path: base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,469 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,472 INFO org.apache.hadoop.mapred.TaskRunner: Task 'attempt_200907301448_8771_r_000000_0' done.
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (MAPREDUCE-838) Task succeeds even when committer.commitTask fails with IOException

Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amareshwari Sriramadasu updated MAPREDUCE-838:
----------------------------------------------

    Status: Patch Available  (was: Open)

TestTaskCommit passes on both branch 0.20 and trunk. It Fails without the patch

> Task succeeds even when committer.commitTask fails with IOException
> -------------------------------------------------------------------
>
>                 Key: MAPREDUCE-838
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-838
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: task
>    Affects Versions: 0.20.1
>            Reporter: Koji Noguchi
>            Assignee: Amareshwari Sriramadasu
>            Priority: Blocker
>             Fix For: 0.20.1
>
>         Attachments: patch-838-0.20.txt, patch-838-1-0.20.txt, patch-838-1.txt, patch-838.txt
>
>
> In MAPREDUCE-837, job succeeded with empty output even though all the tasks were throwing IOException at commiter.commitTask.
> {noformat}
> 2009-08-07 17:51:47,458 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,466 WARN org.apache.hadoop.mapred.TaskRunner: Failure committing: java.io.IOException: Can not get the relative path: \
> base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,468 WARN org.apache.hadoop.mapred.TaskRunner: Failure asking whether task can commit: java.io.IOException: \
> Can not get the relative path: base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,469 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,472 INFO org.apache.hadoop.mapred.TaskRunner: Task 'attempt_200907301448_8771_r_000000_0' done.
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MAPREDUCE-838) Task succeeds even when committer.commitTask fails with IOException

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12742487#action_12742487 ] 

Hudson commented on MAPREDUCE-838:
----------------------------------

Integrated in Hadoop-Mapreduce-trunk #46 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Mapreduce-trunk/46/])
    

> Task succeeds even when committer.commitTask fails with IOException
> -------------------------------------------------------------------
>
>                 Key: MAPREDUCE-838
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-838
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: task
>    Affects Versions: 0.20.1
>            Reporter: Koji Noguchi
>            Assignee: Amareshwari Sriramadasu
>            Priority: Blocker
>             Fix For: 0.20.1
>
>         Attachments: patch-838-0.20.txt, patch-838-1-0.20.txt, patch-838-1.txt, patch-838.txt
>
>
> In MAPREDUCE-837, job succeeded with empty output even though all the tasks were throwing IOException at commiter.commitTask.
> {noformat}
> 2009-08-07 17:51:47,458 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,466 WARN org.apache.hadoop.mapred.TaskRunner: Failure committing: java.io.IOException: Can not get the relative path: \
> base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,468 WARN org.apache.hadoop.mapred.TaskRunner: Failure asking whether task can commit: java.io.IOException: \
> Can not get the relative path: base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,469 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,472 INFO org.apache.hadoop.mapred.TaskRunner: Task 'attempt_200907301448_8771_r_000000_0' done.
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (MAPREDUCE-838) Task succeeds even when committer.commitTask fails with IOException

Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amareshwari Sriramadasu updated MAPREDUCE-838:
----------------------------------------------

    Release Note: Fixed a bug in the way commit of task outputs happens. The bug was that if commit fails with IOException, the task would be declared as successful. 

> Task succeeds even when committer.commitTask fails with IOException
> -------------------------------------------------------------------
>
>                 Key: MAPREDUCE-838
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-838
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: task
>    Affects Versions: 0.20.1
>            Reporter: Koji Noguchi
>            Assignee: Amareshwari Sriramadasu
>            Priority: Blocker
>             Fix For: 0.20.1
>
>         Attachments: patch-838-0.20.txt, patch-838-1-0.20.txt, patch-838-1.txt, patch-838.txt
>
>
> In MAPREDUCE-837, job succeeded with empty output even though all the tasks were throwing IOException at commiter.commitTask.
> {noformat}
> 2009-08-07 17:51:47,458 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,466 WARN org.apache.hadoop.mapred.TaskRunner: Failure committing: java.io.IOException: Can not get the relative path: \
> base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,468 WARN org.apache.hadoop.mapred.TaskRunner: Failure asking whether task can commit: java.io.IOException: \
> Can not get the relative path: base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,469 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,472 INFO org.apache.hadoop.mapred.TaskRunner: Task 'attempt_200907301448_8771_r_000000_0' done.
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (MAPREDUCE-838) Task succeeds even when committer.commitTask fails with IOException

Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amareshwari Sriramadasu updated MAPREDUCE-838:
----------------------------------------------

    Attachment: patch-838-1-0.20.txt

Patch for 0.20 with proper fix

> Task succeeds even when committer.commitTask fails with IOException
> -------------------------------------------------------------------
>
>                 Key: MAPREDUCE-838
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-838
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: task
>    Affects Versions: 0.20.1
>            Reporter: Koji Noguchi
>            Assignee: Amareshwari Sriramadasu
>            Priority: Blocker
>             Fix For: 0.20.1
>
>         Attachments: patch-838-0.20.txt, patch-838-1-0.20.txt, patch-838.txt
>
>
> In MAPREDUCE-837, job succeeded with empty output even though all the tasks were throwing IOException at commiter.commitTask.
> {noformat}
> 2009-08-07 17:51:47,458 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,466 WARN org.apache.hadoop.mapred.TaskRunner: Failure committing: java.io.IOException: Can not get the relative path: \
> base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,468 WARN org.apache.hadoop.mapred.TaskRunner: Failure asking whether task can commit: java.io.IOException: \
> Can not get the relative path: base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,469 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,472 INFO org.apache.hadoop.mapred.TaskRunner: Task 'attempt_200907301448_8771_r_000000_0' done.
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (MAPREDUCE-838) Task succeeds even when committer.commitTask fails with IOException

Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amareshwari Sriramadasu updated MAPREDUCE-838:
----------------------------------------------

    Attachment: patch-838.txt

Patch with the fix for trunk

> Task succeeds even when committer.commitTask fails with IOException
> -------------------------------------------------------------------
>
>                 Key: MAPREDUCE-838
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-838
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: task
>    Affects Versions: 0.20.1
>            Reporter: Koji Noguchi
>            Assignee: Amareshwari Sriramadasu
>            Priority: Blocker
>             Fix For: 0.20.1
>
>         Attachments: patch-838-0.20.txt, patch-838.txt
>
>
> In MAPREDUCE-837, job succeeded with empty output even though all the tasks were throwing IOException at commiter.commitTask.
> {noformat}
> 2009-08-07 17:51:47,458 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,466 WARN org.apache.hadoop.mapred.TaskRunner: Failure committing: java.io.IOException: Can not get the relative path: \
> base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,468 WARN org.apache.hadoop.mapred.TaskRunner: Failure asking whether task can commit: java.io.IOException: \
> Can not get the relative path: base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,469 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,472 INFO org.apache.hadoop.mapred.TaskRunner: Task 'attempt_200907301448_8771_r_000000_0' done.
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (MAPREDUCE-838) Task succeeds even when committer.commitTask fails with IOException

Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amareshwari Sriramadasu updated MAPREDUCE-838:
----------------------------------------------

    Status: Patch Available  (was: Open)

> Task succeeds even when committer.commitTask fails with IOException
> -------------------------------------------------------------------
>
>                 Key: MAPREDUCE-838
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-838
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: task
>    Affects Versions: 0.20.1
>            Reporter: Koji Noguchi
>            Assignee: Amareshwari Sriramadasu
>            Priority: Blocker
>             Fix For: 0.20.1
>
>         Attachments: patch-838-0.20.txt, patch-838.txt
>
>
> In MAPREDUCE-837, job succeeded with empty output even though all the tasks were throwing IOException at commiter.commitTask.
> {noformat}
> 2009-08-07 17:51:47,458 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,466 WARN org.apache.hadoop.mapred.TaskRunner: Failure committing: java.io.IOException: Can not get the relative path: \
> base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,468 WARN org.apache.hadoop.mapred.TaskRunner: Failure asking whether task can commit: java.io.IOException: \
> Can not get the relative path: base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,469 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,472 INFO org.apache.hadoop.mapred.TaskRunner: Task 'attempt_200907301448_8771_r_000000_0' done.
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (MAPREDUCE-838) Task succeeds even when committer.commitTask fails with IOException

Posted by "Devaraj Das (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Devaraj Das updated MAPREDUCE-838:
----------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed this. Thanks, Amareshwari!

> Task succeeds even when committer.commitTask fails with IOException
> -------------------------------------------------------------------
>
>                 Key: MAPREDUCE-838
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-838
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: task
>    Affects Versions: 0.20.1
>            Reporter: Koji Noguchi
>            Assignee: Amareshwari Sriramadasu
>            Priority: Blocker
>             Fix For: 0.20.1
>
>         Attachments: patch-838-0.20.txt, patch-838-1-0.20.txt, patch-838-1.txt, patch-838.txt
>
>
> In MAPREDUCE-837, job succeeded with empty output even though all the tasks were throwing IOException at commiter.commitTask.
> {noformat}
> 2009-08-07 17:51:47,458 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,466 WARN org.apache.hadoop.mapred.TaskRunner: Failure committing: java.io.IOException: Can not get the relative path: \
> base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,468 WARN org.apache.hadoop.mapred.TaskRunner: Failure asking whether task can commit: java.io.IOException: \
> Can not get the relative path: base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,469 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,472 INFO org.apache.hadoop.mapred.TaskRunner: Task 'attempt_200907301448_8771_r_000000_0' done.
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MAPREDUCE-838) Task succeeds even when committer.commitTask fails with IOException

Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12741248#action_12741248 ] 

Amareshwari Sriramadasu commented on MAPREDUCE-838:
---------------------------------------------------

-1 core tests.  TestRecoveryManager timedOut. Should be fixed by MAPREDUCE-745.
-1 contrib tests. Is known failure on hudson.

> Task succeeds even when committer.commitTask fails with IOException
> -------------------------------------------------------------------
>
>                 Key: MAPREDUCE-838
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-838
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: task
>    Affects Versions: 0.20.1
>            Reporter: Koji Noguchi
>            Assignee: Amareshwari Sriramadasu
>            Priority: Blocker
>             Fix For: 0.20.1
>
>         Attachments: patch-838-0.20.txt, patch-838.txt
>
>
> In MAPREDUCE-837, job succeeded with empty output even though all the tasks were throwing IOException at commiter.commitTask.
> {noformat}
> 2009-08-07 17:51:47,458 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,466 WARN org.apache.hadoop.mapred.TaskRunner: Failure committing: java.io.IOException: Can not get the relative path: \
> base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,468 WARN org.apache.hadoop.mapred.TaskRunner: Failure asking whether task can commit: java.io.IOException: \
> Can not get the relative path: base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,469 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,472 INFO org.apache.hadoop.mapred.TaskRunner: Task 'attempt_200907301448_8771_r_000000_0' done.
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MAPREDUCE-838) Task succeeds even when committer.commitTask fails with IOException

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12741243#action_12741243 ] 

Hadoop QA commented on MAPREDUCE-838:
-------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12416024/patch-838.txt
  against trunk revision 802645.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    -1 core tests.  The patch failed core unit tests.

    -1 contrib tests.  The patch failed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-vesta.apache.org/460/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-vesta.apache.org/460/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-vesta.apache.org/460/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-vesta.apache.org/460/console

This message is automatically generated.

> Task succeeds even when committer.commitTask fails with IOException
> -------------------------------------------------------------------
>
>                 Key: MAPREDUCE-838
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-838
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: task
>    Affects Versions: 0.20.1
>            Reporter: Koji Noguchi
>            Assignee: Amareshwari Sriramadasu
>            Priority: Blocker
>             Fix For: 0.20.1
>
>         Attachments: patch-838-0.20.txt, patch-838.txt
>
>
> In MAPREDUCE-837, job succeeded with empty output even though all the tasks were throwing IOException at commiter.commitTask.
> {noformat}
> 2009-08-07 17:51:47,458 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,466 WARN org.apache.hadoop.mapred.TaskRunner: Failure committing: java.io.IOException: Can not get the relative path: \
> base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,468 WARN org.apache.hadoop.mapred.TaskRunner: Failure asking whether task can commit: java.io.IOException: \
> Can not get the relative path: base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,469 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,472 INFO org.apache.hadoop.mapred.TaskRunner: Task 'attempt_200907301448_8771_r_000000_0' done.
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MAPREDUCE-838) Task succeeds even when committer.commitTask fails with IOException

Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12741284#action_12741284 ] 

Amareshwari Sriramadasu commented on MAPREDUCE-838:
---------------------------------------------------

test-patch result:
{noformat}
     [exec]
     [exec]
     [exec] +1 overall.
     [exec]
     [exec]     +1 @author.  The patch does not contain any @author tags.
     [exec]
     [exec]     +1 tests included.  The patch appears to include 3 new or modified tests.
     [exec]
     [exec]     +1 javadoc.  The javadoc tool did not generate any warning messages.
     [exec]
     [exec]     +1 javac.  The applied patch does not increase the total number of javac compiler warnings.
     [exec]
     [exec]     +1 findbugs.  The patch does not introduce any new Findbugs warnings.
     [exec]
     [exec]     +1 release audit.  The applied patch does not increase the total number of release audit warnings.
     [exec]
{noformat}

> Task succeeds even when committer.commitTask fails with IOException
> -------------------------------------------------------------------
>
>                 Key: MAPREDUCE-838
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-838
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: task
>    Affects Versions: 0.20.1
>            Reporter: Koji Noguchi
>            Assignee: Amareshwari Sriramadasu
>            Priority: Blocker
>             Fix For: 0.20.1
>
>         Attachments: patch-838-0.20.txt, patch-838-1-0.20.txt, patch-838-1.txt, patch-838.txt
>
>
> In MAPREDUCE-837, job succeeded with empty output even though all the tasks were throwing IOException at commiter.commitTask.
> {noformat}
> 2009-08-07 17:51:47,458 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,466 WARN org.apache.hadoop.mapred.TaskRunner: Failure committing: java.io.IOException: Can not get the relative path: \
> base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,468 WARN org.apache.hadoop.mapred.TaskRunner: Failure asking whether task can commit: java.io.IOException: \
> Can not get the relative path: base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,469 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,472 INFO org.apache.hadoop.mapred.TaskRunner: Task 'attempt_200907301448_8771_r_000000_0' done.
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (MAPREDUCE-838) Task succeeds even when committer.commitTask fails with IOException

Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amareshwari Sriramadasu updated MAPREDUCE-838:
----------------------------------------------

    Attachment: patch-838-0.20.txt

Patch for 0.20

> Task succeeds even when committer.commitTask fails with IOException
> -------------------------------------------------------------------
>
>                 Key: MAPREDUCE-838
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-838
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: task
>    Affects Versions: 0.20.1
>            Reporter: Koji Noguchi
>            Assignee: Amareshwari Sriramadasu
>            Priority: Blocker
>             Fix For: 0.20.1
>
>         Attachments: patch-838-0.20.txt
>
>
> In MAPREDUCE-837, job succeeded with empty output even though all the tasks were throwing IOException at commiter.commitTask.
> {noformat}
> 2009-08-07 17:51:47,458 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,466 WARN org.apache.hadoop.mapred.TaskRunner: Failure committing: java.io.IOException: Can not get the relative path: \
> base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,468 WARN org.apache.hadoop.mapred.TaskRunner: Failure asking whether task can commit: java.io.IOException: \
> Can not get the relative path: base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,469 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,472 INFO org.apache.hadoop.mapred.TaskRunner: Task 'attempt_200907301448_8771_r_000000_0' done.
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (MAPREDUCE-838) Task succeeds even when committer.commitTask fails with IOException

Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amareshwari Sriramadasu reassigned MAPREDUCE-838:
-------------------------------------------------

    Assignee: Amareshwari Sriramadasu

> Task succeeds even when committer.commitTask fails with IOException
> -------------------------------------------------------------------
>
>                 Key: MAPREDUCE-838
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-838
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: task
>    Affects Versions: 0.20.1
>            Reporter: Koji Noguchi
>            Assignee: Amareshwari Sriramadasu
>            Priority: Critical
>
> In MAPREDUCE-837, job succeeded with empty output even though all the tasks were throwing IOException at commiter.commitTask.
> {noformat}
> 2009-08-07 17:51:47,458 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,466 WARN org.apache.hadoop.mapred.TaskRunner: Failure committing: java.io.IOException: Can not get the relative path: \
> base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,468 WARN org.apache.hadoop.mapred.TaskRunner: Failure asking whether task can commit: java.io.IOException: \
> Can not get the relative path: base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,469 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,472 INFO org.apache.hadoop.mapred.TaskRunner: Task 'attempt_200907301448_8771_r_000000_0' done.
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (MAPREDUCE-838) Task succeeds even when committer.commitTask fails with IOException

Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arun C Murthy updated MAPREDUCE-838:
------------------------------------

    Priority: Critical  (was: Major)

Could be a serious bug, raising priority.

> Task succeeds even when committer.commitTask fails with IOException
> -------------------------------------------------------------------
>
>                 Key: MAPREDUCE-838
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-838
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: task
>    Affects Versions: 0.20.1
>            Reporter: Koji Noguchi
>            Priority: Critical
>
> In MAPREDUCE-837, job succeeded with empty output even though all the tasks were throwing IOException at commiter.commitTask.
> {noformat}
> 2009-08-07 17:51:47,458 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,466 WARN org.apache.hadoop.mapred.TaskRunner: Failure committing: java.io.IOException: Can not get the relative path: \
> base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,468 WARN org.apache.hadoop.mapred.TaskRunner: Failure asking whether task can commit: java.io.IOException: \
> Can not get the relative path: base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,469 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,472 INFO org.apache.hadoop.mapred.TaskRunner: Task 'attempt_200907301448_8771_r_000000_0' done.
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MAPREDUCE-838) Task succeeds even when committer.commitTask fails with IOException

Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12741323#action_12741323 ] 

Amareshwari Sriramadasu commented on MAPREDUCE-838:
---------------------------------------------------

All unit tests passed except TestRecoveryManager (due to MAPREDUCE-745)

> Task succeeds even when committer.commitTask fails with IOException
> -------------------------------------------------------------------
>
>                 Key: MAPREDUCE-838
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-838
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: task
>    Affects Versions: 0.20.1
>            Reporter: Koji Noguchi
>            Assignee: Amareshwari Sriramadasu
>            Priority: Blocker
>             Fix For: 0.20.1
>
>         Attachments: patch-838-0.20.txt, patch-838-1-0.20.txt, patch-838-1.txt, patch-838.txt
>
>
> In MAPREDUCE-837, job succeeded with empty output even though all the tasks were throwing IOException at commiter.commitTask.
> {noformat}
> 2009-08-07 17:51:47,458 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,466 WARN org.apache.hadoop.mapred.TaskRunner: Failure committing: java.io.IOException: Can not get the relative path: \
> base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,468 WARN org.apache.hadoop.mapred.TaskRunner: Failure asking whether task can commit: java.io.IOException: \
> Can not get the relative path: base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,469 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,472 INFO org.apache.hadoop.mapred.TaskRunner: Task 'attempt_200907301448_8771_r_000000_0' done.
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (MAPREDUCE-838) Task succeeds even when committer.commitTask fails with IOException

Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amareshwari Sriramadasu updated MAPREDUCE-838:
----------------------------------------------

    Attachment: patch-838-1.txt

Patch for trunk

> Task succeeds even when committer.commitTask fails with IOException
> -------------------------------------------------------------------
>
>                 Key: MAPREDUCE-838
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-838
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: task
>    Affects Versions: 0.20.1
>            Reporter: Koji Noguchi
>            Assignee: Amareshwari Sriramadasu
>            Priority: Blocker
>             Fix For: 0.20.1
>
>         Attachments: patch-838-0.20.txt, patch-838-1-0.20.txt, patch-838-1.txt, patch-838.txt
>
>
> In MAPREDUCE-837, job succeeded with empty output even though all the tasks were throwing IOException at commiter.commitTask.
> {noformat}
> 2009-08-07 17:51:47,458 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,466 WARN org.apache.hadoop.mapred.TaskRunner: Failure committing: java.io.IOException: Can not get the relative path: \
> base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,468 WARN org.apache.hadoop.mapred.TaskRunner: Failure asking whether task can commit: java.io.IOException: \
> Can not get the relative path: base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,469 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,472 INFO org.apache.hadoop.mapred.TaskRunner: Task 'attempt_200907301448_8771_r_000000_0' done.
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (MAPREDUCE-838) Task succeeds even when committer.commitTask fails with IOException

Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amareshwari Sriramadasu updated MAPREDUCE-838:
----------------------------------------------

    Status: Open  (was: Patch Available)

Uploaded patch was missing retry logic for umbilical

> Task succeeds even when committer.commitTask fails with IOException
> -------------------------------------------------------------------
>
>                 Key: MAPREDUCE-838
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-838
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: task
>    Affects Versions: 0.20.1
>            Reporter: Koji Noguchi
>            Assignee: Amareshwari Sriramadasu
>            Priority: Blocker
>             Fix For: 0.20.1
>
>         Attachments: patch-838-0.20.txt, patch-838.txt
>
>
> In MAPREDUCE-837, job succeeded with empty output even though all the tasks were throwing IOException at commiter.commitTask.
> {noformat}
> 2009-08-07 17:51:47,458 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,466 WARN org.apache.hadoop.mapred.TaskRunner: Failure committing: java.io.IOException: Can not get the relative path: \
> base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,468 WARN org.apache.hadoop.mapred.TaskRunner: Failure asking whether task can commit: java.io.IOException: \
> Can not get the relative path: base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,469 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,472 INFO org.apache.hadoop.mapred.TaskRunner: Task 'attempt_200907301448_8771_r_000000_0' done.
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MAPREDUCE-838) Task succeeds even when committer.commitTask fails with IOException

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12741542#action_12741542 ] 

Hadoop QA commented on MAPREDUCE-838:
-------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12416048/patch-838-1.txt
  against trunk revision 802869.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    -1 contrib tests.  The patch failed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-vesta.apache.org/462/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-vesta.apache.org/462/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-vesta.apache.org/462/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-vesta.apache.org/462/console

This message is automatically generated.

> Task succeeds even when committer.commitTask fails with IOException
> -------------------------------------------------------------------
>
>                 Key: MAPREDUCE-838
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-838
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: task
>    Affects Versions: 0.20.1
>            Reporter: Koji Noguchi
>            Assignee: Amareshwari Sriramadasu
>            Priority: Blocker
>             Fix For: 0.20.1
>
>         Attachments: patch-838-0.20.txt, patch-838-1-0.20.txt, patch-838-1.txt, patch-838.txt
>
>
> In MAPREDUCE-837, job succeeded with empty output even though all the tasks were throwing IOException at commiter.commitTask.
> {noformat}
> 2009-08-07 17:51:47,458 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,466 WARN org.apache.hadoop.mapred.TaskRunner: Failure committing: java.io.IOException: Can not get the relative path: \
> base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,468 WARN org.apache.hadoop.mapred.TaskRunner: Failure asking whether task can commit: java.io.IOException: \
> Can not get the relative path: base = hdfs://mynamenode:8020/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0 \
> child = hdfs://mynamenode/user/knoguchi/test2.har/_temporary/_attempt_200907301448_8771_r_000000_0/_index
>   at org.apache.hadoop.mapred.FileOutputCommitter.getFinalPath(FileOutputCommitter.java:150)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:106)
>   at org.apache.hadoop.mapred.FileOutputCommitter.moveTaskOutputs(FileOutputCommitter.java:126)
>   at org.apache.hadoop.mapred.FileOutputCommitter.commitTask(FileOutputCommitter.java:86)
>   at org.apache.hadoop.mapred.OutputCommitter.commitTask(OutputCommitter.java:171)
>   at org.apache.hadoop.mapred.Task.commit(Task.java:768)
>   at org.apache.hadoop.mapred.Task.done(Task.java:692)
>   at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
>   at org.apache.hadoop.mapred.Child.main(Child.java:170)
> 2009-08-07 17:51:47,469 INFO org.apache.hadoop.mapred.TaskRunner: Task attempt_200907301448_8771_r_000000_0 is allowed to commit now
> 2009-08-07 17:51:47,472 INFO org.apache.hadoop.mapred.TaskRunner: Task 'attempt_200907301448_8771_r_000000_0' done.
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.