You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2010/11/15 16:59:14 UTC

[jira] Created: (HDFS-1500) TestOfflineImageViewer failing on trunk

TestOfflineImageViewer failing on trunk
---------------------------------------

                 Key: HDFS-1500
                 URL: https://issues.apache.org/jira/browse/HDFS-1500
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: test, tools
    Affects Versions: 0.22.0
            Reporter: Todd Lipcon


Testcase: testOIV took 22.679 sec
	FAILED
Failed reading valid file: No image processor to read version -26 is available.
junit.framework.AssertionFailedError: Failed reading valid file: No image processor to read version -26 is available.
	at org.apache.hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer.outputOfLSVisitor(TestOfflineImageViewer.java:171)
	at org.apache.hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer.testOIV(TestOfflineImageViewer.java:86)


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


[jira] Commented: (HDFS-1500) TestOfflineImageViewer failing on trunk

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932308#action_12932308 ] 

Todd Lipcon commented on HDFS-1500:
-----------------------------------

Apologies about not calling that out, Jakob.

The fail() statements were actually counterproductive as I was debugging the test. The issue is that appending exception.toString() ends up obscuring the stack trace of any failure. Without the catch/fail, you can still always see which function the exception came from, so you don't lose anything.

> TestOfflineImageViewer failing on trunk
> ---------------------------------------
>
>                 Key: HDFS-1500
>                 URL: https://issues.apache.org/jira/browse/HDFS-1500
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test, tools
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hdfs-1500.txt
>
>
> Testcase: testOIV took 22.679 sec
> 	FAILED
> Failed reading valid file: No image processor to read version -26 is available.
> junit.framework.AssertionFailedError: Failed reading valid file: No image processor to read version -26 is available.
> 	at org.apache.hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer.outputOfLSVisitor(TestOfflineImageViewer.java:171)
> 	at org.apache.hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer.testOIV(TestOfflineImageViewer.java:86)

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


[jira] [Updated] (HDFS-1500) TestOfflineImageViewer failing on trunk

Posted by "Konstantin Shvachko (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Shvachko updated HDFS-1500:
--------------------------------------

    Fix Version/s: 0.22.0
    
> TestOfflineImageViewer failing on trunk
> ---------------------------------------
>
>                 Key: HDFS-1500
>                 URL: https://issues.apache.org/jira/browse/HDFS-1500
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test, tools
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.22.0
>
>         Attachments: hdfs-1500.txt
>
>
> Testcase: testOIV took 22.679 sec
> 	FAILED
> Failed reading valid file: No image processor to read version -26 is available.
> junit.framework.AssertionFailedError: Failed reading valid file: No image processor to read version -26 is available.
> 	at org.apache.hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer.outputOfLSVisitor(TestOfflineImageViewer.java:171)
> 	at org.apache.hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer.testOIV(TestOfflineImageViewer.java:86)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HDFS-1500) TestOfflineImageViewer failing on trunk

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

Todd Lipcon updated HDFS-1500:
------------------------------

    Attachment: hdfs-1500.txt

Looks like we just forgot to update OIV's loadable image versions in HDFS-903

> TestOfflineImageViewer failing on trunk
> ---------------------------------------
>
>                 Key: HDFS-1500
>                 URL: https://issues.apache.org/jira/browse/HDFS-1500
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test, tools
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>         Attachments: hdfs-1500.txt
>
>
> Testcase: testOIV took 22.679 sec
> 	FAILED
> Failed reading valid file: No image processor to read version -26 is available.
> junit.framework.AssertionFailedError: Failed reading valid file: No image processor to read version -26 is available.
> 	at org.apache.hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer.outputOfLSVisitor(TestOfflineImageViewer.java:171)
> 	at org.apache.hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer.testOIV(TestOfflineImageViewer.java:86)

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


[jira] Commented: (HDFS-1500) TestOfflineImageViewer failing on trunk

