You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Chris Nauroth (JIRA)" <ji...@apache.org> on 2012/10/25 00:32:12 UTC

[jira] [Created] (HADOOP-8974) TestDFVariations fails on Windows

Chris Nauroth created HADOOP-8974:
-------------------------------------

             Summary: TestDFVariations fails on Windows
                 Key: HADOOP-8974
                 URL: https://issues.apache.org/jira/browse/HADOOP-8974
             Project: Hadoop Common
          Issue Type: Bug
          Components: fs
    Affects Versions: trunk-win
            Reporter: Chris Nauroth
            Assignee: Chris Nauroth


The test fails on Windows.  This may be related to code ported in to DF.java from branch-1-win.

--
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] (HADOOP-8974) TestDFVariations fails on Windows

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

Suresh Srinivas updated HADOOP-8974:
------------------------------------

       Resolution: Fixed
    Fix Version/s: trunk-win
                   3.0.0
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

I committed the patch to trunk and branch-trunk-win. Thank you Chris.
                
> TestDFVariations fails on Windows
> ---------------------------------
>
>                 Key: HADOOP-8974
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8974
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 3.0.0, trunk-win
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>             Fix For: 3.0.0, trunk-win
>
>         Attachments: HADOOP-8974.patch
>
>
> The test fails on Windows.  This may be related to code ported in to DF.java from branch-1-win.

--
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-8974) TestDFVariations fails on Windows

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

Hudson commented on HADOOP-8974:
--------------------------------

Integrated in Hadoop-Hdfs-trunk #1221 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1221/])
    HADOOP-8974. TestDFVariations fails on Windows. Contributed by Chris Nauroth. (Revision 1407222)

     Result = SUCCESS
suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1407222
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestDFVariations.java

                
> TestDFVariations fails on Windows
> ---------------------------------
>
>                 Key: HADOOP-8974
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8974
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 3.0.0, trunk-win
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>             Fix For: 3.0.0, trunk-win
>
>         Attachments: HADOOP-8974.patch
>
>
> The test fails on Windows.  This may be related to code ported in to DF.java from branch-1-win.

--
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] (HADOOP-8974) TestDFVariations fails on Windows

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

Chris Nauroth updated HADOOP-8974:
----------------------------------

    Status: Patch Available  (was: Open)
    
> TestDFVariations fails on Windows
> ---------------------------------
>
>                 Key: HADOOP-8974
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8974
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 3.0.0, trunk-win
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>         Attachments: HADOOP-8974.patch
>
>
> The test fails on Windows.  This may be related to code ported in to DF.java from branch-1-win.

--
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-8974) TestDFVariations fails on Windows

Posted by "Chris Nauroth (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13483669#comment-13483669 ] 

Chris Nauroth commented on HADOOP-8974:
---------------------------------------

{code}
Running org.apache.hadoop.fs.TestDFVariations
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0 sec <<< FAILURE!
testOSParsing(org.apache.hadoop.fs.TestDFVariations)  Time elapsed: 0 sec  <<< FAILURE!
junit.framework.ComparisonFailure: UNIX mount expected:<[/foo/bar]> but was:<[C:]>
	at junit.framework.Assert.assertEquals(Assert.java:81)
	at org.apache.hadoop.fs.TestDFVariations.testOSParsing(TestDFVariations.java:54)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at junit.framework.TestCase.runTest(TestCase.java:168)
	at junit.framework.TestCase.runBare(TestCase.java:134)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:124)
	at junit.framework.TestSuite.runTest(TestSuite.java:243)
	at junit.framework.TestSuite.run(TestSuite.java:238)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
{code}

                
> TestDFVariations fails on Windows
> ---------------------------------
>
>                 Key: HADOOP-8974
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8974
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: trunk-win
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>
> The test fails on Windows.  This may be related to code ported in to DF.java from branch-1-win.

--
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-8974) TestDFVariations fails on Windows

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

Hadoop QA commented on HADOOP-8974:
-----------------------------------

{color:green}+1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12551485/HADOOP-8974.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-common-project/hadoop-common.

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

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

This message is automatically generated.
                
> TestDFVariations fails on Windows
> ---------------------------------
>
>                 Key: HADOOP-8974
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8974
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 3.0.0, trunk-win
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>         Attachments: HADOOP-8974.patch
>
>
> The test fails on Windows.  This may be related to code ported in to DF.java from branch-1-win.

--
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-8974) TestDFVariations fails on Windows

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493363#comment-13493363 ] 

