[jira] [Commented] (HBASE-20282) Provide short name invocations for useful tools

2018-04-08 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-20282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16430057#comment-16430057
 ] 

Hudson commented on HBASE-20282:


Results for branch HBASE-19064
[build #90 on 
builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/HBASE-19064/90/]: 
(x) *{color:red}-1 overall{color}*

details (if available):

(x) {color:red}-1 general checks{color}
-- For more information [see general 
report|https://builds.apache.org/job/HBase%20Nightly/job/HBASE-19064/90//General_Nightly_Build_Report/]




(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2) 
report|https://builds.apache.org/job/HBase%20Nightly/job/HBASE-19064/90//JDK8_Nightly_Build_Report_(Hadoop2)/]


(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) 
report|https://builds.apache.org/job/HBase%20Nightly/job/HBASE-19064/90//JDK8_Nightly_Build_Report_(Hadoop3)/]


(/) {color:green}+1 source release artifact{color}
-- See build output for details.


> Provide short name invocations for useful tools
> ---
>
> Key: HBASE-20282
> URL: https://issues.apache.org/jira/browse/HBASE-20282
> Project: HBase
>  Issue Type: Bug
>  Components: documentation, tooling
>Reporter: Mike Drob
>Assignee: Mike Drob
>Priority: Major
>  Labels: beginner
> Fix For: 2.0.0
>
> Attachments: HBASE-20282.patch, HBASE-20282.v2.patch, 
> HBASE-20282.v3.patch
>
>
> We have some tooling that can be made more friendly.
> {{bin/hbase ltt}} with no arguments should print usage instead of a stack 
> trace.
> {{bin/hbase canary}} usage should refer to itself as {{canary}} not 
> {{o.a.h.h.tool.Canary}}
> {{bin/hbase org.apache.hadoop.hbase.util.RegionSplitter}} should be shortened 
> to {{bin/hbase regionsplitter}}. Usage should be updated to reflect the short 
> name.
> The fix here MUST also include updates to the book/documentation for the 
> tools.



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


[jira] [Commented] (HBASE-20282) Provide short name invocations for useful tools

2018-03-31 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-20282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16421306#comment-16421306
 ] 

Hudson commented on HBASE-20282:


Results for branch master
[build #279 on 
builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/master/279/]: (x) 
*{color:red}-1 overall{color}*

details (if available):

(/) {color:green}+1 general checks{color}
-- For more information [see general 
report|https://builds.apache.org/job/HBase%20Nightly/job/master/279//General_Nightly_Build_Report/]




(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2) 
report|https://builds.apache.org/job/HBase%20Nightly/job/master/279//JDK8_Nightly_Build_Report_(Hadoop2)/]


(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) 
report|https://builds.apache.org/job/HBase%20Nightly/job/master/279//JDK8_Nightly_Build_Report_(Hadoop3)/]


(/) {color:green}+1 source release artifact{color}
-- See build output for details.


> Provide short name invocations for useful tools
> ---
>
> Key: HBASE-20282
> URL: https://issues.apache.org/jira/browse/HBASE-20282
> Project: HBase
>  Issue Type: Bug
>  Components: documentation, tooling
>Reporter: Mike Drob
>Assignee: Mike Drob
>Priority: Major
>  Labels: beginner
> Fix For: 2.0.0
>
> Attachments: HBASE-20282.patch, HBASE-20282.v2.patch, 
> HBASE-20282.v3.patch
>
>
> We have some tooling that can be made more friendly.
> {{bin/hbase ltt}} with no arguments should print usage instead of a stack 
> trace.
> {{bin/hbase canary}} usage should refer to itself as {{canary}} not 
> {{o.a.h.h.tool.Canary}}
> {{bin/hbase org.apache.hadoop.hbase.util.RegionSplitter}} should be shortened 
> to {{bin/hbase regionsplitter}}. Usage should be updated to reflect the short 
> name.
> The fix here MUST also include updates to the book/documentation for the 
> tools.



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


[jira] [Commented] (HBASE-20282) Provide short name invocations for useful tools

2018-03-30 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-20282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16421027#comment-16421027
 ] 

Hudson commented on HBASE-20282:


Results for branch branch-2.0
[build #110 on 
builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.0/110/]: 
(x) *{color:red}-1 overall{color}*

details (if available):

(/) {color:green}+1 general checks{color}
-- For more information [see general 
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.0/110//General_Nightly_Build_Report/]




(/) {color:green}+1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2) 
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.0/110//JDK8_Nightly_Build_Report_(Hadoop2)/]


