|
@@ -383,7 +383,8 @@ public abstract class FileSystem extends Configured implements Closeable {
|
|
* if the filesystem does not implement tokens
|
|
* if the filesystem does not implement tokens
|
|
* @see SecurityUtil#buildDTServiceName(URI, int)
|
|
* @see SecurityUtil#buildDTServiceName(URI, int)
|
|
*/
|
|
*/
|
|
- @InterfaceAudience.LimitedPrivate({ "HDFS", "MapReduce" })
|
|
|
|
|
|
+ @InterfaceAudience.Public
|
|
|
|
+ @InterfaceStability.Evolving
|
|
public String getCanonicalServiceName() {
|
|
public String getCanonicalServiceName() {
|
|
return (getChildFileSystems() == null)
|
|
return (getChildFileSystems() == null)
|
|
? SecurityUtil.buildDTServiceName(getUri(), getDefaultPort())
|
|
? SecurityUtil.buildDTServiceName(getUri(), getDefaultPort())
|
|
@@ -617,7 +618,8 @@ public abstract class FileSystem extends Configured implements Closeable {
|
|
* @return list of new delegation tokens
|
|
* @return list of new delegation tokens
|
|
* @throws IOException problems obtaining a token
|
|
* @throws IOException problems obtaining a token
|
|
*/
|
|
*/
|
|
- @InterfaceAudience.LimitedPrivate({ "HDFS", "MapReduce" })
|
|
|
|
|
|
+ @InterfaceAudience.Public
|
|
|
|
+ @InterfaceStability.Evolving
|
|
public Token<?>[] addDelegationTokens(
|
|
public Token<?>[] addDelegationTokens(
|
|
final String renewer, Credentials credentials) throws IOException {
|
|
final String renewer, Credentials credentials) throws IOException {
|
|
if (credentials == null) {
|
|
if (credentials == null) {
|