You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lens.apache.org by Rashmi Varma <v....@gmail.com> on 2016/04/11 15:02:13 UTC
Unable to start lens server
Hi,
I followed the steps specified in the link "Installing and Running Lens".
However, I am getting the following exception when I start it in verbose
mode,
Adding hadoop libs in classpath from /usr/local/hadoop
HIVE_HOME is set, adding /usr/local/HiveForLens//lib/* into lens classpath
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=256m;
support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
MaxPermSize=256m; support was removed in 8.0
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/usr/local/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:/usr/local/HiveForLens/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)*
Please inform why this could be happening.
Thanks and Regards
Rashmi
Re: Unable to start lens server
Posted by "amareshwarisr ." <am...@gmail.com>.
Hello Rashmi,
Which version of hive did you pick? If you have picked hive 2.1.x, lens
release 2.5.0-bin does not work with that yet. Please pick hive 0.13.x for
you to proceed.
Thanks
On Mon, Apr 11, 2016 at 6:32 PM, Rashmi Varma <v....@gmail.com> wrote:
> Hi,
> I followed the steps specified in the link "Installing and Running Lens".
> However, I am getting the following exception when I start it in verbose
> mode,
>
> Adding hadoop libs in classpath from /usr/local/hadoop
> HIVE_HOME is set, adding /usr/local/HiveForLens//lib/* into lens classpath
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=256m;
> support was removed in 8.0
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
> MaxPermSize=256m; support was removed in 8.0
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in
> [jar:file:/usr/local/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:/usr/local/HiveForLens/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)*
>
> Please inform why this could be happening.
>
> Thanks and Regards
> Rashmi
>