diff options
author | Sean Owen <sowen@cloudera.com> | 2016-08-31 11:09:14 -0700 |
---|---|---|
committer | Marcelo Vanzin <vanzin@cloudera.com> | 2016-08-31 11:09:14 -0700 |
commit | 5d84c7fd83502aeb551d46a740502db4862508fe (patch) | |
tree | cd05ad83b9b8814670ba02521e3b85f87809b4e8 /common/network-yarn/src/main | |
parent | 9bcb33c54117cebc9e087017bf4e4163edaeff17 (diff) | |
download | spark-5d84c7fd83502aeb551d46a740502db4862508fe.tar.gz spark-5d84c7fd83502aeb551d46a740502db4862508fe.tar.bz2 spark-5d84c7fd83502aeb551d46a740502db4862508fe.zip |
[SPARK-17332][CORE] Make Java Loggers static members
## What changes were proposed in this pull request?
Make all Java Loggers static members
## How was this patch tested?
Jenkins
Author: Sean Owen <sowen@cloudera.com>
Closes #14896 from srowen/SPARK-17332.
Diffstat (limited to 'common/network-yarn/src/main')
-rw-r--r-- | common/network-yarn/src/main/java/org/apache/spark/network/yarn/YarnShuffleService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/network-yarn/src/main/java/org/apache/spark/network/yarn/YarnShuffleService.java b/common/network-yarn/src/main/java/org/apache/spark/network/yarn/YarnShuffleService.java index 22e47ac1b7..2cf3f53e6d 100644 --- a/common/network-yarn/src/main/java/org/apache/spark/network/yarn/YarnShuffleService.java +++ b/common/network-yarn/src/main/java/org/apache/spark/network/yarn/YarnShuffleService.java @@ -58,7 +58,7 @@ import org.apache.spark.network.yarn.util.HadoopConfigProvider; * the service's. */ public class YarnShuffleService extends AuxiliaryService { - private final Logger logger = LoggerFactory.getLogger(YarnShuffleService.class); + private static final Logger logger = LoggerFactory.getLogger(YarnShuffleService.class); // Port on which the shuffle server listens for fetch requests private static final String SPARK_SHUFFLE_SERVICE_PORT_KEY = "spark.shuffle.service.port"; |