Browse Source

AMBARI-4825. YARN App Timeline Server does not start after install. (srimanth)

Srimanth Gunturi 11 years ago
parent
commit
66478e1126

+ 1 - 1
ambari-server/src/main/resources/stacks/HDP/2.1.1/services/YARN/configuration/yarn-site.xml

@@ -341,7 +341,7 @@
 
   <property>
     <name>yarn.timeline-service.store-class</name>
-    <value>org.apache.hadoop.yarn.server.applicationhistoryservice.apptimeline.LeveldbApplicationTimelineStore</value>
+    <value>org.apache.hadoop.yarn.server.applicationhistoryservice.timeline.LeveldbTimelineStore</value>
     <description>
       Store class name for timeline store
     </description>

+ 1 - 1
ambari-web/app/config.js

@@ -68,7 +68,7 @@ App.supports = {
   deleteHost: true,
   autoRollbackHA: false,
   appTimelineServer: true,
-  jobs: false
+  jobs: true
 };
 
 if (App.enableExperimental) {

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

@@ -317,7 +317,7 @@ module.exports =
       "name": "yarn.timeline-service.store-class",
       "displayName": "yarn.timeline-service.store-class",
       "value": "",
-      "defaultValue": "org.apache.hadoop.yarn.server.applicationhistoryservice.apptimeline.LeveldbApplicationTimelineStore",
+      "defaultValue": "org.apache.hadoop.yarn.server.applicationhistoryservice.timeline.LeveldbTimelineStore",
       "isVisible": App.supports.appTimelineServer, // @todo remove after Application Timeline Server approving
       "category": "AppTimelineServer",
       "serviceName": "YARN"

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

@@ -317,7 +317,7 @@ module.exports =
       "name": "yarn.timeline-service.store-class",
       "displayName": "yarn.timeline-service.store-class",
       "value": "",
-      "defaultValue": "org.apache.hadoop.yarn.server.applicationhistoryservice.timeline.LeveldbApplicationTimelineStore",
+      "defaultValue": "org.apache.hadoop.yarn.server.applicationhistoryservice.timeline.LeveldbTimelineStore",
       "isVisible": App.supports.appTimelineServer, // @todo remove after Application Timeline Server approving
       "category": "AppTimelineServer",
       "serviceName": "YARN"

+ 1 - 1
ambari-web/app/mappers/jobs/hive_job_mapper.js

@@ -56,7 +56,7 @@ App.hiveJobMapper = App.QuickDataMapper.create({
       hiveJob.id = json.entity;
       hiveJob.startTime = json.starttime;
       hiveJob.endTime = json.endtime;
-      json.otherinfo.query = $.parseJSON(json.otherinfo.query).query;
+      json.otherinfo.query = $.parseJSON(json.otherinfo.query);
       hiveJob.stages = [];
       var stagePlans = json.otherinfo.query.queryPlan["STAGE PLANS"];
       for ( var stage in stagePlans) {