MAPREDUCE-5665. Add audience annotations to MiniMRYarnCluster and MiniMRCluster. (Anubhav Dhoot via kasha)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1572796 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3568835899
commit
d00de6418a
|
@ -14,6 +14,9 @@ Release 2.5.0 - UNRELEASED
|
||||||
MAPREDUCE-5688. TestStagingCleanup fails intermittently with JDK7 (Mit
|
MAPREDUCE-5688. TestStagingCleanup fails intermittently with JDK7 (Mit
|
||||||
Desai via jeagles)
|
Desai via jeagles)
|
||||||
|
|
||||||
|
MAPREDUCE-5665. Add audience annotations to MiniMRYarnCluster and
|
||||||
|
MiniMRCluster. (Anubhav Dhoot via kasha)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
|
@ -22,6 +22,8 @@ import java.util.Random;
|
||||||
|
|
||||||
import org.apache.commons.logging.Log;
|
import org.apache.commons.logging.Log;
|
||||||
import org.apache.commons.logging.LogFactory;
|
import org.apache.commons.logging.LogFactory;
|
||||||
|
import org.apache.hadoop.classification.InterfaceAudience;
|
||||||
|
import org.apache.hadoop.classification.InterfaceStability;
|
||||||
import org.apache.hadoop.fs.FileSystem;
|
import org.apache.hadoop.fs.FileSystem;
|
||||||
import org.apache.hadoop.security.AccessControlException;
|
import org.apache.hadoop.security.AccessControlException;
|
||||||
import org.apache.hadoop.security.UserGroupInformation;
|
import org.apache.hadoop.security.UserGroupInformation;
|
||||||
|
@ -40,6 +42,8 @@ import org.apache.hadoop.security.UserGroupInformation;
|
||||||
* instead
|
* instead
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
|
@InterfaceAudience.Public
|
||||||
|
@InterfaceStability.Evolving
|
||||||
public class MiniMRCluster {
|
public class MiniMRCluster {
|
||||||
private static final Log LOG = LogFactory.getLog(MiniMRCluster.class);
|
private static final Log LOG = LogFactory.getLog(MiniMRCluster.class);
|
||||||
|
|
||||||
|
|
|
@ -26,6 +26,8 @@ import java.net.UnknownHostException;
|
||||||
|
|
||||||
import org.apache.commons.logging.Log;
|
import org.apache.commons.logging.Log;
|
||||||
import org.apache.commons.logging.LogFactory;
|
import org.apache.commons.logging.LogFactory;
|
||||||
|
import org.apache.hadoop.classification.InterfaceAudience;
|
||||||
|
import org.apache.hadoop.classification.InterfaceStability;
|
||||||
import org.apache.hadoop.conf.Configuration;
|
import org.apache.hadoop.conf.Configuration;
|
||||||
import org.apache.hadoop.fs.CommonConfigurationKeys;
|
import org.apache.hadoop.fs.CommonConfigurationKeys;
|
||||||
import org.apache.hadoop.fs.FileContext;
|
import org.apache.hadoop.fs.FileContext;
|
||||||
|
@ -55,6 +57,8 @@ import org.apache.hadoop.yarn.webapp.util.WebAppUtils;
|
||||||
* Configures and starts the MR-specific components in the YARN cluster.
|
* Configures and starts the MR-specific components in the YARN cluster.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
@InterfaceAudience.Public
|
||||||
|
@InterfaceStability.Evolving
|
||||||
public class MiniMRYarnCluster extends MiniYARNCluster {
|
public class MiniMRYarnCluster extends MiniYARNCluster {
|
||||||
|
|
||||||
public static final String APPJAR = JarFinder.getJar(LocalContainerLauncher.class);
|
public static final String APPJAR = JarFinder.getJar(LocalContainerLauncher.class);
|
||||||
|
|
Loading…
Reference in New Issue