From 605fdcbb81687c73ba91a3bd0d607cabd3dc5a67 Mon Sep 17 00:00:00 2001 From: Steve Loughran Date: Wed, 16 Mar 2016 14:35:13 +0000 Subject: [PATCH] YARN-4593 Deadlock in AbstractService.getConfig() (stevel) --- .../main/java/org/apache/hadoop/service/AbstractService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/service/AbstractService.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/service/AbstractService.java index a7691f63b0..132768386a 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/service/AbstractService.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/service/AbstractService.java @@ -399,7 +399,7 @@ public String getName() { } @Override - public synchronized Configuration getConfig() { + public Configuration getConfig() { return config; }