Java Code Examples for org.apache.hadoop.ipc.ProtocolSignature#getProtocolSignature()
The following examples show how to use
org.apache.hadoop.ipc.ProtocolSignature#getProtocolSignature() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TraceAdminProtocolServerSideTranslatorPB.java From big-c with Apache License 2.0 | 5 votes |
@Override public ProtocolSignature getProtocolSignature(String protocol, long clientVersion, int clientMethodsHash) throws IOException { if (!protocol.equals(RPC.getProtocolName(TraceAdminProtocolPB.class))) { throw new IOException("Serverside implements " + RPC.getProtocolName(TraceAdminProtocolPB.class) + ". The following requested protocol is unknown: " + protocol); } return ProtocolSignature.getProtocolSignature(clientMethodsHash, RPC.getProtocolVersion(TraceAdminProtocolPB.class), TraceAdminProtocolPB.class); }
Example 2
Source File: TraceAdminProtocolServerSideTranslatorPB.java From hadoop with Apache License 2.0 | 5 votes |
@Override public ProtocolSignature getProtocolSignature(String protocol, long clientVersion, int clientMethodsHash) throws IOException { if (!protocol.equals(RPC.getProtocolName(TraceAdminProtocolPB.class))) { throw new IOException("Serverside implements " + RPC.getProtocolName(TraceAdminProtocolPB.class) + ". The following requested protocol is unknown: " + protocol); } return ProtocolSignature.getProtocolSignature(clientMethodsHash, RPC.getProtocolVersion(TraceAdminProtocolPB.class), TraceAdminProtocolPB.class); }
Example 3
Source File: YARNRunner.java From tez with Apache License 2.0 | 4 votes |
@Override public ProtocolSignature getProtocolSignature(String protocol, long clientVersion, int clientMethodsHash) throws IOException { return ProtocolSignature.getProtocolSignature(this, protocol, clientVersion, clientMethodsHash); }
Example 4
Source File: TaskAttemptListenerImpTezDag.java From incubator-tez with Apache License 2.0 | 4 votes |
@Override public ProtocolSignature getProtocolSignature(String protocol, long clientVersion, int clientMethodsHash) throws IOException { return ProtocolSignature.getProtocolSignature(this, protocol, clientVersion, clientMethodsHash); }
Example 5
Source File: UtilizationCollector.java From RDFS with Apache License 2.0 | 4 votes |
@Override public ProtocolSignature getProtocolSignature(String protocol, long clientVersion, int clientMethodsHash) throws IOException { return ProtocolSignature.getProtocolSignature( this, protocol, clientVersion, clientMethodsHash); }
Example 6
Source File: CoronaTaskTracker.java From RDFS with Apache License 2.0 | 4 votes |
@Override public ProtocolSignature getProtocolSignature(String protocol, long clientVersion, int clientMethodsHash) throws IOException { return ProtocolSignature.getProtocolSignature(this, protocol, clientVersion, clientMethodsHash); }
Example 7
Source File: LocalJobRunner.java From big-c with Apache License 2.0 | 4 votes |
@Override public ProtocolSignature getProtocolSignature(String protocol, long clientVersion, int clientMethodsHash) throws IOException { return ProtocolSignature.getProtocolSignature( this, protocol, clientVersion, clientMethodsHash); }
Example 8
Source File: LocalJobRunner.java From big-c with Apache License 2.0 | 4 votes |
@Override public ProtocolSignature getProtocolSignature(String protocol, long clientVersion, int clientMethodsHash) throws IOException { return ProtocolSignature.getProtocolSignature( this, protocol, clientVersion, clientMethodsHash); }
Example 9
Source File: TestMapProgress.java From big-c with Apache License 2.0 | 4 votes |
@Override public ProtocolSignature getProtocolSignature(String protocol, long clientVersion, int clientMethodsHash) throws IOException { return ProtocolSignature.getProtocolSignature( this, protocol, clientVersion, clientMethodsHash); }
Example 10
Source File: TestDFSClientRetries.java From RDFS with Apache License 2.0 | 4 votes |
public ProtocolSignature getProtocolSignature(String protocol, long clientVersion, int clientMethodsHash) throws IOException { return ProtocolSignature.getProtocolSignature( this, protocol, clientVersion, clientMethodsHash); }
Example 11
Source File: LocalJobRunner.java From RDFS with Apache License 2.0 | 4 votes |
public ProtocolSignature getProtocolSignature(String protocol, long clientVersion, int clientMethodsHash) throws IOException { return ProtocolSignature.getProtocolSignature( this, protocol, clientVersion, clientMethodsHash); }
Example 12
Source File: HadoopClientProtocol.java From ignite with Apache License 2.0 | 4 votes |
/** {@inheritDoc} */ @Override public ProtocolSignature getProtocolSignature(String protocol, long clientVersion, int clientMethodsHash) throws IOException { return ProtocolSignature.getProtocolSignature(this, protocol, clientVersion, clientMethodsHash); }
Example 13
Source File: RaidNode.java From RDFS with Apache License 2.0 | 4 votes |
@Override public ProtocolSignature getProtocolSignature(String protocol, long clientVersion, int clientMethodsHash) throws IOException { return ProtocolSignature.getProtocolSignature(this, protocol, clientVersion, clientMethodsHash); }
Example 14
Source File: DatanodeProtocols.java From RDFS with Apache License 2.0 | 4 votes |
@Override public ProtocolSignature getProtocolSignature(String protocol, long clientVersion, int clientMethodsHash) throws IOException { return ProtocolSignature.getProtocolSignature( this, protocol, clientVersion, clientMethodsHash); }
Example 15
Source File: LocalJobRunner.java From hadoop with Apache License 2.0 | 4 votes |
@Override public ProtocolSignature getProtocolSignature(String protocol, long clientVersion, int clientMethodsHash) throws IOException { return ProtocolSignature.getProtocolSignature( this, protocol, clientVersion, clientMethodsHash); }
Example 16
Source File: TezTaskCommunicatorImpl.java From tez with Apache License 2.0 | 4 votes |
@Override public ProtocolSignature getProtocolSignature(String protocol, long clientVersion, int clientMethodsHash) throws IOException { return ProtocolSignature.getProtocolSignature(this, protocol, clientVersion, clientMethodsHash); }
Example 17
Source File: TaskTracker.java From RDFS with Apache License 2.0 | 4 votes |
public ProtocolSignature getProtocolSignature(String protocol, long clientVersion, int clientMethodsHash) throws IOException { return ProtocolSignature.getProtocolSignature( this, protocol, clientVersion, clientMethodsHash); }
Example 18
Source File: TaskAttemptListenerImpl.java From hadoop with Apache License 2.0 | 4 votes |
@Override public ProtocolSignature getProtocolSignature(String protocol, long clientVersion, int clientMethodsHash) throws IOException { return ProtocolSignature.getProtocolSignature(this, protocol, clientVersion, clientMethodsHash); }
Example 19
Source File: CoronaJobTracker.java From RDFS with Apache License 2.0 | 4 votes |
@Override public ProtocolSignature getProtocolSignature(String protocol, long clientVersion, int clientMethodsHash) throws IOException { return ProtocolSignature.getProtocolSignature( this, protocol, clientVersion, clientMethodsHash); }
Example 20
Source File: ApplicationContainerListener.java From XLearning with Apache License 2.0 | 4 votes |
@Override public ProtocolSignature getProtocolSignature( String protocol, long clientVersion, int clientMethodsHash) throws IOException { return ProtocolSignature.getProtocolSignature(this, protocol, clientVersion, clientMethodsHash); }