HBASE-26255 Add an option to use region location from meta table in T…#3661
HBASE-26255 Add an option to use region location from meta table in T…#3661huaxiangsun merged 1 commit intoapache:masterfrom
Conversation
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
cb258fe to
d5d8cf0
Compare
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
| Connection connection; | ||
| RegionLocator regionLocator = null; | ||
| if (localityEnabled && useRegionLoc) { | ||
| connection = ConnectionFactory.createConnection(new Configuration(conf)); |
There was a problem hiding this comment.
Closing this connection?
Also on this connection, we will make calls to read from hbase:meta only. We can set connection executor pool size with lowering value for 'hbase.hconnection.threads.max'? We allow core threads to die but initially will create more threads (256).
There was a problem hiding this comment.
Good idea, let me upload a new patch.
There was a problem hiding this comment.
Hi @anoopsjohn, I pushed updates based on your comment, please take a look, thanks.
…ableSnapshotInputFormat
d5d8cf0 to
392c291
Compare
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
…ableSnapshotInputFormat (apache#3661) Signed-off-by: Anoop Sam John <anoopsamjohn@apache.org>
…ableSnapshotInputFormat (apache#3661) Signed-off-by: Anoop Sam John <anoopsamjohn@apache.org>
…ableSnapshotInputFormat (apache#3661) Signed-off-by: Anoop Sam John <anoopsamjohn@apache.org>
…ableSnapshotInputFormat (apache#3661) (apache#3669) Signed-off-by: Anoop Sam John <anoopsamjohn@apache.org>
…ableSnapshotInputFormat