(/) {color:green}+1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) 
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.0/110//JDK8_Nightly_Build_Report_(Hadoop3)/]


(/) {color:green}+1 source release artifact{color}
-- See build output for details.


> Provide short name invocations for useful tools
> ---
>
> Key: HBASE-20282
> URL: https://issues.apache.org/jira/browse/HBASE-20282
> Project: HBase
>  Issue Type: Bug
>  Components: documentation, tooling
>Reporter: Mike Drob
>Assignee: Mike Drob
>Priority: Major
>  Labels: beginner
> Fix For: 2.0.0
>
> Attachments: HBASE-20282.patch, HBASE-20282.v2.patch, 
> HBASE-20282.v3.patch
>
>
> We have some tooling that can be made more friendly.
> {{bin/hbase ltt}} with no arguments should print usage instead of a stack 
> trace.
> {{bin/hbase canary}} usage should refer to itself as {{canary}} not 
> {{o.a.h.h.tool.Canary}}
> {{bin/hbase org.apache.hadoop.hbase.util.RegionSplitter}} should be shortened 
> to {{bin/hbase regionsplitter}}. Usage should be updated to reflect the short 
> name.
> The fix here MUST also include updates to the book/documentation for the 
> tools.



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


[jira] [Commented] (HBASE-20282) Provide short name invocations for useful tools

2018-03-30 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-20282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16420998#comment-16420998
 ] 

Hudson commented on HBASE-20282:


Results for branch branch-2
[build #550 on 
builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/550/]: 
(x) *{color:red}-1 overall{color}*

details (if available):

(/) {color:green}+1 general checks{color}
-- For more information [see general 
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/550//General_Nightly_Build_Report/]




(/) {color:green}+1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2) 
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/550//JDK8_Nightly_Build_Report_(Hadoop2)/]


(/) {color:green}+1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) 
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/550//JDK8_Nightly_Build_Report_(Hadoop3)/]


(/) {color:green}+1 source release artifact{color}
-- See build output for details.


> Provide short name invocations for useful tools
> ---
>
> Key: HBASE-20282
> URL: https://issues.apache.org/jira/browse/HBASE-20282
> Project: HBase
>  Issue Type: Bug
>  Components: documentation, tooling
>Reporter: Mike Drob
>Assignee: Mike Drob
>Priority: Major
>  Labels: beginner
> Fix For: 2.0.0
>
> Attachments: HBASE-20282.patch, HBASE-20282.v2.patch, 
> HBASE-20282.v3.patch
>
>
> We have some tooling that can be made more friendly.
> {{bin/hbase ltt}} with no arguments should print usage instead of a stack 
> trace.
> {{bin/hbase canary}} usage should refer to itself as {{canary}} not 
> {{o.a.h.h.tool.Canary}}
> {{bin/hbase org.apache.hadoop.hbase.util.RegionSplitter}} should be shortened 
> to {{bin/hbase regionsplitter}}. Usage should be updated to reflect the short 
> name.
> The fix here MUST also include updates to the book/documentation for the 
> tools.



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


[jira] [Commented] (HBASE-20282) Provide short name invocations for useful tools

2018-03-30 Thread stack (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-20282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16420684#comment-16420684
 ] 

stack commented on HBASE-20282:
---

I love it.

> Provide short name invocations for useful tools
> ---
>
> Key: HBASE-20282
> URL: https://issues.apache.org/jira/browse/HBASE-20282
> Project: HBase
>  Issue Type: Bug
>  Components: documentation, tooling
>Reporter: Mike Drob
>Assignee: Mike Drob
>Priority: Major
>  Labels: beginner
> Fix For: 2.0.0
>
> Attachments: HBASE-20282.patch, HBASE-20282.v2.patch, 
> HBASE-20282.v3.patch
>
>
> We have some tooling that can be made more friendly.
> {{bin/hbase ltt}} with no arguments should print usage instead of a stack 
> trace.
> {{bin/hbase canary}} usage should refer to itself as {{canary}} not 
> {{o.a.h.h.tool.Canary}}
> {{bin/hbase org.apache.hadoop.hbase.util.RegionSplitter}} should be shortened 
> to {{bin/hbase regionsplitter}}. Usage should be updated to reflect the short 
> name.
> The fix here MUST also include updates to the book/documentation for the 
> tools.



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


[jira] [Commented] (HBASE-20282) Provide short name invocations for useful tools

