[
https://issues.apache.org/jira/browse/HDFS-11698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16450640#comment-16450640
]
Hudson commented on HDFS-11698:
-------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14057 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/14057/])
HDFS-11698. Ozone: SCM: CLI: Add Debug command. Contributed by Chen (aengineer:
rev a704a2475796ba22d6d629089a6fafc2c924a390)
* (add)
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/scm/cli/SQLCLI.java
* (add)
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/ozone/scm/TestContainerSQLCli.java
* (edit) hadoop-hdfs-project/hadoop-hdfs/pom.xml
> Ozone: SCM: CLI: Add Debug command
> -----------------------------------
>
> Key: HDFS-11698
> URL: https://issues.apache.org/jira/browse/HDFS-11698
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ozone
> Affects Versions: HDFS-7240
> Reporter: Anu Engineer
> Assignee: Chen Liang
> Priority: Major
> Fix For: HDFS-7240
>
> Attachments: HDFS-11698-HDFS-7240.001.patch,
> HDFS-11698-HDFS-7240.002.patch, HDFS-11698-HDFS-7240.003.patch
>
>
> This is not discussed as part of the standard command line set, since these
> are internal debug only commands.
> We have levelDB that stores key, value pairs and value is always binary
> blobs. These binary blobs can only be decoded using protobuf classes that are
> part of ozone.
> We would like to add an extension to SCM CLI which allows us to convert
> levelDB to SQLlite, since SQLlite would have structured data and standard SQL
> will work against it.
> The reason to use SQLlite instead of some dump file like json is the scale,
> it is possible that some levelDB files will have millions of keys, so having
> an SQL DB with proper index will make debugging much easier.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]