|
@@ -52,6 +52,8 @@ import org.apache.hadoop.security.SaslRpcServer;
|
|
|
import org.apache.hadoop.security.UserGroupInformation;
|
|
|
import org.apache.hadoop.security.token.SecretManager;
|
|
|
import org.apache.hadoop.security.token.TokenIdentifier;
|
|
|
+import org.apache.hadoop.classification.InterfaceAudience;
|
|
|
+import org.apache.hadoop.classification.InterfaceStability;
|
|
|
import org.apache.hadoop.conf.*;
|
|
|
import org.apache.hadoop.util.ReflectionUtils;
|
|
|
import org.apache.hadoop.util.Time;
|
|
@@ -76,6 +78,8 @@ import com.google.protobuf.BlockingService;
|
|
|
* All methods in the protocol should throw only IOException. No field data of
|
|
|
* the protocol instance is transmitted.
|
|
|
*/
|
|
|
+@InterfaceAudience.LimitedPrivate(value = { "Common", "HDFS", "MapReduce", "Yarn" })
|
|
|
+@InterfaceStability.Evolving
|
|
|
public class RPC {
|
|
|
final static int RPC_SERVICE_CLASS_DEFAULT = 0;
|
|
|
public enum RpcKind {
|