ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jai...@apache.org
Subject git commit: AMBARI-5952. kerberos setup script should not change the metadata of the existing directories. (jaimin)
Date Fri, 30 May 2014 02:12:09 GMT
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 <jaimin@hortonworks.com>
Authored: Thu May 29 19:11:44 2014 -0700
Committer: Jaimin Jetly <jaimin@hortonworks.com>
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
 }
 


Mime
View raw message