[ https://issues.apache.org/jira/browse/HDFS-12503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16178040#comment-16178040 ]
Weiwei Yang commented on HDFS-12503: ------------------------------------ The UT failures were not related, I am going to commit this shortly. > 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, HDFS-12503-HDFS-7240.003.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-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org