[jira] [Commented] (HBASE-5177) HTable needs a non cached version of getRegionLocation

2012-01-12 Thread Phabricator (Commented) (JIRA)

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

Phabricator commented on HBASE-5177:


tedyu has commented on the revision HBASE-5177 [jira] Add a non-caching 
version of getRegionLocation..

  Two minor changes, considering the original table.getRegionLocation() has 
been deprecated.

INLINE COMMENTS
  src/test/java/org/apache/hadoop/hbase/client/TestFromClientSide.java:4163 
false should be passed as second parameter for getRegionLocation().
  src/test/java/org/apache/hadoop/hbase/client/TestFromClientSide.java:4187 
false should be passed as second parameter for getRegionLocation().

REVISION DETAIL
  https://reviews.facebook.net/D1197


 HTable needs a non cached version of getRegionLocation
 --

 Key: HBASE-5177
 URL: https://issues.apache.org/jira/browse/HBASE-5177
 Project: HBase
  Issue Type: New Feature
Affects Versions: 0.90.4
Reporter: Pritam Damania
Assignee: Pritam Damania
Priority: Minor
 Attachments: 5177-trunk.txt, HBASE-5177.D1197.2.patch


 There is a need for a non caching version of getRegionLocation
 on the client side. This API is needed to quickly lookup the regionserver
 that hosts a particular region without using the heavy weight
 getRegionsInfo() method.

--
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-5177) HTable needs a non cached version of getRegionLocation

2012-01-12 Thread Hadoop QA (Commented) (JIRA)

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

Hadoop QA commented on HBASE-5177:
--

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12510407/5177-trunk.txt
  against trunk revision .

+1 @author.  The patch does not contain any @author tags.

+1 tests included.  The patch appears to include 3 new or modified tests.

-1 javadoc.  The javadoc tool appears to have generated -147 warning 
messages.

+1 javac.  The applied patch does not increase the total number of javac 
compiler warnings.

-1 findbugs.  The patch appears to introduce 80 new Findbugs (version 
1.3.9) warnings.

+1 release audit.  The applied patch does not increase the total number of 
release audit warnings.

 -1 core tests.  The patch failed these unit tests:
   org.apache.hadoop.hbase.mapreduce.TestImportTsv
  org.apache.hadoop.hbase.mapred.TestTableMapReduce
  org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat

Test results: 
https://builds.apache.org/job/PreCommit-HBASE-Build/749//testReport/
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/749//artifact/trunk/patchprocess/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/749//console

This message is automatically generated.

 HTable needs a non cached version of getRegionLocation
 --

 Key: HBASE-5177
 URL: https://issues.apache.org/jira/browse/HBASE-5177
 Project: HBase
  Issue Type: New Feature
Affects Versions: 0.90.4
Reporter: Pritam Damania
Assignee: Pritam Damania
Priority: Minor
 Attachments: 5177-trunk.txt, HBASE-5177.D1197.2.patch


 There is a need for a non caching version of getRegionLocation
 on the client side. This API is needed to quickly lookup the regionserver
 that hosts a particular region without using the heavy weight
 getRegionsInfo() method.

--
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-5177) HTable needs a non cached version of getRegionLocation

2012-01-12 Thread Hudson (Commented) (JIRA)

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

Hudson commented on HBASE-5177:
---

Integrated in HBase-TRUNK #2624 (See 
[https://builds.apache.org/job/HBase-TRUNK/2624/])
HBASE-5177 Differential Revision: 1197 HTable needs a non cached version of 
getRegionLocation (Pritam Damania)

tedyu : 
Files : 
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HTable.java
* 
/hbase/trunk/src/test/java/org/apache/hadoop/hbase/client/TestFromClientSide.java


 HTable needs a non cached version of getRegionLocation
 --

 Key: HBASE-5177
 URL: https://issues.apache.org/jira/browse/HBASE-5177
 Project: HBase
  Issue Type: New Feature
Affects Versions: 0.90.4
Reporter: Pritam Damania
Assignee: Pritam Damania
Priority: Minor
 Fix For: 0.94.0

 Attachments: 5177-trunk.txt, HBASE-5177.D1197.2.patch


 There is a need for a non caching version of getRegionLocation
 on the client side. This API is needed to quickly lookup the regionserver
 that hosts a particular region without using the heavy weight
 getRegionsInfo() method.

--
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-5177) HTable needs a non cached version of getRegionLocation

