HADOOP-11893. Mark org.apache.hadoop.security.token.Token as @InterfaceAudience.Public. (Brahma Reddy Battula via stevel)

This commit is contained in:
Steve Loughran 2015-07-20 13:22:03 +01:00
parent a9431425d1
commit 98c2bc87b1
8 changed files with 10 additions and 7 deletions

View File

@ -702,6 +702,9 @@ Release 2.8.0 - UNRELEASED
HADOOP-12153. ByteBufferReadable doesn't declare @InterfaceAudience and HADOOP-12153. ByteBufferReadable doesn't declare @InterfaceAudience and
@InterfaceStability. (Brahma Reddy Battula via ozawa) @InterfaceStability. (Brahma Reddy Battula via ozawa)
HADOOP-11893. Mark org.apache.hadoop.security.token.Token as
@InterfaceAudience.Public. (Brahma Reddy Battula via stevel)
OPTIMIZATIONS OPTIMIZATIONS
HADOOP-11785. Reduce the number of listStatus operation in distcp HADOOP-11785. Reduce the number of listStatus operation in distcp

View File

@ -37,7 +37,7 @@ import org.apache.hadoop.ipc.StandbyException;
* The server-side secret manager for each token type. * The server-side secret manager for each token type.
* @param <T> The type of the token identifier * @param <T> The type of the token identifier
*/ */
@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"}) @InterfaceAudience.Public
@InterfaceStability.Evolving @InterfaceStability.Evolving
public abstract class SecretManager<T extends TokenIdentifier> { public abstract class SecretManager<T extends TokenIdentifier> {
/** /**

View File

@ -36,7 +36,7 @@ import java.util.ServiceLoader;
/** /**
* The client-side form of the token. * The client-side form of the token.
*/ */
@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"}) @InterfaceAudience.Public
@InterfaceStability.Evolving @InterfaceStability.Evolving
public class Token<T extends TokenIdentifier> implements Writable { public class Token<T extends TokenIdentifier> implements Writable {
public static final Log LOG = LogFactory.getLog(Token.class); public static final Log LOG = LogFactory.getLog(Token.class);

View File

@ -33,7 +33,7 @@ import org.apache.hadoop.security.UserGroupInformation;
* An identifier that identifies a token, may contain public information * An identifier that identifies a token, may contain public information
* about a token, including its kind (or type). * about a token, including its kind (or type).
*/ */
@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"}) @InterfaceAudience.Public
@InterfaceStability.Evolving @InterfaceStability.Evolving
public abstract class TokenIdentifier implements Writable { public abstract class TokenIdentifier implements Writable {

View File

@ -28,7 +28,7 @@ import org.apache.hadoop.classification.InterfaceStability;
*/ */
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE) @Target(ElementType.TYPE)
@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"}) @InterfaceAudience.Public
@InterfaceStability.Evolving @InterfaceStability.Evolving
public @interface TokenInfo { public @interface TokenInfo {
/** The type of TokenSelector to be used */ /** The type of TokenSelector to be used */

View File

@ -28,7 +28,7 @@ import org.apache.hadoop.io.Text;
/** /**
* This is the interface for plugins that handle tokens. * This is the interface for plugins that handle tokens.
*/ */
@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"}) @InterfaceAudience.Public
@InterfaceStability.Evolving @InterfaceStability.Evolving
public abstract class TokenRenewer { public abstract class TokenRenewer {

View File

@ -30,7 +30,7 @@ import org.apache.hadoop.io.Text;
* @param <T> * @param <T>
* T extends TokenIdentifier * T extends TokenIdentifier
*/ */
@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"}) @InterfaceAudience.Public
@InterfaceStability.Evolving @InterfaceStability.Evolving
public interface TokenSelector<T extends TokenIdentifier> { public interface TokenSelector<T extends TokenIdentifier> {
Token<T> selectToken(Text service, Token<T> selectToken(Text service,

View File

@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
@InterfaceAudience.LimitedPrivate({"HBase", "HDFS", "MapReduce"}) @InterfaceAudience.Public
@InterfaceStability.Evolving @InterfaceStability.Evolving
package org.apache.hadoop.security.token; package org.apache.hadoop.security.token;
import org.apache.hadoop.classification.InterfaceAudience; import org.apache.hadoop.classification.InterfaceAudience;