Suresh Srinivas commented on HADOOP-8974:
-----------------------------------------

+1 for the patch.
                
> TestDFVariations fails on Windows
> ---------------------------------
>
>                 Key: HADOOP-8974
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8974
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 3.0.0, trunk-win
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>         Attachments: HADOOP-8974.patch
>
>
> The test fails on Windows.  This may be related to code ported in to DF.java from branch-1-win.

--
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] (HADOOP-8974) TestDFVariations fails on Windows

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

Chris Nauroth updated HADOOP-8974:
----------------------------------

     Target Version/s: 3.0.0, trunk-win  (was: trunk-win)
    Affects Version/s: 3.0.0
    
> TestDFVariations fails on Windows
> ---------------------------------
>
>                 Key: HADOOP-8974
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8974
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 3.0.0, trunk-win
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>
> The test fails on Windows.  This may be related to code ported in to DF.java from branch-1-win.

--
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-8974) TestDFVariations fails on Windows

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

Hudson commented on HADOOP-8974:
--------------------------------

Integrated in Hadoop-trunk-Commit #2983 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/2983/])
    HADOOP-8974. TestDFVariations fails on Windows. Contributed by Chris Nauroth. (Revision 1407222)

     Result = SUCCESS
suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1407222
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestDFVariations.java

                
> TestDFVariations fails on Windows
> ---------------------------------
>
>                 Key: HADOOP-8974
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8974
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 3.0.0, trunk-win
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>             Fix For: 3.0.0, trunk-win
>
>         Attachments: HADOOP-8974.patch
>
>
> The test fails on Windows.  This may be related to code ported in to DF.java from branch-1-win.

--
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-8974) TestDFVariations fails on Windows

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

Hudson commented on HADOOP-8974:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk #1251 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1251/])
    HADOOP-8974. TestDFVariations fails on Windows. Contributed by Chris Nauroth. (Revision 1407222)

     Result = FAILURE
suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1407222
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestDFVariations.java

                
> TestDFVariations fails on Windows
> ---------------------------------
>
>                 Key: HADOOP-8974
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8974
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 3.0.0, trunk-win
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>             Fix For: 3.0.0, trunk-win
>
>         Attachments: HADOOP-8974.patch
>
>
> The test fails on Windows.  This may be related to code ported in to DF.java from branch-1-win.

--
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-8974) TestDFVariations fails on Windows

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

Hudson commented on HADOOP-8974:
--------------------------------

Integrated in Hadoop-Yarn-trunk #31 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/31/])
    HADOOP-8974. TestDFVariations fails on Windows. Contributed by Chris Nauroth. (Revision 1407222)

     Result = SUCCESS
suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1407222
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestDFVariations.java

                
> TestDFVariations fails on Windows
> ---------------------------------
>
>                 Key: HADOOP-8974
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8974
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 3.0.0, trunk-win
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>             Fix For: 3.0.0, trunk-win
>
>         Attachments: HADOOP-8974.patch
>
>
> The test fails on Windows.  This may be related to code ported in to DF.java from branch-1-win.

--
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-8974) TestDFVariations fails on Windows

Posted by "Ivan Mitic (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491145#comment-13491145 ] 

Ivan Mitic commented on HADOOP-8974:
------------------------------------

Thanks Chris for the patch, looks good, +1
                
> TestDFVariations fails on Windows
> ---------------------------------
>
>                 Key: HADOOP-8974
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8974
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 3.0.0, trunk-win
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>         Attachments: HADOOP-8974.patch
>
>
> The test fails on Windows.  This may be related to code ported in to DF.java from branch-1-win.

--
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] (HADOOP-8974) TestDFVariations fails on Windows

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

Chris Nauroth updated HADOOP-8974:
----------------------------------

    Attachment: HADOOP-8974.patch

branch-1-win added code to DF to override the run() method so that it just sets mount to the drive specification on Windows.  TestDFVariations doesn't exist on branch-1-win.  When we merged from branch-1-win, it brought in the DF change, but there was no corresponding fix in TestDFVariations.  This patch provides that test fix.

This patch can start on trunk and then immediately merge to branch-trunk-win.
                
> TestDFVariations fails on Windows
> ---------------------------------
>
>                 Key: HADOOP-8974
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8974
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 3.0.0, trunk-win
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>         Attachments: HADOOP-8974.patch
>
>
> The test fails on Windows.  This may be related to code ported in to DF.java from branch-1-win.

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