Looks like you have jars from both 1.4 and 1.5, try a clean install to remove the old JAR files when doing the build.
When the classpath scanning was updated in 1.3 to actually scan only the configured directories (rather than the global scan we were doing previously) a check was added to make sure we weren't scanning duplicate classes. - Jason On Mon, Dec 14, 2015 at 2:46 PM, rahul challapalli < [email protected]> wrote: > I installed the latest master and the drillbits failed to start. Below is > the message in the logs. Any idea as to what went wrong? > > Exception in thread "main" > org.apache.drill.common.exceptions.UserException: FUNCTION ERROR: function > org.apache.drill.exec.expr.fn.impl.conv.OrderedBytesIntConvertFrom scanned > twice in the following locations: > [jar:file:/opt/drill/jars/3rdparty/drill-memory-impl-1.5.0-SNAPSHOT.jar!/, > jar:file:/opt/drill/jars/3rdparty/drill-memory-impl-1.4.0-SNAPSHOT.jar!/, > jar:file:/opt/drill/jars/drill-storage-hbase-1.4.0-SNAPSHOT.jar!/, > jar:file:/opt/drill/jars/drill-hive-exec-shaded-1.5.0-SNAPSHOT.jar!/, > jar:file:/opt/drill/jars/drill-memory-impl-1.4.0-SNAPSHOT.jar!/, > jar:file:/opt/drill/jars/drill-storage-hbase-1.5.0-SNAPSHOT.jar!/, > jar:file:/opt/drill/jars/drill-gis-1.4.0-SNAPSHOT.jar!/, > jar:file:/opt/drill/jars/drill-hive-exec-shaded-1.4.0-SNAPSHOT.jar!/, > jar:file:/opt/drill/jars/drill-mongo-storage-1.5.0-SNAPSHOT.jar!/, > jar:file:/opt/drill/jars/drill-gis-1.5.0-SNAPSHOT.jar!/, > jar:file:/opt/drill/jars/drill-mongo-storage-1.4.0-SNAPSHOT.jar!/, > jar:file:/opt/drill/jars/drill-memory-impl-1.5.0-SNAPSHOT.jar!/, > jar:file:/opt/drill/jars/drill-jdbc-storage-1.5.0-SNAPSHOT.jar!/, > jar:file:/opt/drill/jars/drill-jdbc-storage-1.4.0-SNAPSHOT.jar!/, > jar:file:/opt/drill/jars/drill-storage-hive-core-1.4.0-SNAPSHOT.jar!/, > jar:file:/opt/drill/jars/drill-storage-hive-core-1.5.0-SNAPSHOT.jar!/] > Do you have conflicting jars on the classpath? > > > [Error Id: b9845beb-f037-4339-b606-a406ad6d13aa ] > at > > org.apache.drill.common.exceptions.UserException$Builder.build(UserException.java:534) > at > > org.apache.drill.common.scanner.ClassPathScanner.verifyClassUnicity(ClassPathScanner.java:430) > at > > org.apache.drill.common.scanner.ClassPathScanner.scan(ClassPathScanner.java:412) > at > > org.apache.drill.common.scanner.RunTimeScan.fromPrescan(RunTimeScan.java:60) > at > > org.apache.drill.common.scanner.ClassPathScanner.fromPrescan(ClassPathScanner.java:452) > at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:72) > at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:61) > at org.apache.drill.exec.server.Drillbit.main(Drillbit.java:163) >
