public interface UIRoot
Modifier and Type | Method and Description |
---|---|
boolean |
checkUIViewPermissions(String appId,
scala.Option<String> attemptId,
String user) |
scala.Option<ApplicationInfo> |
getApplicationInfo(String appId) |
scala.collection.Iterator<ApplicationInfo> |
getApplicationInfoList() |
org.apache.spark.SecurityManager |
securityManager() |
<T> T |
withSparkUI(String appId,
scala.Option<String> attemptId,
scala.Function1<org.apache.spark.ui.SparkUI,T> fn)
Runs some code with the current SparkUI instance for the app / attempt.
|
void |
writeEventLogs(String appId,
scala.Option<String> attemptId,
java.util.zip.ZipOutputStream zipStream)
Write the event logs for the given app to the
ZipOutputStream instance. |
boolean checkUIViewPermissions(String appId, scala.Option<String> attemptId, String user)
scala.Option<ApplicationInfo> getApplicationInfo(String appId)
scala.collection.Iterator<ApplicationInfo> getApplicationInfoList()
org.apache.spark.SecurityManager securityManager()
<T> T withSparkUI(String appId, scala.Option<String> attemptId, scala.Function1<org.apache.spark.ui.SparkUI,T> fn)
appId
- (undocumented)attemptId
- (undocumented)fn
- (undocumented)java.util.NoSuchElementException
- If the app / attempt pair does not exist.void writeEventLogs(String appId, scala.Option<String> attemptId, java.util.zip.ZipOutputStream zipStream)
ZipOutputStream
instance. If attemptId is
None
, event logs for all attempts of this application will be written out.appId
- (undocumented)attemptId
- (undocumented)zipStream
- (undocumented)