You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by "Billy Liu (JIRA)" <ji...@apache.org> on 2016/12/21 01:47:58 UTC
[jira] [Created] (KYLIN-2306) Tolerate Class missing when loading
job list
Billy Liu created KYLIN-2306:
--------------------------------
Summary: Tolerate Class missing when loading job list
Key: KYLIN-2306
URL: https://issues.apache.org/jira/browse/KYLIN-2306
Project: Kylin
Issue Type: Improvement
Components: Metadata
Affects Versions: v1.6.0
Reporter: Billy Liu
Assignee: Billy Liu
The Job list page will call ExecutableMangager to find all AbstractExecutable objects, such as CubingJob and related building steps. Since ExecutableManager will instantiate all AbstractExecutable class by Class.forName(). But for each version release, new classes are introduced, old classes are deprecated, renamed or removed. The Class.forName() will throw out ClassNotFoundException. This API is used to retrieve the Executable Object list, not for calling the object method, so we could just instance the parent common class instead of the concrete class. It will tolerate the class missing issue.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
Re: [jira] [Created] (KYLIN-2306) Tolerate Class missing when
loading job list
Posted by Luke_Selina <hu...@gmail.com>.
--
View this message in context: http://apache-kylin.74782.x6.nabble.com/jira-Created-KYLIN-2306-Tolerate-Class-missing-when-loading-job-list-tp6715p6731.html
Sent from the Apache Kylin mailing list archive at Nabble.com.