[ 
https://issues.apache.org/jira/browse/KYLIN-4137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17030429#comment-17030429
 ] 

Alexander commented on KYLIN-4137:
----------------------------------

Hello, this commit broke Convert Cuboid Data to HFile step in my v3.0.0-beta 
environment. I don't use mysql.

 

Just add couple TopN measures, and COUNT_DISTINCT with more than one column 
(i.e. COUNT_DISTINCT seller_id, buyer_id). 

As result MeasureDesc -> FunctionDesc -> ParameterDesc -> PlainParameter 
serialization exception.

If i make it (PlainParameter implements Serializable) serializable, then 
ContentReader.java

T r = serializer.deserialize(din);

 

deserialize without ParameterDesc.nextParameter wich causes error.

 

Reverting this commit, solve problem for me.

 

> Accelerate metadata reloading
> -----------------------------
>
>                 Key: KYLIN-4137
>                 URL: https://issues.apache.org/jira/browse/KYLIN-4137
>             Project: Kylin
>          Issue Type: Improvement
>          Components: Metadata
>    Affects Versions: v2.6.2
>            Reporter: Temple Zhou
>            Assignee: Temple Zhou
>            Priority: Minor
>             Fix For: v3.0.0-beta
>
>
> Now, org.apache.kylin.metadata.cachesync.CachedCrudAssist#reloadAll is using 
> an inappropriate method to deal with MySQLJdbcMetadata.
> As the every call of reloadAt(path) will access the database, which is almost 
> fine to HBase but really unfriendly to the MySQL(RDBMS).
> I think we should get all of the resource with single request instead of the 
> separate request to get every resource.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to