[jira] [Commented] (HBASE-3767) Improve how HTable handles threads used for multi actions

2011-12-05 Thread Nicolas Spiegelberg (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-3767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13163116#comment-13163116
 ] 

Nicolas Spiegelberg commented on HBASE-3767:


@JD: From your description of the SynchronousQueue

{code}
Direct handoffs generally require unbounded maximumPoolSizes to avoid rejection 
of new submitted tasks.
{code}

It seems like we should either add rejected task handling or not allow the user 
to specify hbase.htable.threads.max anymore, correct?

 Improve how HTable handles threads used for multi actions
 -

 Key: HBASE-3767
 URL: https://issues.apache.org/jira/browse/HBASE-3767
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.90.2
Reporter: Jean-Daniel Cryans
Assignee: Jean-Daniel Cryans
 Fix For: 0.90.3

 Attachments: HBASE-3767-v2.patch, HBASE-3767.patch


 When creating a new HTable we have to query ZK to learn about the number of 
 region servers in the cluster. That is done for every single one of them, I 
 think instead we should do it once per JVM and then reuse that number for all 
 the others.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HBASE-3767) Improve how HTable handles threads used for multi actions

2011-12-05 Thread Jean-Daniel Cryans (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-3767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13163227#comment-13163227
 ] 

Jean-Daniel Cryans commented on HBASE-3767:
---

Yeah, maybe deprecate it first and print a WARN message then eventually remove.

 Improve how HTable handles threads used for multi actions
 -

 Key: HBASE-3767
 URL: https://issues.apache.org/jira/browse/HBASE-3767
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.90.2
Reporter: Jean-Daniel Cryans
Assignee: Jean-Daniel Cryans
 Fix For: 0.90.3

 Attachments: HBASE-3767-v2.patch, HBASE-3767.patch


 When creating a new HTable we have to query ZK to learn about the number of 
 region servers in the cluster. That is done for every single one of them, I 
 think instead we should do it once per JVM and then reuse that number for all 
 the others.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HBASE-3767) Improve how HTable handles threads used for multi actions

2011-04-18 Thread stack (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-3767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13021176#comment-13021176
 ] 

stack commented on HBASE-3767:
--

+1

 Improve how HTable handles threads used for multi actions
 -

 Key: HBASE-3767
 URL: https://issues.apache.org/jira/browse/HBASE-3767
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.90.2
Reporter: Jean-Daniel Cryans
Assignee: Jean-Daniel Cryans
 Fix For: 0.90.3

 Attachments: HBASE-3767-v2.patch, HBASE-3767.patch


 When creating a new HTable we have to query ZK to learn about the number of 
 region servers in the cluster. That is done for every single one of them, I 
 think instead we should do it once per JVM and then reuse that number for all 
 the others.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-3767) Improve how HTable handles threads used for multi actions

2011-04-18 Thread Jean-Daniel Cryans (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-3767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13021285#comment-13021285
 ] 

Jean-Daniel Cryans commented on HBASE-3767:
---

Yep, Ted noticed that earlier and I just committed the fix.

For 0.90 I just readded the method in HTable.

For trunk I moved it to HConnection instead.

 Improve how HTable handles threads used for multi actions
 -

 Key: HBASE-3767
 URL: https://issues.apache.org/jira/browse/HBASE-3767
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.90.2
Reporter: Jean-Daniel Cryans
Assignee: Jean-Daniel Cryans
 Fix For: 0.90.3

 Attachments: HBASE-3767-v2.patch, HBASE-3767.patch


 When creating a new HTable we have to query ZK to learn about the number of 
 region servers in the cluster. That is done for every single one of them, I 
 think instead we should do it once per JVM and then reuse that number for all 
 the others.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HBASE-3767) Improve how HTable handles threads used for multi actions

2011-04-18 Thread Dave Latham (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-3767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13021289#comment-13021289
 ] 

Dave Latham commented on HBASE-3767:


That was quick, thanks!

 Improve how HTable handles threads used for multi actions
 -

 Key: HBASE-3767
 URL: https://issues.apache.org/jira/browse/HBASE-3767
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.90.2
Reporter: Jean-Daniel Cryans
Assignee: Jean-Daniel Cryans
 Fix For: 0.90.3

 Attachments: HBASE-3767-v2.patch, HBASE-3767.patch


 When creating a new HTable we have to query ZK to learn about the number of 
 region servers in the cluster. That is done for every single one of them, I 
 think instead we should do it once per JVM and then reuse that number for all 
 the others.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira