hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-1170) Add more assertions to TestLargeDirectoryDelete
Date Mon, 24 May 2010 11:08:23 GMT

    [ https://issues.apache.org/jira/browse/HDFS-1170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12870570#action_12870570
] 

Steve Loughran commented on HDFS-1170:
--------------------------------------

test failures don't appear related, but something is up on hudson as in't parsing a config
file with the usual JDK helpful error messages:

{code}
org.apache.hadoop.hdfs.TestDatanodeBlockScanner.testTruncatedBlockReport (from TestDatanodeBlockScanner)
Failing for the past 1 build (Since Failed#373 )
Took 2 ms.
add description
Error Message

java.util.zip.ZipException: error reading zip file

Stacktrace

java.lang.RuntimeException: java.util.zip.ZipException: error reading zip file
at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1509)
at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1374)
at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1320)
at org.apache.hadoop.conf.Configuration.set(Configuration.java:573)
at org.apache.hadoop.fs.FileSystem.setDefaultUri(FileSystem.java:143)
at org.apache.hadoop.fs.FileSystem.setDefaultUri(FileSystem.java:151)
at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:280)
at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:138)
at org.apache.hadoop.hdfs.TestDatanodeBlockScanner.testTruncatedBlockReport(TestDatanodeBlockScanner.java:388)
Caused by: java.util.zip.ZipException: error reading zip file
at java.util.zip.ZipFile.read(Native Method)
at java.util.zip.ZipFile.access$1200(ZipFile.java:29)
at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:447)
at java.util.zip.ZipFile$1.fill(ZipFile.java:230)
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:141)
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:105)
at java.io.FilterInputStream.read(FilterInputStream.java:66)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager$RewindableInputStream.read(XMLEntityManager.java:2910)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:704)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:186)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:225)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:180)
at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1423)
{code}


> Add more assertions to TestLargeDirectoryDelete
> -----------------------------------------------
>
>                 Key: HDFS-1170
>                 URL: https://issues.apache.org/jira/browse/HDFS-1170
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Minor
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1170.patch
>
>
> This issue is for a patch which will only add some more asserts to the TestLargeDirectoryDelete
test case, to help identify the causes of HDFS-615 and HDFS-816.
> Proposed
> # split the chained operations into one per line for better stack trace diagnostics
> # add {{assertNotNull}} assertions for better diagnostics. 

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


Mime
View raw message