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

Failed to find metadata store by url: kylin_metadata@hbase:Caused by: java.lang.NoSuchMethodError: org.apache.hadoop.hbase.client.Admin.createTable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Cannot Reproduce
    • v3.0.0-alpha
    • None
    • Environment

    Description

      When I set sandbox up in the docker, I started to run Kylin. And it shows the errors below that I cannot fix: the version that Kylin I use is 3.0.0 alpha and hBase version is 2.0:

      2019-05-25 10:06:59,588 INFO [main] zookeeper.ZookeeperDistributedLock:104 : 12522@sandbox-hdp.hortonworks.com acquired lock at /create_htable/kylin_metadata/lock
      2019-05-25 10:06:59,593 DEBUG [main] hbase.HBaseConnection:337 : Creating HTable 'kylin_metadata'
      2019-05-25 10:06:59,847 DEBUG [main] zookeeper.ZookeeperDistributedLock:166 : 12522@sandbox-hdp.hortonworks.com trying to unlock /create_htable/kylin_metadata/lock
      2019-05-25 10:06:59,857 INFO [main] zookeeper.ZookeeperDistributedLock:177 : 12522@sandbox-hdp.hortonworks.com released lock at /create_htable/kylin_metadata/lock
      Exception in thread "main" java.lang.IllegalArgumentException: Failed to find metadata store by url: kylin_metadata@hbase
      at org.apache.kylin.common.persistence.ResourceStore.createResourceStore(ResourceStore.java:101)
      at org.apache.kylin.common.persistence.ResourceStore.getStore(ResourceStore.java:113)
      at org.apache.kylin.rest.service.AclTableMigrationTool.checkIfNeedMigrate(AclTableMigrationTool.java:99)
      at org.apache.kylin.tool.AclTableMigrationCLI.main(AclTableMigrationCLI.java:43)
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      at org.apache.kylin.common.persistence.ResourceStore.createResourceStore(ResourceStore.java:94)
      ... 3 more
      Caused by: java.lang.NoSuchMethodError: org.apache.hadoop.hbase.client.Admin.createTable(Lorg/apache/hadoop/hbase/HTableDescriptor;)V
      at org.apache.kylin.storage.hbase.HBaseConnection.createHTableIfNeeded(HBaseConnection.java:348)
      at org.apache.kylin.storage.hbase.HBaseResourceStore.createHTableIfNeeded(HBaseResourceStore.java:114)
      at org.apache.kylin.storage.hbase.HBaseResourceStore.<init>(HBaseResourceStore.java:88)
      ... 8 more
      2019-05-25 10:06:59,860 INFO [Thread-8] util.ZKUtil:88 : Going to remove 1 cached curator clients
      2019-05-25 10:06:59,864 INFO [close-hbase-conn] hbase.HBaseConnection:137 : Closing HBase connections...
      2019-05-25 10:06:59,865 INFO [close-hbase-conn] zookeeper.ReadOnlyZKClient:344 : Close zookeeper connection 0x7e094740 to sandbox-hdp.hortonworks.com:2181
      2019-05-25 10:06:59,868 INFO [Thread-8] util.ZKUtil:73 : CuratorFramework for zkString sandbox-hdp.hortonworks.com:2181 is removed due to EXPLICIT
      2019-05-25 10:06:59,869 INFO [Curator-Framework-0] imps.CuratorFrameworkImpl:821 : backgroundOperationsLoop exiting
      2019-05-25 10:06:59,878 INFO [ReadOnlyZKClient-sandbox-hdp.hortonworks.com:2181@0x7e094740] zookeeper.ZooKeeper:684 : Session: 0x16aea816ead2375 closed
      2019-05-25 10:06:59,878 INFO [ReadOnlyZKClient-sandbox-hdp.hortonworks.com:2181@0x7e094740-EventThread] zookeeper.ClientCnxn:524 : EventThread shut down
      2019-05-25 10:06:59,879 INFO [Thread-8] zookeeper.ZooKeeper:684 : Session: 0x16aea816ead2376 closed
      2019-05-25 10:06:59,879 INFO [main-EventThread] zookeeper.ClientCnxn:524 : EventThread shut down

      Attachments

        Activity

          People

            Unassigned Unassigned
            lhllhl2 Huinan LUO
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: