You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by dm...@apache.org on 2014/02/11 17:35:47 UTC

git commit: AMBARI-4600. Remove --jce-policy from warning statement (Dmytro Shkvyra via dlysnichenko)

Updated Branches:
  refs/heads/trunk fa47490b5 -> 3bfab6fbd


AMBARI-4600. Remove --jce-policy from warning statement (Dmytro Shkvyra via dlysnichenko)


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

Branch: refs/heads/trunk
Commit: 3bfab6fbdd82976333f52eb9e793e2fb1c4954c3
Parents: fa47490
Author: Lisnichenko Dmitro <dl...@hortonworks.com>
Authored: Tue Feb 11 18:34:33 2014 +0200
Committer: Lisnichenko Dmitro <dl...@hortonworks.com>
Committed: Tue Feb 11 18:35:28 2014 +0200

----------------------------------------------------------------------
 ambari-server/src/main/python/ambari-server.py | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/3bfab6fb/ambari-server/src/main/python/ambari-server.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/python/ambari-server.py b/ambari-server/src/main/python/ambari-server.py
index 6b9446e..69a6723 100755
--- a/ambari-server/src/main/python/ambari-server.py
+++ b/ambari-server/src/main/python/ambari-server.py
@@ -2032,9 +2032,7 @@ def download_jce_policy(properties, accpeted_bcl):
   if not os.path.exists(dest_file):
     print 'Downloading JCE Policy archive from ' + jce_url + ' to ' + dest_file
     jce_download_fail_msg = " Failed to download JCE Policy archive : {0}. " \
-        "Please check that JCE Policy archive is available " \
-        "at {1} . Also you may install JCE Policy archive manually using " \
-      "--jce-policy command line argument.".format("{0}", jce_url)
+        "Please check that JCE Policy archive is available at {1} . "
     try:
       size_command = JDK_DOWNLOAD_SIZE_CMD.format(jce_url);
       #Get Header from url,to get file size then
@@ -4183,8 +4181,6 @@ def main():
                   help="Use specified java_home.  Must be valid on all hosts")
   parser.add_option('-i', '--jdk-location', dest="jdk_location", default=None,
                     help="Use specified JDK file in local filesystem instead of downloading")
-  #parser.add_option('-c', '--jce-policy', default=None,
-  #                help="Use specified jce_policy.  Must be valid on all hosts", dest="jce_policy") 
   parser.add_option("-v", "--verbose",
                   action="store_true", dest="verbose", default=False,
                   help="Print verbose status messages")