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

2019-08-29 Thread Ayush Saxena (Jira)


 [ 
https://issues.apache.org/jira/browse/HDFS-14721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ayush Saxena updated HDFS-14721:

Fix Version/s: 3.3.0
 Hadoop Flags: Reviewed
   Resolution: Fixed
   Status: Resolved  (was: Patch Available)

Committed to trunk.
Thanx [~xuzq_zander] for the contribution and [~elgoiri] for the review!!!

> 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
>Priority: Major
> Fix For: 3.3.0
>
> Attachments: HDFS-14721-trunk-001.patch, HDFS-14721-trunk-002.patch, 
> HDFS-14721-trunk-003.patch, HDFS-14721-trunk-004.patch
>
>
> 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
(v8.3.2#803003)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



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

2019-08-28 Thread xuzq (Jira)


 [ 
https://issues.apache.org/jira/browse/HDFS-14721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

xuzq updated HDFS-14721:

Attachment: HDFS-14721-trunk-004.patch

> 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
>Priority: Major
> Attachments: HDFS-14721-trunk-001.patch, HDFS-14721-trunk-002.patch, 
> HDFS-14721-trunk-003.patch, HDFS-14721-trunk-004.patch
>
>
> 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
(v8.3.2#803003)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



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

2019-08-22 Thread xuzq (Jira)


 [ 
https://issues.apache.org/jira/browse/HDFS-14721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

xuzq updated HDFS-14721:

Attachment: HDFS-14721-trunk-003.patch
Status: Patch Available  (was: Open)

> 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
>Priority: Major
> Attachments: HDFS-14721-trunk-001.patch, HDFS-14721-trunk-002.patch, 
> HDFS-14721-trunk-003.patch
>
>
> 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
(v8.3.2#803003)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



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

2019-08-12 Thread xuzq (JIRA)


 [ 
https://issues.apache.org/jira/browse/HDFS-14721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

xuzq updated HDFS-14721:

Attachment: HDFS-14721-trunk-002.patch

> 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
>Priority: Major
> Attachments: HDFS-14721-trunk-001.patch, HDFS-14721-trunk-002.patch
>
>
> 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-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



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

2019-08-12 Thread xuzq (JIRA)


 [ 
https://issues.apache.org/jira/browse/HDFS-14721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

xuzq updated HDFS-14721:

Attachment: HDFS-14721-trunk-001.patch

> 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
>Priority: Major
> Attachments: HDFS-14721-trunk-001.patch
>
>
> 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-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org