Ver código fonte

AMBARI-5518. Some of the configuration parameters do not have description.(xiwang)

Xi Wang 11 anos atrás
pai
commit
d35e3cd58d

+ 1 - 1
ambari-server/src/main/resources/stacks/HDP/2.0.5/services/HDFS/configuration/hdfs-site.xml

@@ -226,7 +226,7 @@ If the port is 0 then the server will start on a free port.
 <property>
 <name>dfs.datanode.max.transfer.threads</name>
 <value>1024</value>
-<description>PRIVATE CONFIG VARIABLE</description>
+<description>Specifies the maximum number of threads to use for transferring data in and out of the datanode.</description>
 </property>
 
 <!-- Permissions configuration -->

+ 1 - 1
ambari-server/src/main/resources/stacks/HDP/2.0.6.GlusterFS/services/HDFS/configuration/hdfs-site.xml

@@ -242,7 +242,7 @@ If the port is 0 then the server will start on a free port.
 <property>
 <name>dfs.datanode.max.transfer.threads</name>
 <value>1024</value>
-<description>PRIVATE CONFIG VARIABLE</description>
+<description>Specifies the maximum number of threads to use for transferring data in and out of the datanode.</description>
 </property>
 
 <!-- Permissions configuration -->

+ 1 - 1
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/hdfs-site.xml

@@ -243,7 +243,7 @@
   <property>
     <name>dfs.datanode.max.transfer.threads</name>
     <value>1024</value>
-    <description>PRIVATE CONFIG VARIABLE</description>
+    <description>Specifies the maximum number of threads to use for transferring data in and out of the datanode.</description>
   </property>
 
   <!-- Permissions configuration -->

+ 5 - 5
ambari-server/src/main/resources/stacks/HDP/2.1/services/HIVE/configuration/hive-site.xml

@@ -341,19 +341,19 @@ limitations under the License.
   <property>
     <name>hive.tez.container.size</name>
     <value>3000000000</value>
-    <description></description>
+    <description>By default, Tez uses the java options from map tasks. Use this property to override that value. Assigned value must match value specified for mapreduce.map.child.java.opts.</description>
   </property>
 
   <property>
     <name>hive.tez.input.format</name>
     <value>org.apache.hadoop.hive.ql.io.HiveInputFormat</value>
-    <description></description>
+    <description>The default input format for Tez. Tez groups splits in the Application Master.</description>
   </property>
 
   <property>
     <name>hive.tez.java.opts</name>
     <value>-server -Xmx1024m -Djava.net.preferIPv4Stack=true -XX:NewRatio=8 -XX:+UseNUMA -XX:+UseParallelGC</value>
-    <description></description>
+    <description>Java command line options for Tez. Must be assigned the same value as mapreduce.map.child.java.opts.</description>
   </property>
 
   <property>
@@ -390,13 +390,13 @@ limitations under the License.
   <property>
     <name>hive.server2.tez.sessions.per.default.queue</name>
     <value>1</value>
-    <description></description>
+    <description>The number of sessions for each queue named in the hive.server2.tez.default.queues.</description>
   </property>
 
   <property>
     <name>hive.server2.tez.initialize.default.sessions</name>
     <value>false</value>
-    <description></description>
+    <description>Enables a user to use HiveServer2 without enabling Tez for HiveServer2. Users may potentially may want to run queries with Tez without a pool of sessions.</description>
   </property>
 
   <property>

+ 14 - 13
ambari-web/app/data/HDP2/global_properties.js

@@ -123,6 +123,20 @@ module.exports =
       "category": "NameNode",
       "index": 3
     },
+    {
+      "id": "puppet var",
+      "name": "namenode_opt_maxnewsize",
+      "displayName": "NameNode maximum new generation size",
+      "description": "Maximum size of Java new generation for NameNode (Java option -XX:MaxnewSize).",
+      "defaultValue": "200",
+      "displayType": "int",
+      "unit": "MB",
+      "isOverridable": false,
+      "isVisible": true,
+      "serviceName": "HDFS",
+      "category": "NameNode",
+      "index": 4
+    },
     {
       "id": "puppet var",
       "name": "snamenode_host",
@@ -207,19 +221,6 @@ module.exports =
       "serviceName": "HDFS",
       "category": "Advanced"
     },
-    {
-      "id": "puppet var",
-      "name": "namenode_opt_maxnewsize",
-      "displayName": "NameNode maximum new generation size",
-      "description": "",
-      "defaultValue": "200",
-      "displayType": "int",
-      "unit": "MB",
-      "isOverridable": false,
-      "isVisible": true,
-      "serviceName": "HDFS",
-      "category": "NameNode"
-    },
     {
       "id": "puppet var",
       "name": "security_enabled",