apachelens:启动服务器时出错

fivyi3re  于 2021-05-29  发布在  Hadoop
关注(0)|答案(1)|浏览(373)

我正在尝试启动服务器上的apachelens。我得到了jdk和forkHive安装喜欢它是必需的。当我运行apache lens服务器(bin/lens ctl start)时,我在日志中得到以下错误:

> SLF4Jption in thread "main" java.lang.NoSuchMethodError:
> org.apache.hive.service.cli.CLIService: method <init>()V not found
> path contains multiple SLF4J bindings. SLF4J: Found binding in
> [jar:file:/home/apps/apache-lens-2.5.0-beta-bin/server/webapp/lens-server/WEB-INF/lib/logback-classic-1.1.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/home/apps/forked-hive/apache-hive-2.1.1-inm-bin/lib/log4j-slf4j-impl-2.4.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
> explanation. SLF4J: Actual binding is of type
> [ch.qos.logback.classic.util.ContextSelectorStaticBinder] Exception in
> thread "main" java.lang.NoSuchMethodError:
> org.apache.hive.service.cli.CLIService: method <init>()V not found
>         at org.apache.lens.server.LensServices.init(LensServices.java:186)
>         at org.apache.lens.server.LensServer.startServices(LensServer.java:134)
>         at org.apache.lens.server.LensServer.<init>(LensServer.java:85)
>         at org.apache.lens.server.LensServer.createLensServer(LensServer.java:74)
>         at org.apache.lens.server.LensServer.main(LensServer.java:190)

以前有人遇到过这个错误吗?有什么办法解决这个问题吗?
谢谢!

x759pob2

x759pob21#

如果您选择了Hive2.1.x,那么LensRelease2.5.0-bin还不能使用它。请选择配置单元0.13.x以便继续。
有关详细信息,请参阅电子邮件线程:https://www.mail-archive.com/user@lens.apache.org/msg00102.html

相关问题