2018-03-30 Thread Mike Drob (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-20282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16420646#comment-16420646
 ] 

Mike Drob commented on HBASE-20282:
---

Thanks for reviews, Ted and Peter. Attaching what was pushed.

This went to master, branch-2, and branch-2.0, FYI [~stack]

> Provide short name invocations for useful tools
> ---
>
> Key: HBASE-20282
> URL: https://issues.apache.org/jira/browse/HBASE-20282
> Project: HBase
>  Issue Type: Bug
>  Components: documentation, tooling
>Reporter: Mike Drob
>Assignee: Mike Drob
>Priority: Major
>  Labels: beginner
> Attachments: HBASE-20282.patch, HBASE-20282.v2.patch
>
>
> We have some tooling that can be made more friendly.
> {{bin/hbase ltt}} with no arguments should print usage instead of a stack 
> trace.
> {{bin/hbase canary}} usage should refer to itself as {{canary}} not 
> {{o.a.h.h.tool.Canary}}
> {{bin/hbase org.apache.hadoop.hbase.util.RegionSplitter}} should be shortened 
> to {{bin/hbase regionsplitter}}. Usage should be updated to reflect the short 
> name.
> The fix here MUST also include updates to the book/documentation for the 
> tools.



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


[jira] [Commented] (HBASE-20282) Provide short name invocations for useful tools

2018-03-29 Thread Ted Yu (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-20282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16419763#comment-16419763
 ] 

Ted Yu commented on HBASE-20282:


+1
{code}
+  throw new MissingOptionException(OPT_NUM_KEYS + "must be specified 
in read/write mode.");
{code}
nit: missing space between OPT_NUM_KEYS and the 'must'.
{code}
+SPLITALGORITHM is a java class name of a class implementing
{code}
nit: is a -> is the

> Provide short name invocations for useful tools
> ---
>
> Key: HBASE-20282
> URL: https://issues.apache.org/jira/browse/HBASE-20282
> Project: HBase
>  Issue Type: Bug
>  Components: documentation, tooling
>Reporter: Mike Drob
>Assignee: Mike Drob
>Priority: Major
>  Labels: beginner
> Attachments: HBASE-20282.patch, HBASE-20282.v2.patch
>
>
> We have some tooling that can be made more friendly.
> {{bin/hbase ltt}} with no arguments should print usage instead of a stack 
> trace.
> {{bin/hbase canary}} usage should refer to itself as {{canary}} not 
> {{o.a.h.h.tool.Canary}}
> {{bin/hbase org.apache.hadoop.hbase.util.RegionSplitter}} should be shortened 
> to {{bin/hbase regionsplitter}}. Usage should be updated to reflect the short 
> name.
> The fix here MUST also include updates to the book/documentation for the 
> tools.



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


[jira] [Commented] (HBASE-20282) Provide short name invocations for useful tools

2018-03-29 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-20282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16419672#comment-16419672
 ] 

Hadoop QA commented on HBASE-20282:
---

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m  
9s{color} | {color:blue} Docker mode activated. {color} |
|| || || || {color:brown} Prechecks {color} ||
| {color:blue}0{color} | {color:blue} shelldocs {color} | {color:blue}  0m  
3s{color} | {color:blue} Shelldocs was not available. {color} |
| {color:green}+1{color} | {color:green} hbaseanti {color} | {color:green}  0m  
0s{color} | {color:green} Patch does not have any anti-patterns. {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:green}+1{color} | {color:green} test4tests {color} | {color:green}  0m 
 0s{color} | {color:green} The patch appears to include 1 new or modified test 
files. {color} |
|| || || || {color:brown} master Compile Tests {color} ||
| {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue}  0m 
12s{color} | {color:blue} Maven dependency ordering for branch {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  4m 
51s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  7m 
17s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green}  4m 
22s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} shadedjars {color} | {color:green}  4m 
53s{color} | {color:green} branch has no errors when building our shaded 
downstream artifacts. {color} |
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue}  0m  
0s{color} | {color:blue} Skipped patched modules with no Java source: . {color} 
|
| {color:green}+1{color} | {color:green} findbugs {color} | {color:green}  3m  
1s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  3m 
31s{color} | {color:green} master passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue}  0m 
11s{color} | {color:blue} Maven dependency ordering for patch {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  4m 
32s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  7m  
0s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green}  7m  
0s{color} | {color:green} the patch passed {color} |
| {color:red}-1{color} | {color:red} checkstyle {color} | {color:red}  2m 
29s{color} | {color:red} root: The patch generated 1 new + 50 unchanged - 1 
fixed = 51 total (was 51) {color} |
| {color:green}+1{color} | {color:green} shellcheck {color} | {color:green}  0m 
 2s{color} | {color:green} There were no new shellcheck issues. {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} shadedjars {color} | {color:green}  4m 
