Interface and Description |
---|
org.apache.twill.api.SecureStoreUpdater
This class doesn't handle user correctly, use
SecureStoreRenewer instead |
Method and Description |
---|
org.apache.twill.internal.DefaultResourceSpecification.getCores() |
org.apache.twill.api.ResourceSpecification.getCores() |
org.apache.twill.internal.DefaultTwillRunResources.getLogLevel() |
org.apache.twill.api.TwillRunResources.getLogLevel()
Use
TwillRunResources.getLogLevels() to get the log levels map and get root level from the map instead. |
org.apache.twill.api.logging.LogEntry.getStackTraces()
Use
LogEntry.getThrowable() instead. |
org.apache.twill.api.TwillRunner.scheduleSecureStoreUpdate(SecureStoreUpdater, long, long, TimeUnit) |
org.apache.twill.api.ResourceSpecification.Builder.CoreSetter.setCores(int) |
org.apache.twill.api.TwillPreparer.setLogLevel(LogEntry.Level)
Use
TwillPreparer.setLogLevels(Map) with key Logger.ROOT_LOGGER_NAME instead. |
org.apache.twill.api.TwillPreparer.setUser(String)
This method will be removed in future version.
|
Constructor and Description |
---|
org.apache.twill.filesystem.FileContextLocationFactory(Configuration, FileContext, String)
Use
FileContextLocationFactory.FileContextLocationFactory(Configuration)
or FileContextLocationFactory.FileContextLocationFactory(Configuration, String) instead. The FileContext
provided to this method will only be used if the current user calling any methods of this class
matches with the UserGroupInformation of the FileContext instance. |
Copyright © 2013-2020 The Apache Software Foundation. All rights reserved.