BukrosSzabolcs commented on a change in pull request #675: HBASE-23085: Network
and Data related Actions
URL: https://github.com/apache/hbase/pull/675#discussion_r332372477
##########
File path:
hbase-it/src/test/java/org/apache/hadoop/hbase/HBaseClusterManager.java
##########
@@ -159,6 +169,38 @@ public void execute() throws IOException {
}
}
+ /**
+ * Executes commands over SSH
+ */
+ protected class RemoteSudoShell extends Shell.ShellCommandExecutor {
Review comment:
It might be required in some setups, but even then it should be already in
place. Using sudo is nothing new, we already use it to start/stop services.
Just check the original tunnel command.
I tested these in Ubuntu and CentOS machines and for me creating the new
sudoer user on every machine, adding it to the sudo group (or wheel on CentOS),
then pushing the key to the slaves with ssh-copy-id was enough.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services