Posted by "Jakob Homan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932310#action_12932310 ] 

Jakob Homan commented on HDFS-1500:
-----------------------------------

That's reasonable.  Since patches to fix failing tests are generally committed quickly, without much time for community input, in the future it will be best to save improvements to those tests for subsequent JIRAs, where the community can get a chance to see the changes.  This applies for even relatively small changes.

> TestOfflineImageViewer failing on trunk
> ---------------------------------------
>
>                 Key: HDFS-1500
>                 URL: https://issues.apache.org/jira/browse/HDFS-1500
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test, tools
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hdfs-1500.txt
>
>
> Testcase: testOIV took 22.679 sec
> 	FAILED
> Failed reading valid file: No image processor to read version -26 is available.
> junit.framework.AssertionFailedError: Failed reading valid file: No image processor to read version -26 is available.
> 	at org.apache.hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer.outputOfLSVisitor(TestOfflineImageViewer.java:171)
> 	at org.apache.hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer.testOIV(TestOfflineImageViewer.java:86)

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


[jira] Commented: (HDFS-1500) TestOfflineImageViewer failing on trunk

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932377#action_12932377 ] 

Hairong Kuang commented on HDFS-1500:
-------------------------------------

> The fail() statements were actually counterproductive as I was debugging the test. 

I had the same problem when I debugged TestOfflineImage while working on some other image-related jiras. So  I thought that was good change and committed it without raising any question.

> TestOfflineImageViewer failing on trunk
> ---------------------------------------
>
>                 Key: HDFS-1500
>                 URL: https://issues.apache.org/jira/browse/HDFS-1500
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test, tools
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hdfs-1500.txt
>
>
> Testcase: testOIV took 22.679 sec
> 	FAILED
> Failed reading valid file: No image processor to read version -26 is available.
> junit.framework.AssertionFailedError: Failed reading valid file: No image processor to read version -26 is available.
> 	at org.apache.hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer.outputOfLSVisitor(TestOfflineImageViewer.java:171)
> 	at org.apache.hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer.testOIV(TestOfflineImageViewer.java:86)

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


[jira] Commented: (HDFS-1500) TestOfflineImageViewer failing on trunk

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932139#action_12932139 ] 

Hairong Kuang commented on HDFS-1500:
-------------------------------------

The patch is trivial and the failed test passed with the patch:
    [junit] Running org.apache.hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 7.252 sec

> TestOfflineImageViewer failing on trunk
> ---------------------------------------
>
>                 Key: HDFS-1500
>                 URL: https://issues.apache.org/jira/browse/HDFS-1500
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test, tools
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hdfs-1500.txt
>
>
> Testcase: testOIV took 22.679 sec
> 	FAILED
> Failed reading valid file: No image processor to read version -26 is available.
> junit.framework.AssertionFailedError: Failed reading valid file: No image processor to read version -26 is available.
> 	at org.apache.hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer.outputOfLSVisitor(TestOfflineImageViewer.java:171)
> 	at org.apache.hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer.testOIV(TestOfflineImageViewer.java:86)

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


[jira] Commented: (HDFS-1500) TestOfflineImageViewer failing on trunk

Posted by "Jakob Homan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932307#action_12932307 ] 

Jakob Homan commented on HDFS-1500:
-----------------------------------

Why was the one-line needed to correct the test failure not the entirety of this patch?   The extra changes made to the tests were out of the scope of the JIRA, which got opened and resolved in an hour.  By moving the fail statements out of the individual sub-tests, it is now more difficult to see which sub-test failed.  Had this been called out as being part of this patch, I would have raised concerns about this change.

