[jira] [Commented] (HDFS-12503) Ozone: some UX improvements to oz_debug

2018-04-26 Thread Hudson (JIRA)

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

Hudson commented on HDFS-12503:
---

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14070 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/14070/])
HDFS-12503. Ozone: some UX improvements to oz_debug. Contributed by (omalley: 
rev 46b65ec4fbb22cc13fb1cde0781463c1c9a50596)
* (edit) 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/scm/cli/SQLCLI.java


> 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
>Priority: Major
> Fix For: HDFS-7240
>
> 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
(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



[jira] [Commented] (HDFS-12503) Ozone: some UX improvements to oz_debug

2018-04-24 Thread Hudson (JIRA)

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

Hudson commented on HDFS-12503:
---

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14057 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/14057/])
HDFS-12503. Ozone: some UX improvements to oz_debug. Contributed by (wwei: rev 
97ff55eab1c20c1266075c6a7505b5cf3098bfff)
* (edit) 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/scm/cli/SQLCLI.java


> 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
>Priority: Major
> Fix For: HDFS-7240
>
> 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
(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



[jira] [Commented] (HDFS-12503) Ozone: some UX improvements to oz_debug

2017-09-23 Thread Weiwei Yang (JIRA)

[ 
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



[jira] [Commented] (HDFS-12503) Ozone: some UX improvements to oz_debug

2017-09-23 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on HDFS-12503:
--

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m 
16s{color} | {color:blue} Docker mode activated. {color} |
|| || || || {color:brown} Prechecks {color} ||
| {color:green}+1{color} | {color:green} @author {color} | {color:green}  0m  
0s{color} | {color:green} The patch does not contain any @author tags. {color} |
| {color:red}-1{color} | {color:red} test4tests {color} | {color:red}  0m  
0s{color} | {color:red} The patch doesn't appear to include any new or modified 
tests. Please justify why no new tests are needed for this patch. Also please 
list what manual steps were performed to verify this patch. {color} |
|| || || || {color:brown} HDFS-7240 Compile Tests {color} ||
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 19m 
48s{color} | {color:green} HDFS-7240 passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  1m 
17s{color} | {color:green} HDFS-7240 passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green}  0m 
47s{color} | {color:green} HDFS-7240 passed {color} |
| {color:green}+1{color} | {color:green} mvnsite {color} | {color:green}  1m 
16s{color} | {color:green} HDFS-7240 passed {color} |
| {color:green}+1{color} | {color:green} findbugs {color} | {color:green}  2m 
29s{color} | {color:green} HDFS-7240 passed {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  1m  
7s{color} | {color:green} HDFS-7240 passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  1m 
10s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  1m  
2s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green}  1m  
2s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green}  0m 
42s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} mvnsite {color} | {color:green}  1m 
18s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} whitespace {color} | {color:green}  0m 
 0s{color} | {color:green} The patch has no whitespace issues. {color} |
| {color:green}+1{color} | {color:green} findbugs {color} | {color:green}  2m 
50s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  1m  
1s{color} | {color:green} the patch passed {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:red}-1{color} | {color:red} unit {color} | {color:red}100m 51s{color} 
| {color:red} hadoop-hdfs in the patch failed. {color} |
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green}  0m 
22s{color} | {color:green} The patch does not generate ASF License warnings. 
{color} |
| {color:black}{color} | {color:black} {color} | {color:black}137m 54s{color} | 
{color:black} {color} |
\\
\\
|| Reason || Tests ||
| Failed junit tests | 
hadoop.hdfs.server.blockmanagement.TestUnderReplicatedBlocks |
|   | hadoop.ozone.scm.TestAllocateContainer |
|   | hadoop.ozone.scm.TestXceiverClientManager |
\\
\\
|| Subsystem || Report/Notes ||
| Docker |  Image:yetus/hadoop:71bbb86 |
| JIRA Issue | HDFS-12503 |
| JIRA Patch URL | 
https://issues.apache.org/jira/secure/attachment/12888714/HDFS-12503-HDFS-7240.003.patch
 |
| Optional Tests |  asflicense  compile  javac  javadoc  mvninstall  mvnsite  
unit  findbugs  checkstyle  |
| uname | Linux 5b489e5923c2 3.13.0-123-generic #172-Ubuntu SMP Mon Jun 26 
18:04:35 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | /testptch/hadoop/patchprocess/precommit/personality/provided.sh 
|
| git revision | HDFS-7240 / 16dd69a |
| Default Java | 1.8.0_144 |
| findbugs | v3.1.0-RC1 |
| unit | 
https://builds.apache.org/job/PreCommit-HDFS-Build/21324/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
 |
|  Test Results | 
https://builds.apache.org/job/PreCommit-HDFS-Build/21324/testReport/ |
| modules | C: hadoop-hdfs-project/hadoop-hdfs U: 
hadoop-hdfs-project/hadoop-hdfs |
| Console output | 
https://builds.apache.org/job/PreCommit-HDFS-Build/21324/console |
| Powered by | Apache Yetus 0.6.0-SNAPSHOT   http://yetus.apache.org |


This message was automatically generated.



> Ozone: some UX improvements to oz_debug
> ---
>
> Key: HDFS-12503
> URL: https://issues.apache.org/ji

[jira] [Commented] (HDFS-12503) Ozone: some UX improvements to oz_debug

2017-09-23 Thread Weiwei Yang (JIRA)

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

Weiwei Yang commented on HDFS-12503:


Thanks [~vagarychen] for the review, I am re-uploading the patch in order to 
trigger the jenkins job.

> 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDFS-12503) Ozone: some UX improvements to oz_debug

2017-09-22 Thread Chen Liang (JIRA)

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

Chen Liang commented on HDFS-12503:
---

