HADOOP-15704. Mark ABFS extension package and interfaces as LimitedPrivate/Unstable.

Contributed by Steve Loughran.
This commit is contained in:
Steve Loughran 2018-09-20 17:35:09 +01:00 committed by Yuan Gao
parent 920b77c8d7
commit 6c7c8b83f7
3 changed files with 18 additions and 3 deletions

View File

@ -21,6 +21,8 @@ package org.apache.hadoop.fs.azurebfs.extensions;
import java.io.IOException; import java.io.IOException;
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.security.token.delegation.web.DelegationTokenIdentifier; import org.apache.hadoop.security.token.delegation.web.DelegationTokenIdentifier;
import org.apache.hadoop.security.token.Token; import org.apache.hadoop.security.token.Token;
@ -28,6 +30,8 @@ import org.apache.hadoop.security.token.Token;
/** /**
* Interface for Managing the Delegation tokens. * Interface for Managing the Delegation tokens.
*/ */
@InterfaceAudience.LimitedPrivate("authorization-subsystems")
@InterfaceStability.Unstable
public interface CustomDelegationTokenManager { public interface CustomDelegationTokenManager {
/** /**

View File

@ -35,8 +35,8 @@ import org.apache.hadoop.conf.Configuration;
* This class will be dynamically loaded, initialized, and invoked to provide * This class will be dynamically loaded, initialized, and invoked to provide
* AAD Access Tokens and their Expiry. * AAD Access Tokens and their Expiry.
*/ */
@InterfaceAudience.Public @InterfaceAudience.LimitedPrivate("authorization-subsystems")
@InterfaceStability.Evolving @InterfaceStability.Unstable
public interface CustomTokenProviderAdaptee { public interface CustomTokenProviderAdaptee {
/** /**

View File

@ -16,6 +16,17 @@
* limitations under the License. * limitations under the License.
*/ */
@InterfaceAudience.Public /**
* This package is for extension points under ABFS;
* There are no stability guarantees as these extension points are
* deep inside the ABFS implementation code.
*
* Note, however: this is how the ABFS client integrates with
* authorization services and other aspects of Azure's infrastructure.
* Do not change these APIs without good reason or detailed discussion.
*/
@InterfaceAudience.LimitedPrivate("authorization-subsystems")
@InterfaceStability.Unstable
package org.apache.hadoop.fs.azurebfs.extensions; package org.apache.hadoop.fs.azurebfs.extensions;
import org.apache.hadoop.classification.InterfaceAudience; import org.apache.hadoop.classification.InterfaceAudience;
import org.apache.hadoop.classification.InterfaceStability;