JNDI lookup class is not available是什么意思?应该怎么办?

beeline中加上--showWarnnings=false也还是有提示

main WARN JNDI lookup class is not available because this JRE does not support JNDI. JNDI string lookups will not be available, continuing configuration. java.lang.ClassNotFoundException: org.apache.logging.log4j.core.lookup.JndiLookup

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)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:264)

at org.apache.logging.log4j.util.LoaderUtil.loadClass(LoaderUtil.java:122)

at org.apache.logging.log4j.util.LoaderUtil.newInstanceOf(LoaderUtil.java:141)

at org.apache.logging.log4j.util.LoaderUtil.newCheckedInstanceOf(LoaderUtil.java:168)

at org.apache.logging.log4j.core.util.Loader.newCheckedInstanceOf(Loader.java:301)

at org.apache.logging.log4j.core.lookup.Interpolator.<init>(Interpolator.java:95)

at org.apache.logging.log4j.core.config.AbstractConfiguration.<init>(AbstractConfiguration.java:116)

at org.apache.logging.log4j.core.config.DefaultConfiguration.<init>(DefaultConfiguration.java:46)

at org.apache.logging.log4j.core.layout.PatternLayout$Builder.build(PatternLayout.java:492)

at org.apache.logging.log4j.core.layout.PatternLayout.createDefaultLayout(PatternLayout.java:376)

at org.apache.logging.log4j.core.appender.ConsoleAppender$Builder.<init>(ConsoleAppender.java:168)

at org.apache.logging.log4j.core.appender.ConsoleAppender.newBuilder(ConsoleAppender.java:160)

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.logging.log4j.core.config.plugins.util.PluginBuilder.createBuilder(PluginBuilder.java:152)

at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:119)

at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:918)

at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:858)

at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:850)

at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:479)

at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:219)

at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:231)

at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:496)

at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:249)

at org.apache.logging.log4j.core.async.AsyncLoggerContext.start(AsyncLoggerContext.java:86)

at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:239)

at org.apache.logging.log4j.core.config.Configurator.initialize(Configurator.java:157)

at org.apache.logging.log4j.core.config.Configurator.initialize(Configurator.java:130)

at org.apache.logging.log4j.core.config.Configurator.initialize(Configurator.java:100)

at org.apache.logging.log4j.core.config.Configurator.initialize(Configurator.java:187)

at org.apache.hadoop.hive.common.LogUtils.initHiveLog4jDefault(LogUtils.java:154)

at org.apache.hadoop.hive.common.LogUtils.initHiveLog4jCommon(LogUtils.java:90)

at org.apache.hadoop.hive.common.LogUtils.initHiveLog4jCommon(LogUtils.java:82)

at org.apache.hadoop.hive.common.LogUtils.initHiveLog4j(LogUtils.java:65)

at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:702)

at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:686)

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:233)

at org.apache.hadoop.util.RunJar.main(RunJar.java:148)

![上传中...]()

以上是 JNDI lookup class is not available是什么意思?应该怎么办? 的全部内容, 来源链接: utcz.com/p/944398.html

回到顶部