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

Exception in thread "main" java.lang.IllegalArgumentException: Failed to find metadata store by url: kylin_metadata@hbase

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Critical
    • Resolution: Incomplete
    • v2.5.2
    • None
    • Environment
    • None
    • apache-hive-2.3.4-bin
      hbase-1.4.9
      hadoop-3.1.0
      apache-kylin-2.5.2-bin-hadoop3

    Description

      I am getting the below error. This error occurred when use apache-kylin-2.5.2-bin-hadoop3. if we use apache-kylin-2.5.2-bin-hbase1x kylin gets started.

      apache-hive-2.3.4-bin
      hbase-1.4.9
      hadoop-3.1.0
      apache-kylin-2.5.2-bin-hadoop3

      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:98)
      at org.apache.kylin.common.persistence.ResourceStore.getStore(ResourceStore.java:110)
      at org.apache.kylin.rest.service.AclTableMigrationTool.checkIfNeedMigrate(AclTableMigrationTool.java:98)
      at org.apache.kylin.tool.AclTableMigrationCLI.main(AclTableMigrationCLI.java:41)
      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:92)
      ... 3 more
      Caused by: java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/client/ColumnFamilyDescriptor
      at org.apache.kylin.storage.hbase.HBaseResourceStore.getConnection(HBaseResourceStore.java:86)
      at org.apache.kylin.storage.hbase.HBaseResourceStore.createHTableIfNeeded(HBaseResourceStore.java:112)
      at org.apache.kylin.storage.hbase.HBaseResourceStore.<init>(HBaseResourceStore.java:93)
      ... 8 more
      Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hbase.client.ColumnFamilyDescriptor
      at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

      Attachments

        Activity

          People

            Unassigned Unassigned
            praveenece praveenece
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: