[jira] [Commented] (MAPREDUCE-5179) Change TestHSWebServices to do string equal check on hadoop build version similar to YARN-605

2013-04-28 Thread Vinod Kumar Vavilapalli (JIRA)

[ 
https://issues.apache.org/jira/browse/MAPREDUCE-5179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13644127#comment-13644127
 ] 

Vinod Kumar Vavilapalli commented on MAPREDUCE-5179:


+1, looks good. Checking it in.

 Change TestHSWebServices to do string equal check on hadoop build version 
 similar to YARN-605
 -

 Key: MAPREDUCE-5179
 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5179
 Project: Hadoop Map/Reduce
  Issue Type: Bug
Reporter: Hitesh Shah
Assignee: Hitesh Shah
 Attachments: MAPREDUCE-5179.1.patch




--
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] [Updated] (MAPREDUCE-5179) Change TestHSWebServices to do string equal check on hadoop build version similar to YARN-605

2013-04-28 Thread Vinod Kumar Vavilapalli (JIRA)

 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-5179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vinod Kumar Vavilapalli updated MAPREDUCE-5179:
---

   Resolution: Fixed
Fix Version/s: 2.0.5-beta
 Hadoop Flags: Reviewed
   Status: Resolved  (was: Patch Available)

Committed this to trunk and branch-2. Thanks Hitesh!

 Change TestHSWebServices to do string equal check on hadoop build version 
 similar to YARN-605
 -

 Key: MAPREDUCE-5179
 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5179
 Project: Hadoop Map/Reduce
  Issue Type: Bug
Reporter: Hitesh Shah
Assignee: Hitesh Shah
 Fix For: 2.0.5-beta

 Attachments: MAPREDUCE-5179.1.patch




--
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] (MAPREDUCE-5179) Change TestHSWebServices to do string equal check on hadoop build version similar to YARN-605

2013-04-28 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/MAPREDUCE-5179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13644137#comment-13644137
 ] 

Hudson commented on MAPREDUCE-5179:
---

Integrated in Hadoop-trunk-Commit #3686 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/3686/])
MAPREDUCE-5179. Fix unit test in TestHSWebServices which fails when 
versionInfo has parantheses like when running on a git checkout. Contributed by 
Hitesh Shah. (Revision 1476835)

 Result = SUCCESS
vinodkv : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1476835
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/test/java/org/apache/hadoop/mapreduce/v2/hs/webapp/TestHsWebServices.java


 Change TestHSWebServices to do string equal check on hadoop build version 
 similar to YARN-605
 -

 Key: MAPREDUCE-5179
 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5179
 Project: Hadoop Map/Reduce
  Issue Type: Bug
Reporter: Hitesh Shah
Assignee: Hitesh Shah
 Fix For: 2.0.5-beta

 Attachments: MAPREDUCE-5179.1.patch




--
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] [Updated] (MAPREDUCE-5177) Move to common utils FileUtil#setReadable/Writable/Executable and FileUtil#canRead/Write/Execute

2013-04-28 Thread Ivan Mitic (JIRA)

 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-5177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ivan Mitic updated MAPREDUCE-5177:
--

Attachment: MAPREDUCE-5177.commonutils.2.patch

Attaching the updated patch. Should be good now :)

 Move to common utils FileUtil#setReadable/Writable/Executable and 
 FileUtil#canRead/Write/Execute
 

 Key: MAPREDUCE-5177
 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5177
 Project: Hadoop Map/Reduce
  Issue Type: Bug
Affects Versions: 3.0.0
Reporter: Ivan Mitic
Assignee: Ivan Mitic
 Attachments: MAPREDUCE-5177.commonutils.2.patch, 
 MAPREDUCE-5177.commonutils.patch


 Move to using common utils described in HADOOP-9413 that work well 
 cross-platform.

--
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] [Created] (MAPREDUCE-5191) TestQueue#testQueue fails with timeout on Windows

2013-04-28 Thread Ivan Mitic (JIRA)
Ivan Mitic created MAPREDUCE-5191:
-

 Summary: TestQueue#testQueue fails with timeout on Windows
 Key: MAPREDUCE-5191
 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5191
 Project: Hadoop Map/Reduce
  Issue Type: Bug
Affects Versions: 3.0.0
Reporter: Ivan Mitic
Assignee: Ivan Mitic


Test times out on my machine after 5 seconds always on the below stack:

{code}
testQueue(org.apache.hadoop.mapred.TestQueue)  Time elapsed: 5009 sec   
ERROR!
java.lang.Exception: test timed out after 5000 milliseconds
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at 
sun.security.provider.SeedGenerator$ThreadedSeedGenerator.getSeedByte(SeedGenerator.java:330)
at 
sun.security.provider.SeedGenerator$ThreadedSeedGenerator.getSeedBytes(SeedGenerator.java:319)
at 
sun.security.provider.SeedGenerator.generateSeed(SeedGenerator.java:117)
at 
sun.security.provider.SecureRandom.engineGenerateSeed(SecureRandom.java:114)
at 
sun.security.provider.SecureRandom.engineNextBytes(SecureRandom.java:171)
at java.security.SecureRandom.nextBytes(SecureRandom.java:433)
at java.security.SecureRandom.next(SecureRandom.java:455)
at java.util.Random.nextLong(Random.java:284)
at java.io.File.generateFile(File.java:1682)
at java.io.File.createTempFile(File.java:1791)
at java.io.File.createTempFile(File.java:1828)
at org.apache.hadoop.mapred.TestQueue.writeFile(TestQueue.java:221)
at org.apache.hadoop.mapred.TestQueue.testQueue(TestQueue.java:53)
{code} 


--
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] [Updated] (MAPREDUCE-5191) TestQueue#testQueue fails with timeout on Windows

2013-04-28 Thread Ivan Mitic (JIRA)

 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-5191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ivan Mitic updated MAPREDUCE-5191:
--

Attachment: MAPREDUCE-5191.patch

Attaching the patch. The fix is to increases the timeout from 5 to 10 seconds. 

First, I timed the call to {{File.createTempFile}} and it was ~5 seconds 
consistently on my box. After that, I looked this up online, and turned out to 
be a [known 
issue|http://stackoverflow.com/questions/2608763/why-does-first-call-to-java-io-file-createtempfilestring-string-file-take-5-se].
 


 TestQueue#testQueue fails with timeout on Windows
 -

 Key: MAPREDUCE-5191
 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5191
 Project: Hadoop Map/Reduce
  Issue Type: Bug
Affects Versions: 3.0.0
Reporter: Ivan Mitic
Assignee: Ivan Mitic
 Attachments: MAPREDUCE-5191.patch


 Test times out on my machine after 5 seconds always on the below stack:
 {code}
 testQueue(org.apache.hadoop.mapred.TestQueue)  Time elapsed: 5009 sec   
 ERROR!
 java.lang.Exception: test timed out after 5000 milliseconds
   at java.lang.Object.wait(Native Method)
   at java.lang.Object.wait(Object.java:485)
   at 
 sun.security.provider.SeedGenerator$ThreadedSeedGenerator.getSeedByte(SeedGenerator.java:330)
   at 
 sun.security.provider.SeedGenerator$ThreadedSeedGenerator.getSeedBytes(SeedGenerator.java:319)
   at 
 sun.security.provider.SeedGenerator.generateSeed(SeedGenerator.java:117)
   at 
 sun.security.provider.SecureRandom.engineGenerateSeed(SecureRandom.java:114)
   at 
 sun.security.provider.SecureRandom.engineNextBytes(SecureRandom.java:171)
   at java.security.SecureRandom.nextBytes(SecureRandom.java:433)
   at java.security.SecureRandom.next(SecureRandom.java:455)
   at java.util.Random.nextLong(Random.java:284)
   at java.io.File.generateFile(File.java:1682)
   at java.io.File.createTempFile(File.java:1791)
   at java.io.File.createTempFile(File.java:1828)
   at org.apache.hadoop.mapred.TestQueue.writeFile(TestQueue.java:221)
   at org.apache.hadoop.mapred.TestQueue.testQueue(TestQueue.java:53)
 {code} 

--
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] [Updated] (MAPREDUCE-5191) TestQueue#testQueue fails with timeout on Windows

2013-04-28 Thread Ivan Mitic (JIRA)

 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-5191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ivan Mitic updated MAPREDUCE-5191:
--

Status: Patch Available  (was: Open)

 TestQueue#testQueue fails with timeout on Windows
 -

 Key: MAPREDUCE-5191
 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5191
 Project: Hadoop Map/Reduce
  Issue Type: Bug
Affects Versions: 3.0.0
Reporter: Ivan Mitic
Assignee: Ivan Mitic
 Attachments: MAPREDUCE-5191.patch


 Test times out on my machine after 5 seconds always on the below stack:
 {code}
 testQueue(org.apache.hadoop.mapred.TestQueue)  Time elapsed: 5009 sec   
 ERROR!
 java.lang.Exception: test timed out after 5000 milliseconds
   at java.lang.Object.wait(Native Method)
   at java.lang.Object.wait(Object.java:485)
   at 
 sun.security.provider.SeedGenerator$ThreadedSeedGenerator.getSeedByte(SeedGenerator.java:330)
   at 
 sun.security.provider.SeedGenerator$ThreadedSeedGenerator.getSeedBytes(SeedGenerator.java:319)
   at 
 sun.security.provider.SeedGenerator.generateSeed(SeedGenerator.java:117)
   at 
 sun.security.provider.SecureRandom.engineGenerateSeed(SecureRandom.java:114)
   at 
 sun.security.provider.SecureRandom.engineNextBytes(SecureRandom.java:171)
   at java.security.SecureRandom.nextBytes(SecureRandom.java:433)
   at java.security.SecureRandom.next(SecureRandom.java:455)
   at java.util.Random.nextLong(Random.java:284)
   at java.io.File.generateFile(File.java:1682)
   at java.io.File.createTempFile(File.java:1791)
   at java.io.File.createTempFile(File.java:1828)
   at org.apache.hadoop.mapred.TestQueue.writeFile(TestQueue.java:221)
   at org.apache.hadoop.mapred.TestQueue.testQueue(TestQueue.java:53)
 {code} 

--
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] (MAPREDUCE-5191) TestQueue#testQueue fails with timeout on Windows

2013-04-28 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/MAPREDUCE-5191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13644268#comment-13644268
 ] 

Hadoop QA commented on MAPREDUCE-5191:
--

{color:green}+1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12580936/MAPREDUCE-5191.patch
  against trunk revision .

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 1 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  The javadoc tool did not generate any 
warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 1.3.9) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in 
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core.

{color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/3553//testReport/
Console output: 
https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/3553//console

This message is automatically generated.

 TestQueue#testQueue fails with timeout on Windows
 -

 Key: MAPREDUCE-5191
 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5191
 Project: Hadoop Map/Reduce
  Issue Type: Bug
Affects Versions: 3.0.0
Reporter: Ivan Mitic
Assignee: Ivan Mitic
 Attachments: MAPREDUCE-5191.patch


 Test times out on my machine after 5 seconds always on the below stack:
 {code}
 testQueue(org.apache.hadoop.mapred.TestQueue)  Time elapsed: 5009 sec   
 ERROR!
 java.lang.Exception: test timed out after 5000 milliseconds
   at java.lang.Object.wait(Native Method)
   at java.lang.Object.wait(Object.java:485)
   at 
 sun.security.provider.SeedGenerator$ThreadedSeedGenerator.getSeedByte(SeedGenerator.java:330)
   at 
 sun.security.provider.SeedGenerator$ThreadedSeedGenerator.getSeedBytes(SeedGenerator.java:319)
   at 
 sun.security.provider.SeedGenerator.generateSeed(SeedGenerator.java:117)
   at 
 sun.security.provider.SecureRandom.engineGenerateSeed(SecureRandom.java:114)
   at 
 sun.security.provider.SecureRandom.engineNextBytes(SecureRandom.java:171)
   at java.security.SecureRandom.nextBytes(SecureRandom.java:433)
   at java.security.SecureRandom.next(SecureRandom.java:455)
   at java.util.Random.nextLong(Random.java:284)
   at java.io.File.generateFile(File.java:1682)
   at java.io.File.createTempFile(File.java:1791)
   at java.io.File.createTempFile(File.java:1828)
   at org.apache.hadoop.mapred.TestQueue.writeFile(TestQueue.java:221)
   at org.apache.hadoop.mapred.TestQueue.testQueue(TestQueue.java:53)
 {code} 

--
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