Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.0
-
None
-
Reviewed
-
Adds a noninteractive mode (-n or --noninteractive) to the hbase shell that exits with a non-zero error code on failed or invalid shell command executions, and exits with a zero error code upon successful execution.
Description
See HBASE-11655. We would like the shell to return non-zero when a command that has been piped to it fails in "scripting mode". This could be due to invalid commands or commands issued with invalid arguments.
This would lower the barrier to entry for hbase admins so they could effectively script some operations.
Attachments
Attachments
Issue Links
- is related to
-
HBASE-11655 Document how to use Bash with HBase Shell
- Closed
- relates to
-
HBASE-5534 HBase shell's return value is almost always 0
- Closed
- links to