浏览代码

AMBARI-2417. Additional parameter in core-site.xml is required for HCFS installations. (Chad Roberts via yusaku)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1494381 13f79535-47bb-0310-9956-ffa450edef68
Yusaku Sako 12 年之前
父节点
当前提交
e79a794d15
共有 2 个文件被更改,包括 21 次插入2 次删除
  1. 8 1
      ambari-web/app/data/config_mapping.js
  2. 13 1
      ambari-web/app/data/config_properties.js

+ 8 - 1
ambari-web/app/data/config_mapping.js

@@ -714,7 +714,14 @@ var configs = [
     "foreignKey": null,
     "value": "<templateName[0]>",
     "filename": "core-site.xml"
-  }  
+  },
+  {
+    "name": "fs.glusterfs.getfattrcmd",
+    "templateName": ["fs_glusterfs_getfattrcmd"],
+    "foreignKey": null,
+    "value": "<templateName[0]>",
+    "filename": "core-site.xml"
+  }
 ];
 
 /**

+ 13 - 1
ambari-web/app/data/config_properties.js

@@ -525,7 +525,19 @@ module.exports =
       "domain": "global",
       "serviceName": "HCFS",
       "category": "General"
-    },     
+    },
+    {
+      "id": "puppet var",
+      "name": "fs_glusterfs_getfattrcmd",
+      "displayName": "Gluster getfattr command",
+      "description": "Gluster getfattr command",
+      "defaultValue": "sudo getfattr -m . -n trusted.glusterfs.pathinfo",
+      "displayType": "string",
+      "isVisible": false,
+      "domain": "global",
+      "serviceName": "HCFS",
+      "category": "General"
+    },
   /**********************************************MAPREDUCE***************************************/
     {
       "id": "puppet var",