[jira] [Commented] (HADOOP-9677) TestSetupAndCleanupFailure#testWithDFS fails on Windows

2013-07-02 Thread Xi Fang (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-9677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13698202#comment-13698202
 ] 

Xi Fang commented on HADOOP-9677:
-

Thanks Chris!

 TestSetupAndCleanupFailure#testWithDFS fails on Windows
 ---

 Key: HADOOP-9677
 URL: https://issues.apache.org/jira/browse/HADOOP-9677
 Project: Hadoop Common
  Issue Type: Bug
Affects Versions: 1-win
Reporter: Ivan Mitic
Assignee: Xi Fang
 Fix For: 1-win

 Attachments: HADOOP-9677.patch


 Exception:
 {noformat}
 junit.framework.AssertionFailedError: expected:2 but was:3
   at 
 org.apache.hadoop.mapred.TestSetupAndCleanupFailure.testSetupAndCleanupKill(TestSetupAndCleanupFailure.java:219)
   at 
 org.apache.hadoop.mapred.TestSetupAndCleanupFailure.testWithDFS(TestSetupAndCleanupFailure.java:282)
 {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HADOOP-9677) TestSetupAndCleanupFailure#testWithDFS fails on Windows

2013-07-01 Thread Xi Fang (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-9677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13696973#comment-13696973
 ] 

Xi Fang commented on HADOOP-9677:
-

The failure was introduced by the patch fixing  MAPREDUCE-5330. We have used 
tests to verify the patch for MAPREDUCE-5330 works indeed. In that patch, on 
Windows, a delay kill is used (see JVMManager#kill()) for killing JVM and 
Signal.TERM is ignored. Setting  
mapred.tasktracker.tasks.sleeptime-before-sigkill in this patch to zero 
ensures that in the unit test the kill will be executed with no delay so that 
the setup/cleanup attempts get killed immediately.

 TestSetupAndCleanupFailure#testWithDFS fails on Windows
 ---

 Key: HADOOP-9677
 URL: https://issues.apache.org/jira/browse/HADOOP-9677
 Project: Hadoop Common
  Issue Type: Bug
Affects Versions: 1-win
Reporter: Ivan Mitic
Assignee: Xi Fang
 Attachments: HADOOP-9677.patch


 Exception:
 {noformat}
 junit.framework.AssertionFailedError: expected:2 but was:3
   at 
 org.apache.hadoop.mapred.TestSetupAndCleanupFailure.testSetupAndCleanupKill(TestSetupAndCleanupFailure.java:219)
   at 
 org.apache.hadoop.mapred.TestSetupAndCleanupFailure.testWithDFS(TestSetupAndCleanupFailure.java:282)
 {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira