Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-4356

Failed "Hive Column Cardinality calculation for table" jobs cannot be delete

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • v3.1.0
    • None
    • None

    Description

      In KylinHealthCheck, we found there are too many failed jobs like this:

      "name" : "Hive Column Cardinality calculation for table 'xxx.xxxxxxx'"

      the FAILED job cannot be cleanup by MetastoreCleanupJob,

      and the RESTful API  DELETE jobs/{uuid}/drop cannot work, return exeception 

      // code placeholder
      Caused by: org.apache.kylin.rest.exception.BadRequestException: Illegal job type, id: 4257d976-706b-90cb-d82b-1828e0128fd1.
        at org.apache.kylin.rest.service.JobService.getSingleJobInstance(JobService.java:501)
        at org.apache.kylin.rest.service.JobService.getJobInstance(JobService.java:486)
        at org.apache.kylin.rest.controller.JobController.dropJob(JobController.java:264)
        ... 75 more
       
      

      seems there is no api to delete failed job of "Cardinality calculation" .

       

      Attachments

        Issue Links

          Activity

            People

              zhoukangcn ZhouKang
              zhoukangcn ZhouKang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: