drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramana Inukonda Nagaraj (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-398) hive-exec jar in lib folder causes guava version mismatch
Date Thu, 06 Mar 2014 00:00:45 GMT
Ramana Inukonda Nagaraj created DRILL-398:
---------------------------------------------

             Summary: hive-exec jar in lib folder causes guava version mismatch
                 Key: DRILL-398
                 URL: https://issues.apache.org/jira/browse/DRILL-398
             Project: Apache Drill
          Issue Type: Bug
         Environment: Recommended java and maven versions
            Reporter: Ramana Inukonda Nagaraj


The presence of the hive-exec jar in the lib folder causes its guava to be picked up instead
of guava version which is in lib.

This causes failure of drillbit to come up.

Workaround is to delete hive-exec.jar from lib

Stacktrace in sqlline.log
15:52:13.877 [main] WARN  o.a.d.exec.store.dfs.FormatCreator - Failure while trying instantiate
FormatPlugin org.apache.drill.exec.store.parquet.ParquetFormatPlugin.
java.lang.reflect.InvocationTargetException: null
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.7.0_45]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
[na:1.7.0_45]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[na:1.7.0_45]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526) [na:1.7.0_45]
        at org.apache.drill.exec.store.dfs.FormatCreator.getFormatPlugins(FormatCreator.java:57)
~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
        at org.apache.drill.exec.store.dfs.FileSystemPlugin.<init>(FileSystemPlugin.java:67)
[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.7.0_45]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
[na:1.7.0_45]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[na:1.7.0_45]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526) [na:1.7.0_45]
        at org.apache.drill.exec.store.StoragePluginRegistry.create(StoragePluginRegistry.java:150)
[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
        at org.apache.drill.exec.store.StoragePluginRegistry.createEngines(StoragePluginRegistry.java:112)
[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
        at org.apache.drill.exec.store.StoragePluginRegistry.<init>(StoragePluginRegistry.java:70)
[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
        at org.apache.drill.exec.server.DrillbitContext.<init>(DrillbitContext.java:74)
[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
        at org.apache.drill.exec.work.WorkManager.start(WorkManager.java:88) [drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
        at org.apache.drill.exec.server.Drillbit.run(Drillbit.java:96) [drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
        at org.apache.drill.jdbc.DrillConnectionImpl.<init>(DrillConnectionImpl.java:73)
[drill-sqlparser-1.0.0-m2-incubating-SNAPSHOT.jar:1.0.0-m2-incubating-SNAPSHOT]
        at org.apache.drill.jdbc.DrillJdbc41Factory$DrillJdbc41Connection.<init>(DrillJdbc41Factory.java:87)
[drill-sqlparser-1.0.0-m2-incubating-SNAPSHOT.jar:1.0.0-m2-incubating-SNAPSHOT]
        at org.apache.drill.jdbc.DrillJdbc41Factory.newDrillConnection(DrillJdbc41Factory.java:56)
[drill-sqlparser-1.0.0-m2-incubating-SNAPSHOT.jar:1.0.0-m2-incubating-SNAPSHOT]
        at org.apache.drill.jdbc.DrillJdbc41Factory.newDrillConnection(DrillJdbc41Factory.java:43)
[drill-sqlparser-1.0.0-m2-incubating-SNAPSHOT.jar:1.0.0-m2-incubating-SNAPSHOT]
        at org.apache.drill.jdbc.DrillFactory.newConnection(DrillFactory.java:51) [drill-sqlparser-1.0.0-m2-incubating-SNAPSHOT.jar:1.0.0-m2-incubating-SNAPSHOT]
        at net.hydromatic.avatica.UnregisteredDriver.connect(UnregisteredDriver.java:121)
[optiq-avatica-0.4.18.jar:na]
        at sqlline.SqlLine$DatabaseConnection.connect(SqlLine.java:4732) [sqlline-1.1.6.jar:na]
        at sqlline.SqlLine$DatabaseConnection.getConnection(SqlLine.java:4786) [sqlline-1.1.6.jar:na]
        at sqlline.SqlLine$Commands.connect(SqlLine.java:4026) [sqlline-1.1.6.jar:na]
        at sqlline.SqlLine$Commands.connect(SqlLine.java:3935) [sqlline-1.1.6.jar:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_45]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_45]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[na:1.7.0_45]
        at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_45]
        at sqlline.SqlLine$ReflectiveCommandHandler.execute(SqlLine.java:2884) [sqlline-1.1.6.jar:na]
        at sqlline.SqlLine.dispatch(SqlLine.java:885) [sqlline-1.1.6.jar:na]
        at sqlline.SqlLine.initArgs(SqlLine.java:693) [sqlline-1.1.6.jar:na]
        at sqlline.SqlLine.begin(SqlLine.java:745) [sqlline-1.1.6.jar:na]
        at sqlline.SqlLine.start(SqlLine.java:498) [sqlline-1.1.6.jar:na]
        at sqlline.SqlLine.main(SqlLine.java:460) [sqlline-1.1.6.jar:na]
Caused by: java.lang.NoSuchMethodError: com.google.common.collect.Range.closedOpen(Ljava/lang/Comparable;Ljava/lang/Comparable;)Lcom/google/common/collect/Range;
        at org.apache.drill.exec.store.dfs.BasicFormatMatcher$MagicStringMatcher$RangeMagics.<init>(BasicFormatMatcher.java:125)
~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
        at org.apache.drill.exec.store.dfs.BasicFormatMatcher$MagicStringMatcher.<init>(BasicFormatMatcher.java:96)
~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
        at org.apache.drill.exec.store.dfs.BasicFormatMatcher.<init>(BasicFormatMatcher.java:46)
~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
        at org.apache.drill.exec.store.parquet.ParquetFormatPlugin$ParquetFormatMatcher.<init>(ParquetFormatPlugin.java:137)
~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
        at org.apache.drill.exec.store.parquet.ParquetFormatPlugin.<init>(ParquetFormatPlugin.java:69)
~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
        at org.apache.drill.exec.store.parquet.ParquetFormatPlugin.<init>(ParquetFormatPlugin.java:62)
~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
        ... 36 common frames omitted



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message