瀏覽代碼

AMBARI-2523. Change wording's of various notfications/messages in Ambari Setup so that users are not alarmed. (mahadev)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1498158 13f79535-47bb-0310-9956-ffa450edef68
Mahadev Konar 12 年之前
父節點
當前提交
2b671a163d
共有 1 個文件被更改,包括 3 次插入4 次删除
  1. 3 4
      ambari-server/src/main/python/ambari-server.py

+ 3 - 4
ambari-server/src/main/python/ambari-server.py

@@ -534,8 +534,7 @@ def check_selinux():
         print "Temporarily disabling SELinux"
         run_os_command(SE_SETENFORCE_CMD)
       print_warning_msg(
-        "SELinux is set to 'permissive' mode and temporarily disabled."
-        " You should disable SELinux permanently.")
+        "SELinux is set to 'permissive' mode and temporarily disabled.")
       ok = get_YN_input("OK to continue [y/n] (y)? ", True)
       if not ok:
         raise FatalException(1, None)
@@ -659,7 +658,7 @@ def check_ambari_user():
       update_user_setting = create_user # Only if we will create another user
     else: # user is not configured yet
       update_user_setting = True # Write configuration anyway
-      create_user = get_YN_input("Create a separate user for ambari-server "
+      create_user = get_YN_input("Use a separate user for ambari-server "
                    "daemon [y/n] (n)? ", False)
       if not create_user:
         user = "root"
@@ -695,7 +694,7 @@ def check_iptables():
     print 'Stopping iptables service'
   '''
   retcode, out, err = run_os_command(IP_TBLS_STOP_CMD)
-  print 'iptables is disabled now'
+  print 'iptables is disabled now. please reenable later.'
 
   if not retcode == 0 and err and len(err) > 0:
     print err