Github user hegdean commented on a diff in the pull request:

    https://github.com/apache/incubator-trafodion/pull/274#discussion_r50444726
  
    --- Diff: install/installer/traf_add_sudoAccess ---
    @@ -23,12 +23,12 @@
     TRAF_CONFIG=/etc/trafodion/trafodion_config
     source $TRAF_CONFIG
     
    -if [ $node_count -eq 1 ]; then
    +if [ $all_node_count -eq 1 ]; then
         TRAF_PDSH=""
         TRAF_PDCP=""
     else
    -    TRAF_PDSH="pdsh -R exec $MY_NODES $PDSH_SSH_CMD"
    -    TRAF_PDCP="pdcp -R ssh $MY_NODES"
    +    TRAF_PDSH="pdsh -R exec $ALL_NODES $PDSH_SSH_CMD"
    +    TRAF_PDCP="pdcp -R ssh $ALL_NODES"
     fi
    --- End diff --
    
    Can generalize the TRAF_PDSH and TRAF_PDCP environment variables in the 
config file that is sourced in.  Then these conditional checks for setting them 
can be removed from each script


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to