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)