Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### What changes are proposed in this pull request? Skip ssh connection while running locally. ### Why are the changes needed? I was trying to setup a one-node cluster with the latest version to do some simple tests. However, I encountered the following exception while executing `/bin/alluxio format` ``` $ ./bin/alluxio format Executing the following command on all worker nodes and logging to /home/test/deploy/alluxio/logs/task.log: /home/test/deploy/alluxio/bin/alluxio formatWorker Waiting for tasks to finish... test@localhost's password: test@localhost's password: test@localhost's password: Task on 'localhost' fails, exit code: 255 There are task failures, look at /home/test/deploy/alluxio/logs/task.log for details. ``` In the log, it has ``` [2023-03-24 17:12:20][localhost] Failed to add the host to the list of known hosts (/home/test/.ssh/known_hosts). [2023-03-24 17:13:28][localhost] Permission denied, please try again. [2023-03-24 17:13:29][localhost] Permission denied, please try again. [2023-03-24 17:13:30][localhost] Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). ``` However, in our cluster, we do not know the password of our accounts in a specific server. So I feel it's better to skip the "ssh" part for a local one-node cluster. ### Does this PR introduce any user facing changes? NO. pr-link: #17167 change-id: cid-0ade98d9517f269668a2f3cb384b8b079fa440be
- Loading branch information