51s{color} | {color:green} patch has no errors when building our shaded 
downstream artifacts. {color} |
| {color:green}+1{color} | {color:green} hadoopcheck {color} | {color:green} 
19m 54s{color} | {color:green} Patch does not cause any errors with Hadoop 
2.6.5 2.7.4 or 3.0.0. {color} |
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue}  0m  
0s{color} | {color:blue} Skipped patched modules with no Java source: . {color} 
|
| {color:green}+1{color} | {color:green} findbugs {color} | {color:green}  3m 
39s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  3m 
46s{color} | {color:green} the patch passed {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:red}-1{color} | {color:red} unit {color} | {color:red}  1m 36s{color} 
| {color:red} root in the patch failed. {color} |
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green}  0m 
35s{color} | {color:green} The patch does not generate ASF License warnings. 
{color} |
| {color:black}{color} | {color:black} {color} | {color:black} 74m 44s{color} | 
{color:black} {color} |
\\
\\
|| Subsystem || Report/Notes ||
| Docker | Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hbase:d8b550f |
| JIRA Issue | HBASE-20282 |
| JIRA Patch URL | 
https://issues.apache.org/jira/secure/attachment/12916871/HBASE-20282.v2.patch |
| Optional Tests |  asflicense  shellcheck  shelldocs  javac  javadoc  

[jira] [Commented] (HBASE-20282) Provide short name invocations for useful tools

2018-03-29 Thread Mike Drob (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-20282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16419550#comment-16419550
 ] 

Mike Drob commented on HBASE-20282:
---

v2: added usage output of regionsplitter and link to architecture section

> Provide short name invocations for useful tools
> ---
>
> Key: HBASE-20282
> URL: https://issues.apache.org/jira/browse/HBASE-20282
> Project: HBase
>  Issue Type: Bug
>  Components: documentation, tooling
>Reporter: Mike Drob
>Assignee: Mike Drob
>Priority: Major
>  Labels: beginner
> Attachments: HBASE-20282.patch, HBASE-20282.v2.patch
>
>
> We have some tooling that can be made more friendly.
> {{bin/hbase ltt}} with no arguments should print usage instead of a stack 
> trace.
> {{bin/hbase canary}} usage should refer to itself as {{canary}} not 
> {{o.a.h.h.tool.Canary}}
> {{bin/hbase org.apache.hadoop.hbase.util.RegionSplitter}} should be shortened 
> to {{bin/hbase regionsplitter}}. Usage should be updated to reflect the short 
> name.
> The fix here MUST also include updates to the book/documentation for the 
> tools.



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


[jira] [Commented] (HBASE-20282) Provide short name invocations for useful tools

2018-03-29 Thread Peter Somogyi (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-20282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16418850#comment-16418850
 ] 

Peter Somogyi commented on HBASE-20282:
---

The patch looks good. What do you think about adding some documentation to the 
ref.guide from RegionSplitter javadoc?

> Provide short name invocations for useful tools
> ---
>
> Key: HBASE-20282
> URL: https://issues.apache.org/jira/browse/HBASE-20282
> Project: HBase
>  Issue Type: Bug
>  Components: documentation, tooling
>Reporter: Mike Drob
>Assignee: Mike Drob
>Priority: Major
>  Labels: beginner
> Attachments: HBASE-20282.patch
>
>
> We have some tooling that can be made more friendly.
> {{bin/hbase ltt}} with no arguments should print usage instead of a stack 
> trace.
> {{bin/hbase canary}} usage should refer to itself as {{canary}} not 
> {{o.a.h.h.tool.Canary}}
> {{bin/hbase org.apache.hadoop.hbase.util.RegionSplitter}} should be shortened 
> to {{bin/hbase regionsplitter}}. Usage should be updated to reflect the short 
> name.
> The fix here MUST also include updates to the book/documentation for the 
> tools.



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


[jira] [Commented] (HBASE-20282) Provide short name invocations for useful tools

2018-03-28 Thread Mike Drob (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-20282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16418146#comment-16418146
 ] 

Mike Drob commented on HBASE-20282:
---

