Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-14721

RBF: ProxyOpComplete is not accurate in FederationRPCPerformanceMonitor

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: rbf
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      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.

      // 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;

        Attachments

        1. HDFS-14721-trunk-001.patch
          5 kB
          xuzq
        2. HDFS-14721-trunk-002.patch
          5 kB
          xuzq
        3. HDFS-14721-trunk-003.patch
          4 kB
          xuzq
        4. HDFS-14721-trunk-004.patch
          4 kB
          xuzq

          Activity

            People

            • Assignee:
              xuzq_zander xuzq
              Reporter:
              xuzq_zander xuzq
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: