You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by "Lingang Deng (JIRA)" <ji...@apache.org> on 2018/10/26 06:53:00 UTC

[jira] [Created] (KYLIN-3649) segment region count and size are not correct when using mysql as Kylin metadata storage

Lingang Deng created KYLIN-3649:
-----------------------------------

             Summary: segment region count and size are not correct when using mysql  as Kylin metadata storage
                 Key: KYLIN-3649
                 URL: https://issues.apache.org/jira/browse/KYLIN-3649
             Project: Kylin
          Issue Type: Bug
          Components: Metadata
    Affects Versions: v2.5.0
            Reporter: Lingang Deng


As titles, segment region count and size are not correct.
{code:java}
if ("hbase".equals(getConfig().getMetadataUrl().getScheme())) {
    try {
        logger.debug("Loading HTable info " + cubeName + ", " + tableName);

        // use reflection to isolate NoClassDef errors when HBase is not available
        hr = (HBaseResponse) Class.forName("org.apache.kylin.rest.service.HBaseInfoUtil")//
                .getMethod("getHBaseInfo", new Class[] { String.class, KylinConfig.class })//
                .invoke(null, tableName, this.getConfig());
    } catch (Throwable e) {
        throw new IOException(e);
    }
}
{code}
 Judgement is not valid when using mysql  as Kylin metadata storage.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)