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

Andrew Wang commented on HDFS-8306:
-----------------------------------

I had a thought about testing. TestOfflineEditsViewer / 
DFSTestUtil#runOperations generates some edit operations and tests that they 
are correctly written, compared to a checked in edit log. We can do something 
similar for this tool to make sure nothing is missing, though we might want to 
more vigorously exercise some of the operations.

I also thought we had some asserts somewhere that checked all the edit log ops 
were covered, but I can't find that anymore. Seems like something we could do.

> Generate ACL and Xattr outputs in OIV XML outputs
> -------------------------------------------------
>
>                 Key: HDFS-8306
>                 URL: https://issues.apache.org/jira/browse/HDFS-8306
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode
>    Affects Versions: 2.7.0
>            Reporter: Lei (Eddy) Xu
>            Assignee: Lei (Eddy) Xu
>            Priority: Minor
>         Attachments: HDFS-8306.000.patch, HDFS-8306.001.patch
>
>
> Currently, in the {{hdfs oiv}} XML outputs, not all fields of fsimage are 
> outputs. It makes inspecting {{fsimage}} from XML outputs less practical. 
> Also it prevents recovering a fsimage from XML file.
> This JIRA is adding ACL and XAttrs in the XML outputs as the first step to 
> achieve the goal described in HDFS-8061.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to