Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Commit

Permalink
manually apply patch for YARN-2985
Browse files Browse the repository at this point in the history
  • Loading branch information
sjrand committed Mar 21, 2021
1 parent 7a3bc90 commit ce34626
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
import org.apache.hadoop.yarn.YarnUncaughtExceptionHandler;
import org.apache.hadoop.yarn.conf.YarnConfiguration;
import org.apache.hadoop.yarn.exceptions.YarnRuntimeException;
import org.apache.hadoop.yarn.logaggregation.AggregatedLogDeletionService;
import org.apache.hadoop.yarn.server.applicationhistoryservice.webapp.AHSWebApp;
import org.apache.hadoop.yarn.server.security.ApplicationACLsManager;
import org.apache.hadoop.yarn.server.timeline.LeveldbTimelineStore;
Expand Down Expand Up @@ -70,6 +71,7 @@ public class ApplicationHistoryServer extends CompositeService {
private static final Logger LOG = LoggerFactory
.getLogger(ApplicationHistoryServer.class);

private AggregatedLogDeletionService aggregatedLogDeletionService;
private ApplicationHistoryClientService ahsClientService;
private ApplicationACLsManager aclsManager;
private ApplicationHistoryManager historyManager;
Expand Down Expand Up @@ -99,6 +101,8 @@ protected void serviceInit(Configuration conf) throws Exception {
addService(secretManagerService);
timelineDataManager = createTimelineDataManager(conf);
addService(timelineDataManager);
aggregatedLogDeletionService = new AggregatedLogDeletionService();
addService(aggregatedLogDeletionService);

// init generic history service afterwards
aclsManager = createApplicationACLsManager(conf);
Expand Down

0 comments on commit ce34626

Please sign in to comment.