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

Remove config getJobControllerLock() since there is getSchedulerType()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • v2.1.0
    • v2.2.0
    • Job Engine

    Description

      KYLIN-2578 introduced this issue:

        Caused by: java.lang.RuntimeException: java.lang.InstantiationException: org.apache.kylin.storage.hbase.util.ZookeeperDistributedLock
      at org.apache.kylin.common.util.ClassUtil.newInstance(ClassUtil.java:95)
      at org.apache.kylin.rest.service.JobService.afterPropertiesSet(JobService.java:110)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1573)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1511)
      ... 38 more
      Caused by: java.lang.InstantiationException: org.apache.kylin.storage.hbase.util.ZookeeperDistributedLock
      at java.lang.Class.newInstance(Class.java:427)
      at org.apache.kylin.common.util.ClassUtil.newInstance(ClassUtil.java:93)
      ... 41 more
      Caused by: java.lang.NoSuchMethodException: org.apache.kylin.storage.hbase.util.ZookeeperDistributedLock.()
      at java.lang.Class.getConstructor0(Class.java:3082)
      at java.lang.Class.newInstance(Class.java:412)
      ... 42 more
      

      which make the Kylin job server cannot start.

      Attachments

        1. KYLIN-2626.patch
          4 kB
          Kaisen Kang

        Activity

          People

            kangkaisen Kaisen Kang
            kangkaisen Kaisen Kang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: