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

Merging job stop working after Kylin upgrade

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • v3.0.0, v2.6.4
    • v3.1.1
    • Job Engine
    • None

    Description

      Cubes stop auto merging after upgrading to Kylin to 2.6.4+ or 3.0.0+.

      Following stack is thrown in log:

      2020-09-09 17:57:52 ERROR - [Thread-1131] - org.apache.kylin.rest.service.CacheService$1$1(83) - Error in updateOnNewSegmentReady() java.lang.NullPointerException at org.apache.kylin.rest.service.CubeService.isMergingJobBeenDiscarded(CubeService.java:800) at org.apache.kylin.rest.service.CubeService.mergeCubeSegment(CubeService.java:776) at org.apache.kylin.rest.service.CubeService.updateOnNewSegmentReady(CubeService.java:722) at org.apache.kylin.rest.service.CubeService$$FastClassBySpringCGLIB$$17a07c0e.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:667) at org.apache.kylin.rest.service.CubeService$$EnhancerBySpringCGLIB$$1737fa4f.updateOnNewSegmentReady(<generated>) at org.apache.kylin.rest.service.CacheService$1$1.run(CacheService.java:81)
      

      If cube has segments discarded before upgrading, the job instance does not have `segmentName` param. The problem is brought in KYLIN-4057.
       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jshmchenxi Xi Chen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: