You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2021/12/16 19:26:57 UTC

[GitHub] [accumulo-testing] ctubbsii commented on a change in pull request #179: Replace use of `pssh` with `parallel-ssh`

ctubbsii commented on a change in pull request #179:
URL: https://github.com/apache/accumulo-testing/pull/179#discussion_r770816781



##########
File path: test/stress/stress-env.sh
##########
@@ -15,6 +15,17 @@
 
 ACCUMULO_HOME=${ACCUMULO_HOME:-/opt/accumulo}
 
+## check that pssh and pscp is installed, falling back to parallel-ssh/scp if needed
+if hash pssh 2>/dev/null; then
+  PSSH=pssh
+  PSCP=pscp

Review comment:
       I'm not sure about older RH-based operating systems, but the pscp that comes with the pssh in newer RPMs is named /usr/bin/pscp.pssh, because the putty RPM ships with /usr/bin/pscp and they are made to not conflict.
   
   ```suggestion
     PSCP=pscp
     hash pscp.pssh 2>/dev/null && PSCP=pscp.pssh
   ```




-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org