首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Apache Lens:启动服务器时出错

Apache Lens:启动服务器时出错
EN

Stack Overflow用户
提问于 2016-05-24 03:42:10
回答 1查看 106关注 0票数 0

我正尝试在我的服务器上启动Apache Lens。我按照要求安装了JDK和fork HIVE。当我运行Apache Lens Server (bin/lens ctl start)时,我在日志中看到以下错误:

代码语言:javascript
复制
> 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)

以前有没有人遇到过这个错误?对如何解决这个问题有什么想法吗?

谢谢!

EN

回答 1

Stack Overflow用户

发布于 2016-07-16 03:56:35

如果你选择了hive 2.1.x,镜头版本2.5.0-bin还不能工作。请选择配置单元0.13.x以继续。

有关详细信息,请参阅电子邮件线程:https://www.mail-archive.com/user@lens.apache.org/msg00102.html

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/37399240

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档