[jira] [Updated] (HDFS-12329) Ozone: Ratis: Readonly calls in XceiverClientRatis should use sendReadOnly

2017-09-19 Thread Weiwei Yang (JIRA)

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

Weiwei Yang updated HDFS-12329:
---
  Resolution: Fixed
Hadoop Flags: Reviewed
  Status: Resolved  (was: Patch Available)

Committed to the feature branch, thanks [~msingh] for the contribution.

> Ozone: Ratis: Readonly calls in XceiverClientRatis should use sendReadOnly
> --
>
> Key: HDFS-12329
> URL: https://issues.apache.org/jira/browse/HDFS-12329
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: ozone
>Affects Versions: HDFS-7240
>Reporter: Mukul Kumar Singh
>Assignee: Mukul Kumar Singh
>  Labels: OzonePostMerge
> Fix For: HDFS-7240
>
> Attachments: HDFS-12329-HDFS-7240.001.patch, 
> HDFS-12329-HDFS-7240.002.patch, HDFS-12329-HDFS-7240.003.patch, 
> HDFS-12329-HDFS-7240.004.patch
>
>
> Currently both write and readonly calls in Ratis use RaftClient.send which 
> enqueues the the request to the raft log and is processed later when the log 
> entry is consumed.
> Readonly call can be optimized by using RaftClient.sendReadOnly which will 
> directly query the RaftServer for a particular request.
> This jira will be used to discuss this issue.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (HDFS-12329) Ozone: Ratis: Readonly calls in XceiverClientRatis should use sendReadOnly

2017-09-19 Thread Mukul Kumar Singh (JIRA)

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

Mukul Kumar Singh updated HDFS-12329:
-
Attachment: HDFS-12329-HDFS-7240.004.patch

> Ozone: Ratis: Readonly calls in XceiverClientRatis should use sendReadOnly
> --
>
> Key: HDFS-12329
> URL: https://issues.apache.org/jira/browse/HDFS-12329
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: ozone
>Affects Versions: HDFS-7240
>Reporter: Mukul Kumar Singh
>Assignee: Mukul Kumar Singh
>  Labels: OzonePostMerge
> Fix For: HDFS-7240
>
> Attachments: HDFS-12329-HDFS-7240.001.patch, 
> HDFS-12329-HDFS-7240.002.patch, HDFS-12329-HDFS-7240.003.patch, 
> HDFS-12329-HDFS-7240.004.patch
>
>
> Currently both write and readonly calls in Ratis use RaftClient.send which 
> enqueues the the request to the raft log and is processed later when the log 
> entry is consumed.
> Readonly call can be optimized by using RaftClient.sendReadOnly which will 
> directly query the RaftServer for a particular request.
> This jira will be used to discuss this issue.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (HDFS-12329) Ozone: Ratis: Readonly calls in XceiverClientRatis should use sendReadOnly

2017-09-19 Thread Mukul Kumar Singh (JIRA)

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

Mukul Kumar Singh updated HDFS-12329:
-
Attachment: (was: HDFS-12329-HDFS-7240.004.patch)

> Ozone: Ratis: Readonly calls in XceiverClientRatis should use sendReadOnly
> --
>
> Key: HDFS-12329
> URL: https://issues.apache.org/jira/browse/HDFS-12329
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: ozone
>Affects Versions: HDFS-7240
>Reporter: Mukul Kumar Singh
>Assignee: Mukul Kumar Singh
>  Labels: OzonePostMerge
> Fix For: HDFS-7240
>
> Attachments: HDFS-12329-HDFS-7240.001.patch, 
> HDFS-12329-HDFS-7240.002.patch, HDFS-12329-HDFS-7240.003.patch, 
> HDFS-12329-HDFS-7240.004.patch
>
>
> Currently both write and readonly calls in Ratis use RaftClient.send which 
> enqueues the the request to the raft log and is processed later when the log 
> entry is consumed.
> Readonly call can be optimized by using RaftClient.sendReadOnly which will 
> directly query the RaftServer for a particular request.
> This jira will be used to discuss this issue.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (HDFS-12329) Ozone: Ratis: Readonly calls in XceiverClientRatis should use sendReadOnly

2017-09-19 Thread Mukul Kumar Singh (JIRA)

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

Mukul Kumar Singh updated HDFS-12329:
-
Attachment: HDFS-12329-HDFS-7240.004.patch

> Ozone: Ratis: Readonly calls in XceiverClientRatis should use sendReadOnly
> --
>
> Key: HDFS-12329
> URL: https://issues.apache.org/jira/browse/HDFS-12329
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: ozone
>Affects Versions: HDFS-7240
>Reporter: Mukul Kumar Singh
>Assignee: Mukul Kumar Singh
>  Labels: OzonePostMerge
> Fix For: HDFS-7240
>
> Attachments: HDFS-12329-HDFS-7240.001.patch, 
> HDFS-12329-HDFS-7240.002.patch, HDFS-12329-HDFS-7240.003.patch, 
> HDFS-12329-HDFS-7240.004.patch
>
>
> Currently both write and readonly calls in Ratis use RaftClient.send which 
> enqueues the the request to the raft log and is processed later when the log 
> entry is consumed.
> Readonly call can be optimized by using RaftClient.sendReadOnly which will 
> directly query the RaftServer for a particular request.
> This jira will be used to discuss this issue.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (HDFS-12329) Ozone: Ratis: Readonly calls in XceiverClientRatis should use sendReadOnly

2017-09-15 Thread Mukul Kumar Singh (JIRA)

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

Mukul Kumar Singh updated HDFS-12329:
-
Attachment: HDFS-12329-HDFS-7240.003.patch

Thanks for the review [~cheersyang], I have fixed the logging comment in the 
latest patch. Please have a look again.

> Ozone: Ratis: Readonly calls in XceiverClientRatis should use sendReadOnly
> --
>
> Key: HDFS-12329
> URL: https://issues.apache.org/jira/browse/HDFS-12329
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: ozone
>Affects Versions: HDFS-7240
>Reporter: Mukul Kumar Singh
>Assignee: Mukul Kumar Singh
>  Labels: OzonePostMerge
> Fix For: HDFS-7240
>
> Attachments: HDFS-12329-HDFS-7240.001.patch, 
> HDFS-12329-HDFS-7240.002.patch, HDFS-12329-HDFS-7240.003.patch
>
>
> Currently both write and readonly calls in Ratis use RaftClient.send which 
> enqueues the the request to the raft log and is processed later when the log 
> entry is consumed.
> Readonly call can be optimized by using RaftClient.sendReadOnly which will 
> directly query the RaftServer for a particular request.
> This jira will be used to discuss this issue.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (HDFS-12329) Ozone: Ratis: Readonly calls in XceiverClientRatis should use sendReadOnly

2017-09-11 Thread Anu Engineer (JIRA)

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

Anu Engineer updated HDFS-12329:

Labels: OzonePostMerge  (was: ozoneMerge)

> Ozone: Ratis: Readonly calls in XceiverClientRatis should use sendReadOnly
> --
>
> Key: HDFS-12329
> URL: https://issues.apache.org/jira/browse/HDFS-12329
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: ozone
>Affects Versions: HDFS-7240
>Reporter: Mukul Kumar Singh
>Assignee: Mukul Kumar Singh
>  Labels: OzonePostMerge
> Fix For: HDFS-7240
>
> Attachments: HDFS-12329-HDFS-7240.001.patch, 
> HDFS-12329-HDFS-7240.002.patch
>
>
> Currently both write and readonly calls in Ratis use RaftClient.send which 
> enqueues the the request to the raft log and is processed later when the log 
> entry is consumed.
> Readonly call can be optimized by using RaftClient.sendReadOnly which will 
> directly query the RaftServer for a particular request.
> This jira will be used to discuss this issue.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (HDFS-12329) Ozone: Ratis: Readonly calls in XceiverClientRatis should use sendReadOnly

2017-09-06 Thread Anu Engineer (JIRA)

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

Anu Engineer updated HDFS-12329:

Labels: ozoneMerge  (was: )

