Richard Calaba created KYLIN-1829:
-------------------------------------

             Summary: Add execution of "utility" classes to the System tab of 
Kylin UI
                 Key: KYLIN-1829
                 URL: https://issues.apache.org/jira/browse/KYLIN-1829
             Project: Kylin
          Issue Type: Improvement
            Reporter: Richard Calaba


There is a bunch of "hidden" and/or semi-documented classes in Kylin engine 
which can be very useful for standard maintenance of healthy Kylin instance - 
it would be very good if those are connected to the System tab of the Kylin UI 
so administrators can run them directly from Kylin UI and collect their 
execution log also there, few candidates:

1) ./bin/kylin.sh org.apache.kylin.storage.hbase.util.StorageCleanupJob
2) ./bin/kylin.sh org.apache.kylin.cube.cli.CubeSignatureRefresher
3) ./bin/metastore.sh for backup/restore actions with support to list the 
content of ./meta_backups directory

In addition I found many Kylin engine classes with main method (thus executable 
tools for Kylin) which might be also good candidates to be integrated here - 
just do not know their functions/parameters. To know I would have to read the 
code of all of them. Maybe the authors of the tools can create official list 
with documentation of supported parameters - and this list/docu can be also 
part of the System tab on UI.

Few other classes I found - executable through kylin.sh - some of those 
probably already connected to UI in 1.5.2.1  (like the diagnostics CLI ..)

But some of those I still do not know what they are for .. though the classes 
having CLI in the name give impression that those should be "stable" internal 
interfaces for Kylin engine.

./bin/kylin.sh org.apache.kylin.tool.CubeMetaExtractor
./bin/kylin.sh org.apache.kylin.tool.DiagnosisInfoCLI
./bin/kylin.sh org.apache.kylin.tool.HBaseUsageExtractor
./bin/kylin.sh org.apache.kylin.tool.JobDiagnosisInfoCLI
./bin/kylin.sh org.apache.kylin.job.hadoop.invertedindex.IICLI - error
./bin/kylin.sh org.apache.kylin.common.KylinVersion - this would be good to 
have on UI for sure -> sometimes I do need to know exact Kylin version
./bin/kylin.sh org.apache.kylin.common.persistence.ResourceTool  - this is 
basically metastore.sh
./bin/kylin.sh org.apache.kylin.cube.cli.DumpDictionaryCLI
./kylin.sh org.apache.kylin.cube.cuboid.CuboidCLI
./kylin.sh org.apache.kylin.query.QueryCli

... and some others ....



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to