Hi, I use the kylin2.1. When I start the kylin, I encountered hbase rpc timeout
error, so that kylin can't get metadata and build cube.
I try to configure the parameter in hbase-site.xml, such as
hbase.client.scanner.timeout.period and hbase.rpc.timeout, but it didn't work.
Finally, I found that kylin has configured with fixed parameters in
HBaseResourceStore, as follows. I want to know why you do that? Thanks!
private StorageURL buildMetadataUrl(KylinConfig kylinConfig) throws IOException
{
StorageURL url = kylinConfig.getMetadataUrl();
if (!url.getScheme().equals("hbase"))
throw new IOException("Cannot create HBaseResourceStore. Url not match. Url: "
+ url);
// control timeout for prompt error report
Map<String, String> newParams = new LinkedHashMap<>();
newParams.put("hbase.client.scanner.timeout.period", "10000");
newParams.put("hbase.rpc.timeout", "5000");
newParams.put("hbase.client.retries.number", "3");
newParams.putAll(url.getAllParameters());
return url.copy(newParams);
}