瀏覽代碼

AMBARI-4591. Two ATS configs should be in ATS section. (Denys Buzhor via onechiporenko)

Oleg Nechiporenko 11 年之前
父節點
當前提交
d0f3c900f2
共有 1 個文件被更改,包括 24 次插入1 次删除
  1. 24 1
      ambari-web/app/data/HDP2/site_properties.js

+ 24 - 1
ambari-web/app/data/HDP2/site_properties.js

@@ -15,6 +15,9 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
+var App = require('app');
+
 module.exports =
 {
   "configProperties": [
@@ -298,7 +301,27 @@ module.exports =
       "category": "Advanced",
       "serviceName": "YARN"
     },
-
+    {
+      "id": "site property",
+      "name": "yarn.ats.leveldb-timeline-store.path",
+      "displayName": "yarn.ats.leveldb-timeline-store.path",
+      "value": "",
+      "defaultValue": "/var/log/hadoop-yarn/ats",
+      "isVisible": App.supports.appTimelineServer, // @todo remove after Application Timeline Server approving
+      "category": "AppTimelineServer",
+      "displayType": "directory",
+      "serviceName": "YARN"
+    },
+    {
+      "id": "site property",
+      "name": "yarn.ats.store.class",
+      "displayName": "yarn.ats.store.class",
+      "value": "",
+      "defaultValue": "org.apache.hadoop.yarn.server.applicationhistoryservice.timeline.LeveldbApplicationTimelineStore",
+      "isVisible": App.supports.appTimelineServer, // @todo remove after Application Timeline Server approving
+      "category": "AppTimelineServer",
+      "serviceName": "YARN"
+    },
   /**********************************************MAPREDUCE2***************************************/
     {
       "id": "site property",