> Ozone: Ratis: Readonly calls in XceiverClientRatis should use sendReadOnly
> --
>
> Key: HDFS-12329
> URL: https://issues.apache.org/jira/browse/HDFS-12329
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: ozone
>Affects Versions: HDFS-7240
>Reporter: Mukul Kumar Singh
>Assignee: Mukul Kumar Singh
>  Labels: ozoneMerge
> Fix For: HDFS-7240
>
> Attachments: HDFS-12329-HDFS-7240.001.patch, 
> HDFS-12329-HDFS-7240.002.patch
>
>
> Currently both write and readonly calls in Ratis use RaftClient.send which 
> enqueues the the request to the raft log and is processed later when the log 
> entry is consumed.
> Readonly call can be optimized by using RaftClient.sendReadOnly which will 
> directly query the RaftServer for a particular request.
> This jira will be used to discuss this issue.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (HDFS-12329) Ozone: Ratis: Readonly calls in XceiverClientRatis should use sendReadOnly

2017-08-28 Thread Mukul Kumar Singh (JIRA)

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

Mukul Kumar Singh updated HDFS-12329:
-
Attachment: HDFS-12329-HDFS-7240.002.patch

patch v2 fixes checkstyle issues.

> Ozone: Ratis: Readonly calls in XceiverClientRatis should use sendReadOnly
> --
>
> Key: HDFS-12329
> URL: https://issues.apache.org/jira/browse/HDFS-12329
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: ozone
>Affects Versions: HDFS-7240
>Reporter: Mukul Kumar Singh
>Assignee: Mukul Kumar Singh
> Fix For: HDFS-7240
>
> Attachments: HDFS-12329-HDFS-7240.001.patch, 
> HDFS-12329-HDFS-7240.002.patch
>
>
> Currently both write and readonly calls in Ratis use RaftClient.send which 
> enqueues the the request to the raft log and is processed later when the log 
> entry is consumed.
> Readonly call can be optimized by using RaftClient.sendReadOnly which will 
> directly query the RaftServer for a particular request.
> This jira will be used to discuss this issue.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (HDFS-12329) Ozone: Ratis: Readonly calls in XceiverClientRatis should use sendReadOnly

2017-08-27 Thread Mukul Kumar Singh (JIRA)

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

Mukul Kumar Singh updated HDFS-12329:
-
Status: Patch Available  (was: Open)

> Ozone: Ratis: Readonly calls in XceiverClientRatis should use sendReadOnly
> --
>
> Key: HDFS-12329
> URL: https://issues.apache.org/jira/browse/HDFS-12329
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: ozone
>Affects Versions: HDFS-7240
>Reporter: Mukul Kumar Singh
>Assignee: Mukul Kumar Singh
> Fix For: HDFS-7240
>
> Attachments: HDFS-12329-HDFS-7240.001.patch
>
>
> Currently both write and readonly calls in Ratis use RaftClient.send which 
> enqueues the the request to the raft log and is processed later when the log 
> entry is consumed.
> Readonly call can be optimized by using RaftClient.sendReadOnly which will 
> directly query the RaftServer for a particular request.
> This jira will be used to discuss this issue.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (HDFS-12329) Ozone: Ratis: Readonly calls in XceiverClientRatis should use sendReadOnly

2017-08-27 Thread Mukul Kumar Singh (JIRA)

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

Mukul Kumar Singh updated HDFS-12329:
-
Attachment: HDFS-12329-HDFS-7240.001.patch

> Ozone: Ratis: Readonly calls in XceiverClientRatis should use sendReadOnly
> --
>
> Key: HDFS-12329
> URL: https://issues.apache.org/jira/browse/HDFS-12329
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: ozone
>Affects Versions: HDFS-7240
>Reporter: Mukul Kumar Singh
>Assignee: Mukul Kumar Singh
> Fix For: HDFS-7240
>
> Attachments: HDFS-12329-HDFS-7240.001.patch
>
>
> Currently both write and readonly calls in Ratis use RaftClient.send which 
> enqueues the the request to the raft log and is processed later when the log 
> entry is consumed.
> Readonly call can be optimized by using RaftClient.sendReadOnly which will 
> directly query the RaftServer for a particular request.
> This jira will be used to discuss this issue.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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