[jira] [Updated] (HDFS-5663) make the retry time and interval value configurable in openInfo()

2013-12-18 Thread stack (JIRA)

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

stack updated HDFS-5663:


   Resolution: Fixed
Fix Version/s: 2.4.0
 Release Note: 
Makes the retries and time between retries getting the length of the last block 
on file configurable.  Below are the new configurations.

dfs.client.retry.times.get-last-block-length
dfs.client.retry.interval-ms.get-last-block-length

They are set to the 3 and 4000 respectively, these being what was previously 
hardcoded.


 Hadoop Flags: Reviewed
   Status: Resolved  (was: Patch Available)

Committed to branch-2 and trunk.  Thanks for the patch [~xieliang007]

> make the retry time and interval value configurable in openInfo()
> -
>
> Key: HDFS-5663
> URL: https://issues.apache.org/jira/browse/HDFS-5663
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: hdfs-client
>Affects Versions: 3.0.0, 2.2.0
>Reporter: Liang Xie
>Assignee: Liang Xie
> Fix For: 2.4.0
>
> Attachments: HDFS-5663.txt, HDFS-5663.txt
>
>
> The original idea raised from Michael here: 
> https://issues.apache.org/jira/browse/HDFS-1605?focusedCommentId=13846972&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13846972
> It would be better to have a lower interval value especially for online 
> service, like HBase.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Updated] (HDFS-5663) make the retry time and interval value configurable in openInfo()

2013-12-16 Thread stack (JIRA)

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

stack updated HDFS-5663:


Attachment: HDFS-5663.txt

Retry

> make the retry time and interval value configurable in openInfo()
> -
>
> Key: HDFS-5663
> URL: https://issues.apache.org/jira/browse/HDFS-5663
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: hdfs-client
>Affects Versions: 3.0.0, 2.2.0
>Reporter: Liang Xie
>Assignee: Liang Xie
> Attachments: HDFS-5663.txt, HDFS-5663.txt
>
>
> The original idea raised from Michael here: 
> https://issues.apache.org/jira/browse/HDFS-1605?focusedCommentId=13846972&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13846972
> It would be better to have a lower interval value especially for online 
> service, like HBase.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Updated] (HDFS-5663) make the retry time and interval value configurable in openInfo()

2013-12-13 Thread Liang Xie (JIRA)

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

Liang Xie updated HDFS-5663:


Status: Patch Available  (was: Open)

> make the retry time and interval value configurable in openInfo()
> -
>
> Key: HDFS-5663
> URL: https://issues.apache.org/jira/browse/HDFS-5663
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: hdfs-client
>Affects Versions: 2.2.0, 3.0.0
>Reporter: Liang Xie
>Assignee: Liang Xie
> Attachments: HDFS-5663.txt
>
>
> The original idea raised from Michael here: 
> https://issues.apache.org/jira/browse/HDFS-1605?focusedCommentId=13846972&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13846972
> It would be better to have a lower interval value especially for online 
> service, like HBase.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Updated] (HDFS-5663) make the retry time and interval value configurable in openInfo()

2013-12-13 Thread Liang Xie (JIRA)

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

Liang Xie updated HDFS-5663:


Attachment: HDFS-5663.txt

Attached is a trivial patch for it.

> make the retry time and interval value configurable in openInfo()
> -
>
> Key: HDFS-5663
> URL: https://issues.apache.org/jira/browse/HDFS-5663
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: hdfs-client
>Affects Versions: 3.0.0, 2.2.0
>Reporter: Liang Xie
>Assignee: Liang Xie
> Attachments: HDFS-5663.txt
>
>
> The original idea raised from Michael here: 
> https://issues.apache.org/jira/browse/HDFS-1605?focusedCommentId=13846972&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13846972
> It would be better to have a lower interval value especially for online 
> service, like HBase.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)