[
https://issues.apache.org/jira/browse/HBASE-12969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14344893#comment-14344893
]
Y. SREENIVASULU REDDY commented on HBASE-12969:
-----------------------------------------------
[~apurtell]
while using local-master-backup.sh and local-regionservers.sh files, if we give
non numeric values it should validate and any thing wrong it should throw
proper error back to the user.
if not the following message will print.
{code}
/regionserver/bin # ./local-regionservers.sh start r
expr: non-integer argument
expr: non-integer argument
starting regionserver, logging to
/opt/hdfsdata/HA/install/hbase/regionserver/bin/../logs/hbase-root-r-regionserver-HOST-1.out
{code}
same for masters start script also.
so in this patch, the main script itself is validating, and throwing error
message back to the user.
> Parameter Validation is not there for shell script, local-master-backup.sh
> and local-regionservers.sh
> -----------------------------------------------------------------------------------------------------
>
> Key: HBASE-12969
> URL: https://issues.apache.org/jira/browse/HBASE-12969
> Project: HBase
> Issue Type: Bug
> Components: scripts
> Affects Versions: 0.98.9
> Reporter: Y. SREENIVASULU REDDY
> Assignee: Y. SREENIVASULU REDDY
> Priority: Minor
> Fix For: 2.0.0
>
> Attachments: HBASE-12969.patch
>
>
> while executing local-regionservers.sh or local-master-backup.sh in
> $HBASE_HOME/bin
> if parameter is non numeric value then scripts are throwing failures.
> we need to handle the validation also for those scripts.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)