2012-01-12 Thread Pritam Damania (Commented) (JIRA)

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

Pritam Damania commented on HBASE-5177:
---

@Zhihong Yu : As far as I know, Trunk doesn't have the admin.moveRegion() API. 
How were you able to integrate this patch into TRUNK ?

 HTable needs a non cached version of getRegionLocation
 --

 Key: HBASE-5177
 URL: https://issues.apache.org/jira/browse/HBASE-5177
 Project: HBase
  Issue Type: New Feature
Affects Versions: 0.90.4
Reporter: Pritam Damania
Assignee: Pritam Damania
Priority: Minor
 Fix For: 0.94.0

 Attachments: 5177-trunk.txt, HBASE-5177.D1197.2.patch, 
 HBASE-5177.D1197.3.patch


 There is a need for a non caching version of getRegionLocation
 on the client side. This API is needed to quickly lookup the regionserver
 that hosts a particular region without using the heavy weight
 getRegionsInfo() method.

--
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-5177) HTable needs a non cached version of getRegionLocation

2012-01-12 Thread Zhihong Yu (Commented) (JIRA)

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

Zhihong Yu commented on HBASE-5177:
---

TRUNK supports this:
{code}
admin.move(regionInfo.getEncodedNameAsBytes(),
Bytes.toBytes(addr.toString()));
{code}

BTW, I would expect other committer to integrate patch to 0.89-fb branch.

 HTable needs a non cached version of getRegionLocation
 --

 Key: HBASE-5177
 URL: https://issues.apache.org/jira/browse/HBASE-5177
 Project: HBase
  Issue Type: New Feature
Affects Versions: 0.90.4
Reporter: Pritam Damania
Assignee: Pritam Damania
Priority: Minor
 Fix For: 0.94.0

 Attachments: 5177-trunk.txt, HBASE-5177.D1197.2.patch, 
 HBASE-5177.D1197.3.patch


 There is a need for a non caching version of getRegionLocation
 on the client side. This API is needed to quickly lookup the regionserver
 that hosts a particular region without using the heavy weight
 getRegionsInfo() method.

--
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-5177) HTable needs a non cached version of getRegionLocation

2012-01-12 Thread Hadoop QA (Commented) (JIRA)

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

Hadoop QA commented on HBASE-5177:
--

-1 overall.  Here are the results of testing the latest attachment 
  
http://issues.apache.org/jira/secure/attachment/12510428/HBASE-5177.D1197.3.patch
  against trunk revision .

+1 @author.  The patch does not contain any @author tags.

+1 tests included.  The patch appears to include 3 new or modified tests.

-1 patch.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/750//console

This message is automatically generated.

 HTable needs a non cached version of getRegionLocation
 --

 Key: HBASE-5177
 URL: https://issues.apache.org/jira/browse/HBASE-5177
 Project: HBase
  Issue Type: New Feature
Affects Versions: 0.90.4
Reporter: Pritam Damania
Assignee: Pritam Damania
Priority: Minor
 Fix For: 0.94.0

 Attachments: 5177-trunk.txt, HBASE-5177.D1197.2.patch, 
 HBASE-5177.D1197.3.patch


 There is a need for a non caching version of getRegionLocation
 on the client side. This API is needed to quickly lookup the regionserver
 that hosts a particular region without using the heavy weight
 getRegionsInfo() method.

--
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-5177) HTable needs a non cached version of getRegionLocation

2012-01-12 Thread Hudson (Commented) (JIRA)

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

Hudson commented on HBASE-5177:
---

Integrated in HBase-TRUNK-security #76 (See 
[https://builds.apache.org/job/HBase-TRUNK-security/76/])
HBASE-5177 Differential Revision: 1197 HTable needs a non cached version of 
getRegionLocation (Pritam Damania)

tedyu : 
Files : 
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HTable.java
* 
/hbase/trunk/src/test/java/org/apache/hadoop/hbase/client/TestFromClientSide.java


 HTable needs a non cached version of getRegionLocation
 --

 Key: HBASE-5177
 URL: https://issues.apache.org/jira/browse/HBASE-5177
 Project: HBase
  Issue Type: New Feature
Affects Versions: 0.90.4
Reporter: Pritam Damania
Assignee: Pritam Damania
Priority: Minor
 Fix For: 0.94.0

 Attachments: 5177-trunk.txt, HBASE-5177.D1197.2.patch, 
 HBASE-5177.D1197.3.patch


 There is a need for a non caching version of getRegionLocation
 on the client side. This API is needed to quickly lookup the regionserver
 that hosts a particular region without using the heavy weight
 getRegionsInfo() method.

--
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-5177) HTable needs a non cached version of getRegionLocation

2012-01-11 Thread Phabricator (Commented) (JIRA)

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

Phabricator commented on HBASE-5177:


pritamdamania has added reviewers to the revision HBASE-5177 [jira] Add a 
non-caching version of getRegionLocation..
Added Reviewers: JIRA

REVISION DETAIL
  https://reviews.facebook.net/D1197


 HTable needs a non cached version of getRegionLocation
 --

 Key: HBASE-5177
 URL: https://issues.apache.org/jira/browse/HBASE-5177
 Project: HBase
  Issue Type: New Feature
Affects Versions: 0.90.4
Reporter: Pritam Damania
Assignee: Pritam Damania
Priority: Minor

 There is a need for a non caching version of getRegionLocation
 on the client side. This API is needed to quickly lookup the regionserver
 that hosts a particular region without using the heavy weight
 getRegionsInfo() method.

--
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-5177) HTable needs a non cached version of getRegionLocation

2012-01-11 Thread Phabricator (Commented) (JIRA)

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

Phabricator commented on HBASE-5177:


tedyu has commented on the revision HBASE-5177 [jira] Add a non-caching 
version of getRegionLocation..

INLINE COMMENTS
  src/main/java/org/apache/hadoop/hbase/client/HTable.java:268 When reload is 
false, this new method becomes identical to the method on line 255.

  Should we deprecate the method on line 255 ?

REVISION DETAIL
  https://reviews.facebook.net/D1197


 HTable needs a non cached version of getRegionLocation
 --

 Key: HBASE-5177
 URL: https://issues.apache.org/jira/browse/HBASE-5177
 Project: HBase
  Issue Type: New Feature
Affects Versions: 0.90.4
Reporter: Pritam Damania
Assignee: Pritam Damania
Priority: Minor

 There is a need for a non caching version of getRegionLocation
 on the client side. This API is needed to quickly lookup the regionserver
 that hosts a particular region without using the heavy weight
 getRegionsInfo() method.

--
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-5177) HTable needs a non cached version of getRegionLocation

2012-01-11 Thread Phabricator (Commented) (JIRA)

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

Phabricator commented on HBASE-5177:


tedyu has commented on the revision HBASE-5177 [jira] Add a non-caching 
version of getRegionLocation..

INLINE COMMENTS
  src/test/java/org/apache/hadoop/hbase/client/TestFromClientSide.java:4164 I 
think this call should be placed before the call on line 4162.

REVISION DETAIL
  https://reviews.facebook.net/D1197


 HTable needs a non cached version of getRegionLocation
 --

 Key: HBASE-5177
 URL: https://issues.apache.org/jira/browse/HBASE-5177
 Project: HBase
  Issue Type: New Feature
Affects Versions: 0.90.4
Reporter: Pritam Damania
Assignee: Pritam Damania
Priority: Minor
 Attachments: HBASE-5177.D1197.2.patch


 There is a need for a non caching version of getRegionLocation
 on the client side. This API is needed to quickly lookup the regionserver
 that hosts a particular region without using the heavy weight
 getRegionsInfo() method.

