Skip to content

Commit

Permalink
test removing ssh pre-approval
Browse files Browse the repository at this point in the history
  • Loading branch information
nchammas committed Dec 24, 2014
1 parent a62e692 commit 0a9a082
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ fi
echo "Setting executable permissions on scripts..."
find . -regex "^.+.\(sh\|py\)" | xargs chmod a+x

echo "SSH-ing to all cluster nodes to approve keys..."
approve_ssh_keys
# echo "SSH-ing to all cluster nodes to approve keys..."
# approve_ssh_keys

echo "RSYNC'ing /root/spark-ec2 to other cluster nodes..."
for node in $SLAVES $OTHER_MASTERS; do
Expand All @@ -71,9 +71,9 @@ pssh --inline \
--extra-args "-t -t $SSH_OPTS" \
"spark-ec2/setup-slave.sh"

echo "SSH-ing to all cluster nodes to re-approve keys..."
# echo "SSH-ing to all cluster nodes to re-approve keys..."
# We do this again because setup-slave.sh clears out .ssh/known_hosts.
approve_ssh_keys
# approve_ssh_keys

# Always include 'scala' module if it's not defined as a work around
# for older versions of the scripts.
Expand Down

0 comments on commit 0a9a082

Please sign in to comment.