You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2020/07/17 18:55:32 UTC

[GitHub] [hbase] saintstack opened a new pull request #2080: HBASE-24722 Update commands with unintentional return values (#2058)

saintstack opened a new pull request #2080:
URL: https://github.com/apache/hbase/pull/2080


   - Prior to this commit, there were 13 commands that unintentionally return the
     number of lines they print (usually one). This commit ensures that they
     return the value documented by the help text, or nil if there is not a simple
     logical value to return.
   - Fixes 6 hbase-shell commands that return String rather than TrueClass or
     FalseClass
   - Use double-bang to cast truthy values to TrueClass and FalseClass so that
     ruby's to_s can reliably print true or false without using ternary operators
   - Updates tests for is_disabled, is_enabled, disable_rpc_throttle,
     enable_rpc_throttle, disable_exceed_throttle_quota,
     enable_exceed_throttle_quota, clear_deadservers, snapshot_cleanup_switch,
     snapshot_cleanup_enabled, and balancer to check return values
   - Adds new tests for balance_switch, balancer_enabled, normalizer_switch,
     normalizer_enabled, catalog_janitor_switch, catalogjanitor_enabled,
     cleaner_chore_switch, cleaner_chore_enabled, splitormerge_switch, and
     splitormerge_enabled
   
   signed-off-by: stack <st...@apache.org>


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hbase] saintstack merged pull request #2080: HBASE-24722 Update commands with unintentional return values (#2058)

Posted by GitBox <gi...@apache.org>.
saintstack merged pull request #2080:
URL: https://github.com/apache/hbase/pull/2080


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hbase] Apache-HBase commented on pull request #2080: HBASE-24722 Update commands with unintentional return values (#2058)

Posted by GitBox <gi...@apache.org>.
Apache-HBase commented on pull request #2080:
URL: https://github.com/apache/hbase/pull/2080#issuecomment-660294213






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [hbase] Apache-HBase commented on pull request #2080: HBASE-24722 Update commands with unintentional return values (#2058)

Posted by GitBox <gi...@apache.org>.
Apache-HBase commented on pull request #2080:
URL: https://github.com/apache/hbase/pull/2080#issuecomment-660288217


   :confetti_ball: **+1 overall**
   
   
   
   
   
   
   | Vote | Subsystem | Runtime | Comment |
   |:----:|----------:|--------:|:--------|
   | +0 :ok: |  reexec  |   1m 48s |  Docker mode activated.  |
   ||| _ Prechecks _ |
   | +1 :green_heart: |  dupname  |   0m  0s |  No case conflicting files found.  |
   | +1 :green_heart: |  @author  |   0m  0s |  The patch does not contain any @author tags.  |
   ||| _ branch-2 Compile Tests _ |
   ||| _ Patch Compile Tests _ |
   | -0 :warning: |  rubocop  |   1m 11s |  The patch generated 26 new + 276 unchanged - 6 fixed = 302 total (was 282)  |
   | +1 :green_heart: |  whitespace  |   0m  0s |  The patch has no whitespace issues.  |
   ||| _ Other Tests _ |
   | +1 :green_heart: |  asflicense  |   0m 13s |  The patch does not generate ASF License warnings.  |
   |  |   |   4m 46s |   |
   
   
   | Subsystem | Report/Notes |
   |----------:|:-------------|
   | Docker | Client=19.03.12 Server=19.03.12 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-2080/1/artifact/yetus-general-check/output/Dockerfile |
   | GITHUB PR | https://github.com/apache/hbase/pull/2080 |
   | Optional Tests | dupname asflicense rubocop |
   | uname | Linux 726636370c55 4.15.0-101-generic #102-Ubuntu SMP Mon May 11 10:07:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux |
   | Build tool | maven |
   | Personality | dev-support/hbase-personality.sh |
   | git revision | branch-2 / e08da3bf26 |
   | rubocop | https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-2080/1/artifact/yetus-general-check/output/diff-patch-rubocop.txt |
   | Max. process+thread count | 42 (vs. ulimit of 12500) |
   | modules | C: hbase-shell U: hbase-shell |
   | Console output | https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-2080/1/console |
   | versions | git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f) rubocop=0.80.0 |
   | Powered by | Apache Yetus 0.11.1 https://yetus.apache.org |
   
   
   This message was automatically generated.
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org