[SPARK-23658][LAUNCHER] InProcessAppHandle uses the wrong class in getLogger

## What changes were proposed in this pull request?

Changed `Logger` in `InProcessAppHandle` to use `InProcessAppHandle` instead of `ChildProcAppHandle`

Author: Sahil Takiar <stakiar@cloudera.com>

Closes #20815 from sahilTakiar/master.
This commit is contained in:
Sahil Takiar 2018-03-15 17:04:39 -07:00 committed by Marcelo Vanzin
parent 15c3c98300
commit 7618896e85

View file

@ -25,7 +25,7 @@ import java.util.logging.Logger;
class InProcessAppHandle extends AbstractAppHandle {
private static final String THREAD_NAME_FMT = "spark-app-%d: '%s'";
private static final Logger LOG = Logger.getLogger(ChildProcAppHandle.class.getName());
private static final Logger LOG = Logger.getLogger(InProcessAppHandle.class.getName());
private static final AtomicLong THREAD_IDS = new AtomicLong();
// Avoid really long thread names.