--
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-5177) HTable needs a non cached version of getRegionLocation

2012-01-11 Thread Phabricator (Commented) (JIRA)

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

Phabricator commented on HBASE-5177:


pritamdamania has commented on the revision HBASE-5177 [jira] Add a 
non-caching version of getRegionLocation..

INLINE COMMENTS
  src/test/java/org/apache/hadoop/hbase/client/TestFromClientSide.java:4164 Why 
do you think so ? How does the order affect this part of the code ?

REVISION DETAIL
  https://reviews.facebook.net/D1197


 HTable needs a non cached version of getRegionLocation
 --

 Key: HBASE-5177
 URL: https://issues.apache.org/jira/browse/HBASE-5177
 Project: HBase
  Issue Type: New Feature
Affects Versions: 0.90.4
Reporter: Pritam Damania
Assignee: Pritam Damania
Priority: Minor
 Attachments: HBASE-5177.D1197.2.patch


 There is a need for a non caching version of getRegionLocation
 on the client side. This API is needed to quickly lookup the regionserver
 that hosts a particular region without using the heavy weight
 getRegionsInfo() method.

--
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-5177) HTable needs a non cached version of getRegionLocation

2012-01-11 Thread Phabricator (Commented) (JIRA)

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

Phabricator commented on HBASE-5177:


tedyu has commented on the revision HBASE-5177 [jira] Add a non-caching 
version of getRegionLocation..

INLINE COMMENTS
  src/test/java/org/apache/hadoop/hbase/client/TestFromClientSide.java:4164 So 
that the call on line 4162 can fetch from cache.

REVISION DETAIL
  https://reviews.facebook.net/D1197


 HTable needs a non cached version of getRegionLocation
 --

 Key: HBASE-5177
 URL: https://issues.apache.org/jira/browse/HBASE-5177
 Project: HBase
  Issue Type: New Feature
Affects Versions: 0.90.4
Reporter: Pritam Damania
Assignee: Pritam Damania
Priority: Minor
 Attachments: HBASE-5177.D1197.2.patch


 There is a need for a non caching version of getRegionLocation
 on the client side. This API is needed to quickly lookup the regionserver
 that hosts a particular region without using the heavy weight
 getRegionsInfo() method.

--
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-5177) HTable needs a non cached version of getRegionLocation

2012-01-11 Thread Phabricator (Commented) (JIRA)

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

Phabricator commented on HBASE-5177:


pritamdamania has commented on the revision HBASE-5177 [jira] Add a 
non-caching version of getRegionLocation..

INLINE COMMENTS
  src/test/java/org/apache/hadoop/hbase/client/TestFromClientSide.java:4164 
That doesn't really matter in this part of the code right ? Since the region 
has not moved till now. Irrespective of the order of the calls, both results 
would be same correct ? The variables addrCache and addrNoCache refer to the 
type of method being invoked.

REVISION DETAIL
  https://reviews.facebook.net/D1197


 HTable needs a non cached version of getRegionLocation
 --

 Key: HBASE-5177
 URL: https://issues.apache.org/jira/browse/HBASE-5177
 Project: HBase
  Issue Type: New Feature
Affects Versions: 0.90.4
Reporter: Pritam Damania
Assignee: Pritam Damania
Priority: Minor
 Attachments: HBASE-5177.D1197.2.patch


 There is a need for a non caching version of getRegionLocation
 on the client side. This API is needed to quickly lookup the regionserver
 that hosts a particular region without using the heavy weight
 getRegionsInfo() method.

--
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-5177) HTable needs a non cached version of getRegionLocation

2012-01-11 Thread Phabricator (Commented) (JIRA)

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

Phabricator commented on HBASE-5177:


tedyu has accepted the revision HBASE-5177 [jira] Add a non-caching version of 
getRegionLocation..

  Thanks for the explanation.

