|
@@ -31,7 +31,9 @@ import org.apache.hadoop.security.KerberosInfo;
|
|
* Protocol that a secondary NameNode uses to communicate with the NameNode.
|
|
* Protocol that a secondary NameNode uses to communicate with the NameNode.
|
|
* It's used to get part of the name node state
|
|
* It's used to get part of the name node state
|
|
*****************************************************************************/
|
|
*****************************************************************************/
|
|
-@KerberosInfo(DFSConfigKeys.DFS_NAMENODE_USER_NAME_KEY)
|
|
|
|
|
|
+@KerberosInfo(
|
|
|
|
+ serverPrincipal = DFSConfigKeys.DFS_NAMENODE_USER_NAME_KEY,
|
|
|
|
+ clientPrincipal = DFSConfigKeys.DFS_NAMENODE_USER_NAME_KEY)
|
|
public interface NamenodeProtocol extends VersionedProtocol {
|
|
public interface NamenodeProtocol extends VersionedProtocol {
|
|
/**
|
|
/**
|
|
* Compared to the previous version the following changes have been introduced:
|
|
* Compared to the previous version the following changes have been introduced:
|