MAPREDUCE-4140. mapreduce classes incorrectly importing "clover.org.apache.*" classes. Contributed by Patrick Hunt
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1325352 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d310c48ce4
commit
346d50782d
@ -322,6 +322,9 @@ Release 0.23.3 - UNRELEASED
|
|||||||
CONTIANER_LAUNCHED and CONTIANER_LAUNCH_FAILED events in additional
|
CONTIANER_LAUNCHED and CONTIANER_LAUNCH_FAILED events in additional
|
||||||
states. (Robert Joseph Evans via sseth)
|
states. (Robert Joseph Evans via sseth)
|
||||||
|
|
||||||
|
MAPREDUCE-4140. mapreduce classes incorrectly importing
|
||||||
|
"clover.org.apache.*" classes. (Patrick Hunt via tomwhite)
|
||||||
|
|
||||||
Release 0.23.2 - UNRELEASED
|
Release 0.23.2 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
@ -21,6 +21,8 @@
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
|
import org.apache.commons.logging.Log;
|
||||||
|
import org.apache.commons.logging.LogFactory;
|
||||||
import org.apache.hadoop.fs.Path;
|
import org.apache.hadoop.fs.Path;
|
||||||
import org.apache.hadoop.mapreduce.Counters;
|
import org.apache.hadoop.mapreduce.Counters;
|
||||||
import org.apache.hadoop.mapreduce.JobACL;
|
import org.apache.hadoop.mapreduce.JobACL;
|
||||||
@ -37,9 +39,9 @@
|
|||||||
import org.apache.hadoop.security.authorize.AccessControlList;
|
import org.apache.hadoop.security.authorize.AccessControlList;
|
||||||
import org.apache.hadoop.yarn.factory.providers.RecordFactoryProvider;
|
import org.apache.hadoop.yarn.factory.providers.RecordFactoryProvider;
|
||||||
|
|
||||||
import clover.org.apache.log4j.Logger;
|
|
||||||
|
|
||||||
public class PartialJob implements org.apache.hadoop.mapreduce.v2.app.job.Job {
|
public class PartialJob implements org.apache.hadoop.mapreduce.v2.app.job.Job {
|
||||||
|
private static final Log LOG = LogFactory.getLog(PartialJob.class);
|
||||||
|
|
||||||
private JobIndexInfo jobIndexInfo = null;
|
private JobIndexInfo jobIndexInfo = null;
|
||||||
private JobId jobId = null;
|
private JobId jobId = null;
|
||||||
@ -78,8 +80,7 @@ public JobState getState() {
|
|||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
// Meant for use by the display UI. Exception would prevent it from being
|
// Meant for use by the display UI. Exception would prevent it from being
|
||||||
// rendered.e Defaulting to KILLED
|
// rendered.e Defaulting to KILLED
|
||||||
Logger.getLogger(this.getClass().getName()).warn(
|
LOG.warn("Exception while parsing job state. Defaulting to KILLED", e);
|
||||||
"Exception while parsing job state. Defaulting to KILLED", e);
|
|
||||||
js = JobState.KILLED;
|
js = JobState.KILLED;
|
||||||
}
|
}
|
||||||
return js;
|
return js;
|
||||||
|
@ -21,11 +21,9 @@
|
|||||||
import org.apache.hadoop.classification.InterfaceAudience.Public;
|
import org.apache.hadoop.classification.InterfaceAudience.Public;
|
||||||
import org.apache.hadoop.classification.InterfaceStability.Evolving;
|
import org.apache.hadoop.classification.InterfaceStability.Evolving;
|
||||||
|
|
||||||
import clover.org.apache.velocity.runtime.resource.ResourceManager;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The request issued by the client to get a delegation token from
|
* The request issued by the client to get a delegation token from
|
||||||
* the {@link ResourceManager}.
|
* the {@code ResourceManager}.
|
||||||
* for more information.
|
* for more information.
|
||||||
*/
|
*/
|
||||||
@Public
|
@Public
|
||||||
|
@ -55,8 +55,6 @@
|
|||||||
import org.w3c.dom.NodeList;
|
import org.w3c.dom.NodeList;
|
||||||
import org.xml.sax.InputSource;
|
import org.xml.sax.InputSource;
|
||||||
|
|
||||||
import clover.org.jfree.util.Log;
|
|
||||||
|
|
||||||
import com.google.inject.Guice;
|
import com.google.inject.Guice;
|
||||||
import com.google.inject.Injector;
|
import com.google.inject.Injector;
|
||||||
import com.google.inject.servlet.GuiceServletContextListener;
|
import com.google.inject.servlet.GuiceServletContextListener;
|
||||||
|
Loading…
Reference in New Issue
Block a user