presto-admin icon indicating copy to clipboard operation
presto-admin copied to clipboard

Display a warning when an invalid host is specified via '-x'

Open amrutagokhale opened this issue 8 years ago • 0 comments

On a four node cluster with master, slave1, slave2 and slave3, when I run a presto-admin command say connector add hive and specify an invalid host name via -x, no warning is displayed about the host being invalid.

$./prestoadmin/presto-admin connector add hive -x blah                               
Deploying hive.properties connector configurations on: master 
Deploying hive.properties connector configurations on: slave1 
Deploying hive.properties connector configurations on: slave2 
Deploying hive.properties connector configurations on: slave3

I suspect that this behavior is true for all presto-admin commands that support -x option, though I haven't tried it for all the commands.

amrutagokhale avatar Mar 17 '16 21:03 amrutagokhale