REVISION DETAIL
  https://reviews.facebook.net/D1197


 HTable needs a non cached version of getRegionLocation
 --

 Key: HBASE-5177
 URL: https://issues.apache.org/jira/browse/HBASE-5177
 Project: HBase
  Issue Type: New Feature
Affects Versions: 0.90.4
Reporter: Pritam Damania
Assignee: Pritam Damania
Priority: Minor
 Attachments: HBASE-5177.D1197.2.patch


 There is a need for a non caching version of getRegionLocation
 on the client side. This API is needed to quickly lookup the regionserver
 that hosts a particular region without using the heavy weight
 getRegionsInfo() method.

--
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-5177) HTable needs a non cached version of getRegionLocation

2012-01-11 Thread Zhihong Yu (Commented) (JIRA)

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

Zhihong Yu commented on HBASE-5177:
---

@Pritam:
Can you attach the latest patch here so that Hadoop QA can run through it ?
Remember to use '--no-prefix'

Thanks

 HTable needs a non cached version of getRegionLocation
 --

 Key: HBASE-5177
 URL: https://issues.apache.org/jira/browse/HBASE-5177
 Project: HBase
  Issue Type: New Feature
Affects Versions: 0.90.4
Reporter: Pritam Damania
Assignee: Pritam Damania
Priority: Minor
 Attachments: HBASE-5177.D1197.2.patch


 There is a need for a non caching version of getRegionLocation
 on the client side. This API is needed to quickly lookup the regionserver
 that hosts a particular region without using the heavy weight
 getRegionsInfo() method.

--
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-5177) HTable needs a non cached version of getRegionLocation

2012-01-11 Thread Pritam Damania (Commented) (JIRA)

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

Pritam Damania commented on HBASE-5177:
---

@Zhihong Yu : I think Phabricator already attached the patch automatically. Do 
I still need to attach it separately ?

 HTable needs a non cached version of getRegionLocation
 --

 Key: HBASE-5177
 URL: https://issues.apache.org/jira/browse/HBASE-5177
 Project: HBase
  Issue Type: New Feature
Affects Versions: 0.90.4
Reporter: Pritam Damania
Assignee: Pritam Damania
Priority: Minor
 Attachments: HBASE-5177.D1197.2.patch


 There is a need for a non caching version of getRegionLocation
 on the client side. This API is needed to quickly lookup the regionserver
 that hosts a particular region without using the heavy weight
 getRegionsInfo() method.

--
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-5177) HTable needs a non cached version of getRegionLocation

2012-01-11 Thread Zhihong Yu (Commented) (JIRA)

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

Zhihong Yu commented on HBASE-5177:
---

The patch from Phabricator cannot be applied on TRUNK:
{code}
1 out of 1 hunk FAILED -- saving rejects to file 
src/main/java/org/apache/hadoop/hbase/client/HTable.java.rej
patching file 
src/test/java/org/apache/hadoop/hbase/client/TestFromClientSide.java
Hunk #1 succeeded at 22 with fuzz 2 (offset 1 line).
Hunk #2 FAILED at 71.
Hunk #3 FAILED at 94.
Hunk #4 FAILED at 4142.
3 out of 4 hunks FAILED -- saving rejects to file 
src/test/java/org/apache/hadoop/hbase/client/TestFromClientSide.java.rej
{code}

Patch for 0.89-fb doesn't have to be attached here.
Attaching patch for TRUNK would allow TRUNK to be in sync with 0.89-fb

Cheers

 HTable needs a non cached version of getRegionLocation
 --

 Key: HBASE-5177
 URL: https://issues.apache.org/jira/browse/HBASE-5177
 Project: HBase
  Issue Type: New Feature
Affects Versions: 0.90.4
Reporter: Pritam Damania
Assignee: Pritam Damania
Priority: Minor
 Attachments: HBASE-5177.D1197.2.patch


 There is a need for a non caching version of getRegionLocation
 on the client side. This API is needed to quickly lookup the regionserver
 that hosts a particular region without using the heavy weight
 getRegionsInfo() method.

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