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 "He Xiaoqiao (JIRA)" <ji...@apache.org> on 2019/06/27 14:03:00 UTC

[jira] [Commented] (HDFS-14604) OEV tool fails to read edit xml file if OP_TRUNCATE has BLOCK tag

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

He Xiaoqiao commented on HDFS-14604:
------------------------------------

Thanks [~huowang] for your report. I meet issue recently which is very similar to above. But I do not trace it anymore, Could you attach patch to fix it. If need any help, please ping me at any time.
Another side, could you translate to English, It's OK for me however there are also many guys are not very familiar with Chinese.
Thanks again.

> OEV tool fails to read edit xml file if OP_TRUNCATE has  BLOCK tag
> ------------------------------------------------------------------
>
>                 Key: HDFS-14604
>                 URL: https://issues.apache.org/jira/browse/HDFS-14604
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: tools
>    Affects Versions: 3.0.2, 3.1.1, 2.9.2, 3.1.2
>            Reporter: huowang
>            Priority: Major
>              Labels: patch
>         Attachments: image-2019-06-25-14-56-53-151.png, image-2019-06-25-14-58-39-681.png
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
>     使用 HDFS OEV 命令处理 edits 文件,从xml格式的文件转成成binary格式的文件的时候,当xml文件中存在 OP_TRUNCATE 操作并且含有子 BLOCK的时候报错 
>     我追踪了源码发现 blockFromXml 方法需要的是一个block 对象但是被传递的是一个 data对象,我已经解决了这个问题,并且验证了可用性,
>     !image-2019-06-25-14-56-53-151.png!
> !image-2019-06-25-14-58-39-681.png!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org