hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weiwei Yang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12503) Ozone: some UX improvements to oz_debug
Date Wed, 20 Sep 2017 23:19:00 GMT

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

Weiwei Yang commented on HDFS-12503:
------------------------------------

Hi [~vagarychen] when you get a chance, could you help to review this patch? Thanks a lot.

> Ozone: some UX improvements to oz_debug
> ---------------------------------------
>
>                 Key: HDFS-12503
>                 URL: https://issues.apache.org/jira/browse/HDFS-12503
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>            Reporter: Weiwei Yang
>            Assignee: Weiwei Yang
>         Attachments: HDFS-12503-HDFS-7240.001.patch, HDFS-12503-HDFS-7240.002.patch
>
>
> I tried to use {{oz_debug}} to dump KSM DB for offline analysis, found a few problems
need to be fixed in order to make this tool easier to use. I know this is a debug tool for
admins, but it's still necessary to improve the UX so new users (like me) can figure out how
to use it without reading more docs.
> # Support *--help* argument. --help is the general arg for all hdfs scripts to print
usage.
> # When specify output path {{-o}}, we need to add a description to let user know the
path needs to be a file (instead of a dir). If the path is specified as a dir, it will end
up with a funny error {{unable to open the database file (out of memory)}}, which is pretty
misleading. And it will be helpful to add a check to make sure the specified path is not an
existing dir.
> # SQLCLI currently swallows exception
> # We should remove {{levelDB}} words from the command output as we are by default using
rocksDB



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message