[
https://issues.apache.org/jira/browse/HBASE-1874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrei Dragomir updated HBASE-1874:
-----------------------------------
Attachment: HBASE-1874.patch
This patch uses the ScannerCallable caching parameter. This way, we only have
client / server roundtrips every x rows .The rows are defined in HConstants,
and set to 1000 rows.
> Client Scanner mechanism that is used for HbaseAdmin methods (listTables,
> tableExists), is very slow if the client is far away from the HBase cluster
> -----------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-1874
> URL: https://issues.apache.org/jira/browse/HBASE-1874
> Project: Hadoop HBase
> Issue Type: Improvement
> Affects Versions: 0.20.0
> Reporter: Andrei Dragomir
> Priority: Minor
> Attachments: HBASE-1874.patch
>
>
> I have a simple class that instantiates an HBaseAdmin object, and tries to
> connect to a remote hbase cluster (latency about 300ms).
> When doing any kind of simple operation, like listTables, tableExists, it
> takes a huge amount of time, because the mechanism is to instantiate a
> scanner on the client, so for each row in the .META. table, we get a client -
> cluster roundtrip. This is prohibitive in the case of a far away client.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.