> TestOfflineImageViewer failing on trunk
> ---------------------------------------
>
>                 Key: HDFS-1500
>                 URL: https://issues.apache.org/jira/browse/HDFS-1500
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test, tools
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hdfs-1500.txt
>
>
> Testcase: testOIV took 22.679 sec
> 	FAILED
> Failed reading valid file: No image processor to read version -26 is available.
> junit.framework.AssertionFailedError: Failed reading valid file: No image processor to read version -26 is available.
> 	at org.apache.hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer.outputOfLSVisitor(TestOfflineImageViewer.java:171)
> 	at org.apache.hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer.testOIV(TestOfflineImageViewer.java:86)

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


[jira] Assigned: (HDFS-1500) TestOfflineImageViewer failing on trunk

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

Todd Lipcon reassigned HDFS-1500:
---------------------------------

    Assignee: Todd Lipcon

> TestOfflineImageViewer failing on trunk
> ---------------------------------------
>
>                 Key: HDFS-1500
>                 URL: https://issues.apache.org/jira/browse/HDFS-1500
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test, tools
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hdfs-1500.txt
>
>
> Testcase: testOIV took 22.679 sec
> 	FAILED
> Failed reading valid file: No image processor to read version -26 is available.
> junit.framework.AssertionFailedError: Failed reading valid file: No image processor to read version -26 is available.
> 	at org.apache.hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer.outputOfLSVisitor(TestOfflineImageViewer.java:171)
> 	at org.apache.hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer.testOIV(TestOfflineImageViewer.java:86)

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


[jira] Updated: (HDFS-1500) TestOfflineImageViewer failing on trunk

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

Todd Lipcon updated HDFS-1500:
------------------------------

    Status: Patch Available  (was: Open)

> TestOfflineImageViewer failing on trunk
> ---------------------------------------
>
>                 Key: HDFS-1500
>                 URL: https://issues.apache.org/jira/browse/HDFS-1500
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test, tools
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hdfs-1500.txt
>
>
> Testcase: testOIV took 22.679 sec
> 	FAILED
> Failed reading valid file: No image processor to read version -26 is available.
> junit.framework.AssertionFailedError: Failed reading valid file: No image processor to read version -26 is available.
> 	at org.apache.hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer.outputOfLSVisitor(TestOfflineImageViewer.java:171)
> 	at org.apache.hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer.testOIV(TestOfflineImageViewer.java:86)

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


[jira] Updated: (HDFS-1500) TestOfflineImageViewer failing on trunk

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

Hairong Kuang updated HDFS-1500:
--------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

I've just committed this!

> TestOfflineImageViewer failing on trunk
> ---------------------------------------
>
>                 Key: HDFS-1500
>                 URL: https://issues.apache.org/jira/browse/HDFS-1500
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test, tools
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hdfs-1500.txt
>
>
> Testcase: testOIV took 22.679 sec
> 	FAILED
> Failed reading valid file: No image processor to read version -26 is available.
> junit.framework.AssertionFailedError: Failed reading valid file: No image processor to read version -26 is available.
> 	at org.apache.hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer.outputOfLSVisitor(TestOfflineImageViewer.java:171)
> 	at org.apache.hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer.testOIV(TestOfflineImageViewer.java:86)

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


[jira] Commented: (HDFS-1500) TestOfflineImageViewer failing on trunk

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932133#action_12932133 ] 

Hairong Kuang commented on HDFS-1500:
-------------------------------------

+1. Thanks Todd! I did a lousy checkin of HDFS-903.

> TestOfflineImageViewer failing on trunk
> ---------------------------------------
>
>                 Key: HDFS-1500
>                 URL: https://issues.apache.org/jira/browse/HDFS-1500
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test, tools
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hdfs-1500.txt
>
>
> Testcase: testOIV took 22.679 sec
> 	FAILED
> Failed reading valid file: No image processor to read version -26 is available.
> junit.framework.AssertionFailedError: Failed reading valid file: No image processor to read version -26 is available.
> 	at org.apache.hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer.outputOfLSVisitor(TestOfflineImageViewer.java:171)
> 	at org.apache.hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer.testOIV(TestOfflineImageViewer.java:86)

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