Looking for reviews of WIP patch, [~balazs.meszaros], [~psomogyi].

> Provide short name invocations for useful tools
> ---
>
> Key: HBASE-20282
> URL: https://issues.apache.org/jira/browse/HBASE-20282
> Project: HBase
>  Issue Type: Bug
>  Components: documentation, tooling
>Reporter: Mike Drob
>Assignee: Mike Drob
>Priority: Major
>  Labels: beginner
> Attachments: HBASE-20282.patch
>
>
> We have some tooling that can be made more friendly.
> {{bin/hbase ltt}} with no arguments should print usage instead of a stack 
> trace.
> {{bin/hbase canary}} usage should refer to itself as {{canary}} not 
> {{o.a.h.h.tool.Canary}}
> {{bin/hbase org.apache.hadoop.hbase.util.RegionSplitter}} should be shortened 
> to {{bin/hbase regionsplitter}}. Usage should be updated to reflect the short 
> name.
> The fix here MUST also include updates to the book/documentation for the 
> tools.



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


[jira] [Commented] (HBASE-20282) Provide short name invocations for useful tools

2018-03-27 Thread Mike Drob (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-20282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16416829#comment-16416829
 ] 

Mike Drob commented on HBASE-20282:
---

I'm not actually sure what to write in the docs for the region splitter tool, 
maybe link to architecture page instead where it is already described?

> Provide short name invocations for useful tools
> ---
>
> Key: HBASE-20282
> URL: https://issues.apache.org/jira/browse/HBASE-20282
> Project: HBase
>  Issue Type: Bug
>  Components: documentation, tooling
>Reporter: Mike Drob
>Priority: Major
>  Labels: beginner
> Attachments: HBASE-20282.patch
>
>
> We have some tooling that can be made more friendly.
> {{bin/hbase ltt}} with no arguments should print usage instead of a stack 
> trace.
> {{bin/hbase canary}} usage should refer to itself as {{canary}} not 
> {{o.a.h.h.tool.Canary}}
> {{bin/hbase org.apache.hadoop.hbase.util.RegionSplitter}} should be shortened 
> to {{bin/hbase regionsplitter}}. Usage should be updated to reflect the short 
> name.
> The fix here MUST also include updates to the book/documentation for the 
> tools.



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


[jira] [Commented] (HBASE-20282) Provide short name invocations for useful tools

2018-03-27 Thread Mike Drob (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-20282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16416828#comment-16416828
 ] 

Mike Drob commented on HBASE-20282:
---

Old output:

{code}
2018-03-27 22:03:01,405 ERROR [main] util.AbstractHBaseTool: Error running 
command-line tool
java.lang.IllegalArgumentException: Either -write or -update or -read has to be 
specified
at 
org.apache.hadoop.hbase.util.LoadTestTool.processOptions(LoadTestTool.java:385)
at 
org.apache.hadoop.hbase.util.AbstractHBaseTool.run(AbstractHBaseTool.java:151)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at 
org.apache.hadoop.hbase.util.AbstractHBaseTool.doStaticMain(AbstractHBaseTool.java:271)
at org.apache.hadoop.hbase.util.LoadTestTool.main(LoadTestTool.java:790)
{code}

New output:

{code}
mdrob@mdrob-MBP:~/IdeaProjects/hbase$ bin/hbase ltt
2018-03-27 21:52:53,428 ERROR [main] util.AbstractHBaseTool: Must specify 
either -init_only or at least one of -read, -write, -update
2018-03-27 21:52:53,429 ERROR [main] util.AbstractHBaseTool: Use -h or --help 
for usage instructions.
{code}

> Provide short name invocations for useful tools
> ---
>
> Key: HBASE-20282
> URL: https://issues.apache.org/jira/browse/HBASE-20282
> Project: HBase
>  Issue Type: Bug
>  Components: documentation, tooling
>Reporter: Mike Drob
>Priority: Major
>  Labels: beginner
>
> We have some tooling that can be made more friendly.
> {{bin/hbase ltt}} with no arguments should print usage instead of a stack 
> trace.
> {{bin/hbase canary}} usage should refer to itself as {{canary}} not 
> {{o.a.h.h.tool.Canary}}
> {{bin/hbase org.apache.hadoop.hbase.util.RegionSplitter}} should be shortened 
> to {{bin/hbase regionsplitter}}. Usage should be updated to reflect the short 
> name.
> The fix here MUST also include updates to the book/documentation for the 
> tools.



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