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

Elek, Marton commented on HDDS-1000:
------------------------------------

The earlier implementation for something like this is 
hadoop/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/scm/cli/SQLCLI.java,
 but I am almost sure that it doesn't work any more (it generated sql script 
instead of yam)

And one related issue is HDDS-748. With this Jira it's possible to define the 
encode/decode logic for rocksdb in separated class, so any tool and the server 
side can share the logic (this is not yet adopted on the datanode side)

Just for the context: We also checked that 
[https://calcite.apache.org/|https://calcite.apache.org/it] could be one option 
to provide similar functionality as the SQLCLI (especially together with the 
codecs) but I assume that this Jira can be implemented in a more simple way.

> Write a tool to dump DataNode RocksDB in human-readable format
> --------------------------------------------------------------
>
>                 Key: HDDS-1000
>                 URL: https://issues.apache.org/jira/browse/HDDS-1000
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>            Reporter: Arpit Agarwal
>            Assignee: Supratim Deka
>            Priority: Major
>
> It would be good to have a command-line tool that can dump the contents of a 
> DataNode RocksDB file in human-readable format e.g. YAML.



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

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

Reply via email to