ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eb...@apache.org
Subject git commit: AMBARI-5307 Add support for multivolumes in GlusterFS stack
Date Tue, 17 Jun 2014 22:28:14 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-1.6.0 7adbdc16d -> d77a1913b


AMBARI-5307 Add support for multivolumes in GlusterFS stack


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

Branch: refs/heads/branch-1.6.0
Commit: d77a1913bd7033c484b3efd8f969ebc6f722d857
Parents: 7adbdc1
Author: Erin A Boyd <eboyd@redhat.com>
Authored: Tue Jun 17 16:15:10 2014 -0600
Committer: Erin A Boyd <eboyd@redhat.com>
Committed: Tue Jun 17 16:15:32 2014 -0600

----------------------------------------------------------------------
 .../GLUSTERFS/configuration/core-site.xml       | 28 ++++++++++++++------
 ambari-web/app/data/HDP2/site_properties.js     | 19 +++++++++++++
 ambari-web/app/data/site_properties.js          | 18 +++++++++++++
 3 files changed, 57 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/d77a1913/ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/services/GLUSTERFS/configuration/core-site.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/services/GLUSTERFS/configuration/core-site.xml
b/ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/services/GLUSTERFS/configuration/core-site.xml
index e38eb27..51ae7e6 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/services/GLUSTERFS/configuration/core-site.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/services/GLUSTERFS/configuration/core-site.xml
@@ -50,15 +50,27 @@
          literal string "local" or a host:port for NDFS.</description>
   </property>
 
-<property>
-<name>fs.AbstractFileSystem.glusterfs.impl</name>
-<value>org.apache.hadoop.fs.local.GlusterFs</value>
-</property>
+  <property>
+  <name>fs.AbstractFileSystem.glusterfs.impl</name>
+  <value>org.apache.hadoop.fs.local.GlusterFs</value>
+  </property>
 
-<property>
-<name>fs.glusterfs.impl</name>
-<value>org.apache.hadoop.fs.glusterfs.GlusterFileSystem</value>
-</property>
+  <property>
+  <name>fs.glusterfs.impl</name>
+  <value>org.apache.hadoop.fs.glusterfs.GlusterFileSystem</value>
+  </property>
+
+  <property>
+  <name>fs.glusterfs.volumes</name>
+    <description>The name of the gluster volume(s) you would like Hadoop to use.  Values
should be seperated by commas i.e. gv0, gv1</description>
+  <value>gv0</value>
+  </property>
+
+  <property>
+   <name>fs.glusterfs.volume.fuse.gv0</name>
+  <decription>The mount point that corresponds to the fs.glusterfs.volumes value</description>
+    <value>/mnt/gv0</value>
+  </property>
 
 
 <!-- Properties that I am removing to get rid of service errors -->

http://git-wip-us.apache.org/repos/asf/ambari/blob/d77a1913/ambari-web/app/data/HDP2/site_properties.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/data/HDP2/site_properties.js b/ambari-web/app/data/HDP2/site_properties.js
index b41c61d..5b22346 100644
--- a/ambari-web/app/data/HDP2/site_properties.js
+++ b/ambari-web/app/data/HDP2/site_properties.js
@@ -1697,6 +1697,25 @@ module.exports =
       "serviceName": "GLUSTERFS",
       "category": "General"
     },
+    {
+      "id": "site property",
+      "name": "fs.glusterfs.volumes",
+      "displayName": "Gluster volume name(s)",
+      "displayType": "string",
+      "filename": "core-site.xml",
+      "serviceName": "GLUSTERFS",
+      "category": "General"
+    },
+    {
+      "id": "site property",
+      "name": "fs.glusterfs.volume.fuse.gv0",
+      "displayName": "Gluster mount point for volume",
+      "displayType": "string",
+      "filename": "core-site.xml",
+      "serviceName": "GLUSTERFS",
+      "category": "General"
+    },
+
               
   /********************************************* flume-agent *****************************/
     {

http://git-wip-us.apache.org/repos/asf/ambari/blob/d77a1913/ambari-web/app/data/site_properties.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/data/site_properties.js b/ambari-web/app/data/site_properties.js
index a89980e..059d503 100644
--- a/ambari-web/app/data/site_properties.js
+++ b/ambari-web/app/data/site_properties.js
@@ -903,6 +903,24 @@ module.exports =
       "filename": "core-site.xml",
       "serviceName": "GLUSTERFS",
       "category": "General"
+    },
+    {
+      "id": "site property",
+      "name": "fs.glusterfs.volumes",
+      "displayName": "Gluster volume name(s)",
+      "displayType": "string",
+      "filename": "core-site.xml",
+      "serviceName": "GLUSTERFS",
+      "category": "General"
+    },
+    {
+      "id": "site property",
+      "name": "fs.glusterfs.volume.fuse.gv0",
+      "displayName": "Gluster mount point for volume",
+      "displayType": "string",
+      "filename": "core-site.xml",
+      "serviceName": "GLUSTERFS",
+      "category": "General"
     }
   ]
 };


Mime
View raw message