|
@@ -24,13 +24,6 @@ import org.apache.hadoop.ipc.ProtocolInfo;
|
|
|
import org.apache.hadoop.security.KerberosInfo;
|
|
|
import org.apache.hadoop.hdfs.protocol.proto.ReconfigurationProtocolProtos.ReconfigurationProtocolService;
|
|
|
|
|
|
-@KerberosInfo(serverPrincipal =
|
|
|
- CommonConfigurationKeys.HADOOP_SECURITY_SERVICE_USER_NAME_KEY)
|
|
|
-@ProtocolInfo(
|
|
|
- protocolName = "org.apache.hadoop.hdfs.protocol.ReconfigurationProtocol",
|
|
|
- protocolVersion = 1)
|
|
|
-@InterfaceAudience.Public
|
|
|
-@InterfaceStability.Evolving
|
|
|
/**
|
|
|
* Protocol that clients use to communicate with the NN/DN to do
|
|
|
* reconfiguration on the fly.
|
|
@@ -38,6 +31,13 @@ import org.apache.hadoop.hdfs.protocol.proto.ReconfigurationProtocolProtos.Recon
|
|
|
* Note: This extends the protocolbuffer service based interface to
|
|
|
* add annotations required for security.
|
|
|
*/
|
|
|
+@KerberosInfo(serverPrincipal =
|
|
|
+ CommonConfigurationKeys.HADOOP_SECURITY_SERVICE_USER_NAME_KEY)
|
|
|
+@ProtocolInfo(
|
|
|
+ protocolName = "org.apache.hadoop.hdfs.protocol.ReconfigurationProtocol",
|
|
|
+ protocolVersion = 1)
|
|
|
+@InterfaceAudience.Public
|
|
|
+@InterfaceStability.Evolving
|
|
|
public interface ReconfigurationProtocolPB extends
|
|
|
ReconfigurationProtocolService.BlockingInterface {
|
|
|
}
|