You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "xuzq (JIRA)" <ji...@apache.org> on 2019/08/12 09:25:00 UTC

[jira] [Created] (HDFS-14721) RBF: ProxyOpComplete is not accurate in FederationRPCPerformanceMonitor

xuzq created HDFS-14721:
---------------------------

             Summary: RBF: ProxyOpComplete is not accurate in FederationRPCPerformanceMonitor
                 Key: HDFS-14721
                 URL: https://issues.apache.org/jira/browse/HDFS-14721
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: rbf
            Reporter: xuzq
            Assignee: xuzq


ProxyOpComplete is not accurate in FederationRPCPerformanceMonitor when RemoteException is returned.

Because the remoteException is unwrap in invoke method, and it will be proxyOpComplete(false) in invokeMethod.
{code:java}
// invoke method
if (ioe instanceof RemoteException) {
  RemoteException re = (RemoteException) ioe;
  ioe = re.unwrapRemoteException();
  ioe = getCleanException(ioe);
}

// invokeMethod method
if (this.rpcMonitor != null) {
  this.rpcMonitor.proxyOpFailureCommunicate();
  this.rpcMonitor.proxyOpComplete(false);
}
throw ioe;{code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org