Thanks [~cheersyang] for filing this! v002 patch LGTM, pending jenkins.

> 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDFS-12503) Ozone: some UX improvements to oz_debug

2017-09-20 Thread Weiwei Yang (JIRA)

[ 
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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDFS-12503) Ozone: some UX improvements to oz_debug

2017-09-20 Thread Weiwei Yang (JIRA)

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

Weiwei Yang commented on HDFS-12503:


With this patch, now user could get more help message while using the tool,

{code}
bin/hdfs oz_debug --help
usage: hdfs oz_debug -p  -o 
 -h,--helpdisplay help message
 -o,--outPathspecify output DB file path
 -p,--dbPath specify DB path
{code}

Also modified description of {{outPath}} to make it more accurate, I have also 
added a check to make sure {{outPath}} is valid. Please kindly review, thanks.

> 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDFS-12503) Ozone: some UX improvements to oz_debug

2017-09-20 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on HDFS-12503:
--

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m 
19s{color} | {color:blue} Docker mode activated. {color} |
|| || || || {color:brown} Prechecks {color} ||
| {color:green}+1{color} | {color:green} @author {color} | {color:green}  0m  
0s{color} | {color:green} The patch does not contain any @author tags. {color} |
| {color:red}-1{color} | {color:red} test4tests {color} | {color:red}  0m  
0s{color} | {color:red} The patch doesn't appear to include any new or modified 
tests. Please justify why no new tests are needed for this patch. Also please 
list what manual steps were performed to verify this patch. {color} |
|| || || || {color:brown} HDFS-7240 Compile Tests {color} ||
| {color:red}-1{color} | {color:red} mvninstall {color} | {color:red} 18m  
1s{color} | {color:red} root in HDFS-7240 failed. {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  0m 
57s{color} | {color:green} HDFS-7240 passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green}  0m 
40s{color} | {color:green} HDFS-7240 passed {color} |
| {color:green}+1{color} | {color:green} mvnsite {color} | {color:green}  1m  
3s{color} | {color:green} HDFS-7240 passed {color} |
| {color:green}+1{color} | {color:green} findbugs {color} | {color:green}  1m 
59s{color} | {color:green} HDFS-7240 passed {color} |
| {color:red}-1{color} | {color:red} javadoc {color} | {color:red}  0m 
55s{color} | {color:red} hadoop-hdfs in HDFS-7240 failed. {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  1m 
 3s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  1m  
0s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green}  1m  
0s{color} | {color:green} the patch passed {color} |
| {color:orange}-0{color} | {color:orange} checkstyle {color} | {color:orange}  
0m 45s{color} | {color:orange} hadoop-hdfs-project/hadoop-hdfs: The patch 
generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0) {color} |
| {color:green}+1{color} | {color:green} mvnsite {color} | {color:green}  1m 
14s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} whitespace {color} | {color:green}  0m 
 0s{color} | {color:green} The patch has no whitespace issues. {color} |
| {color:green}+1{color} | {color:green} findbugs {color} | {color:green}  2m 
29s{color} | {color:green} the patch passed {color} |
| {color:red}-1{color} | {color:red} javadoc {color} | {color:red}  0m 
44s{color} | {color:red} hadoop-hdfs in the patch failed. {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:red}-1{color} | {color:red} unit {color} | {color:red} 94m 12s{color} 
| {color:red} hadoop-hdfs in the patch failed. {color} |
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green}  0m 
19s{color} | {color:green} The patch does not generate ASF License warnings. 
{color} |
| {color:black}{color} | {color:black} {color} | {color:black}127m 17s{color} | 
{color:black} {color} |
\\
\\
|| Reason || Tests ||
| Failed junit tests | hadoop.hdfs.server.namenode.ha.TestPipelinesFailover |
\\
\\
|| Subsystem || Report/Notes ||
| Docker |  Image:yetus/hadoop:71bbb86 |
| JIRA Issue | HDFS-12503 |
| JIRA Patch URL | 
https://issues.apache.org/jira/secure/attachment/12888065/HDFS-12503-HDFS-7240.001.patch
 |
| Optional Tests |  asflicense  compile  javac  javadoc  mvninstall  mvnsite  
unit  findbugs  checkstyle  |
| uname | Linux 1666982ca8e7 3.13.0-123-generic #172-Ubuntu SMP Mon Jun 26 
18:04:35 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | /testptch/hadoop/patchprocess/precommit/personality/provided.sh 
|
| git revision | HDFS-7240 / 2a94ce9 |
| Default Java | 1.8.0_144 |
| mvninstall | 
https://builds.apache.org/job/PreCommit-HDFS-Build/21241/artifact/patchprocess/branch-mvninstall-root.txt
 |
| findbugs | v3.1.0-RC1 |
| javadoc | 
https://builds.apache.org/job/PreCommit-HDFS-Build/21241/artifact/patchprocess/branch-javadoc-hadoop-hdfs-project_hadoop-hdfs.txt
 |
| checkstyle | 
https://builds.apache.org/job/PreCommit-HDFS-Build/21241/artifact/patchprocess/diff-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
 |
| javadoc | 
https://builds.apache.org/job/PreCommit-HDFS-Build/21241/artifact/patchprocess/patch-javadoc-hadoop-hdfs-project_hadoop-hdfs.txt
 |
| unit | 
https://builds.apache.org/job/PreCommit-HDFS-Build/21241/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hado

[jira] [Commented] (HDFS-12503) Ozone: some UX improvements to oz_debug

2017-09-19 Thread Weiwei Yang (JIRA)

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

Weiwei Yang commented on HDFS-12503:


Since I have made most of changes during debugging this issue, I assigned this 
to myself and will post a patch soon.

> 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
>
> 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