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

Akira Ajisaka commented on HDFS-16001:
--------------------------------------

I think we have to update the edits version in editsStored and editsStored.xml 
after HDFS-15566
https://github.com/apache/hadoop/blob/300505c56277982ea4369dce1a2b323b4822fe47/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/editsStored.xml#L3

> TestOfflineEditsViewer.testStored() fails reading negative value of 
> FSEditLogOpCodes
> ------------------------------------------------------------------------------------
>
>                 Key: HDFS-16001
>                 URL: https://issues.apache.org/jira/browse/HDFS-16001
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs
>            Reporter: Konstantin Shvachko
>            Priority: Major
>
> {{TestOfflineEditsViewer.testStored()}} fails consistently with an exception
> {noformat}
> java.io.IOException: Op -54 has size -1314247195, but the minimum op size is 
> 17
> {noformat}
> Seems like there is a corrupt record in {{editsStored}} file.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to