Repository: ambari
Updated Branches:
  refs/heads/trunk 6962851fd -> 91b56006a


AMBARI-5952. kerberos setup script should not change the metadata of the 
existing directories. (jaimin)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/91b56006
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/91b56006
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/91b56006

Branch: refs/heads/trunk
Commit: 91b56006a863d5235e5eacfd9ec4ce5dcd39d535
Parents: 6962851
Author: Jaimin Jetly <[email protected]>
Authored: Thu May 29 19:11:44 2014 -0700
Committer: Jaimin Jetly <[email protected]>
Committed: Thu May 29 19:11:44 2014 -0700

----------------------------------------------------------------------
 ambari-server/src/main/resources/scripts/kerberos-setup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/91b56006/ambari-server/src/main/resources/scripts/kerberos-setup.sh
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/scripts/kerberos-setup.sh 
b/ambari-server/src/main/resources/scripts/kerberos-setup.sh
index 4ca8e31..feb8ac1 100755
--- a/ambari-server/src/main/resources/scripts/kerberos-setup.sh
+++ b/ambari-server/src/main/resources/scripts/kerberos-setup.sh
@@ -263,7 +263,7 @@ distributeKeytabs () {
     derivedname=${derivedname##keytabs_}
     echo $derivedname
     scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no $i 
root@$derivedname:/
-    ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no 
root@$derivedname "cd /;tar xvf $i"
+    ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no 
root@$derivedname "cd /;tar xvf $i --no-overwrite-dir"
   done
 }
 

Reply via email to