Hey Mingwen, This looks like it's related to the Hive/Druid integration, so it might be a better question for the Hive mailing list. (The code for that integration lives in the Hive project.)
On Tue, Jan 22, 2019 at 11:29 PM mingwen....@analyticservice.net < mingwen....@analyticservice.net> wrote: > HI , > > CREATE EXTERNAL TABLE druid_table_1 > STORED BY 'org.apache.hadoop.hive.druid.DruidStorageHandler' > TBLPROPERTIES ("druid.datasource" = "wikipedia"); > > BELOW ISSUE,PLEASE HELP ME.THANKS. > Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/hadoop/hive/metastore/DefaultHiveMetaHook > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:763) > at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) > at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) > at java.net.URLClassLoader.access$100(URLClassLoader.java:73) > at java.net.URLClassLoader$1.run(URLClassLoader.java:368) > at java.net.URLClassLoader$1.run(URLClassLoader.java:362) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:361) > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) > at java.lang.ClassLoader.loadClass(ClassLoader.java:411) > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:348) > at > org.apache.hadoop.hive.ql.parse.ParseUtils.ensureClassExists(ParseUtils.java:225) > at > org.apache.hadoop.hive.ql.parse.StorageFormat.fillStorageFormat(StorageFormat.java:64) > at > org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.analyzeCreateTable(SemanticAnalyzer.java:10906) > at > org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.genResolvedParseTree(SemanticAnalyzer.java:10144) > at > org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.analyzeInternal(SemanticAnalyzer.java:10225) > at > org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.analyzeInternal(SemanticAnalyzer.java:10110) > at > org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.analyze(BaseSemanticAnalyzer.java:223) > at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:560) > at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1358) > at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1475) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1287) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1277) > at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:226) > at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:175) > at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:389) > at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:781) > at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:699) > at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:634) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.apache.hadoop.util.RunJar.run(RunJar.java:226) > at org.apache.hadoop.util.RunJar.main(RunJar.java:141) > Caused by: java.lang.ClassNotFoundException: > org.apache.hadoop.hive.metastore.DefaultHiveMetaHook > at java.net.URLClassLoader.findClass(URLClassLoader.java:381) > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > > > > > > mingwen....@analyticservice.net >