@InterfaceAudience.Private @InterfaceStability.Unstable public class AdHocLogDumper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
AD_HOC_DUMPER_APPENDER |
Constructor and Description |
---|
AdHocLogDumper(String name,
String targetFilename) |
Modifier and Type | Method and Description |
---|---|
void |
dumpLogs(String level,
int timePeriod) |
static boolean |
getState() |
public static final String AD_HOC_DUMPER_APPENDER
public void dumpLogs(String level, int timePeriod) throws org.apache.hadoop.yarn.exceptions.YarnRuntimeException, IOException
org.apache.hadoop.yarn.exceptions.YarnRuntimeException
IOException
public static boolean getState()
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.