Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Drill >> mail # dev >> Unable to run test TestSimpleFunctions


Copy link to this message
-
Unable to run test TestSimpleFunctions
Hi All,
I was trying to run the test TestSimpleFunctions to have little understanding on drill funcs, but the test is failing with the below trace.
Any pointers on what i am missing?

Thanks,
Yash

/sandbox/prototype$ mvn test -Dtest=TestSimpleFunctions
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] prototype-parent
[INFO] common
[INFO] contrib-parent
[INFO] pom
[INFO] exec
[INFO] Netty/Drill/Buffer
[INFO] java-exec
[INFO] Logical Plan Execution Reference Implementation
[INFO] planner
[INFO] sqlparser
[INFO] Packaging
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building prototype-parent 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (no_commons_logging) @ prototype-parent ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.1:process (default) @ prototype-parent ---
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building common 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (no_commons_logging) @ common ---
[INFO]
[INFO] --- protobuf-maven-plugin:0.6.3:run (default) @ common ---
[INFO] Protobuf dependency version 2.5.0
[INFO] 'protoc' executable version 2.5.0
[INFO] Input directories:
[INFO]     /home/yash/work/svn/drill/incubator-drill/sandbox/prototype/common/src/main/protobuf (using default)
[INFO] Output directory: /home/yash/work/svn/drill/incubator-drill/sandbox/prototype/common/target/generated-sources
[INFO] Cleaning /home/yash/work/svn/drill/incubator-drill/sandbox/prototype/common/target/generated-sources
[INFO] Directory /home/yash/work/svn/drill/incubator-drill/sandbox/prototype/common/src/main/protobuf
[INFO]     Processing Types.proto
[INFO] Adding generated classes to classpath
[INFO]
[INFO] --- antlr3-maven-plugin:3.4:antlr (default) @ common ---
[INFO] ANTLR: Processing source directory /home/yash/work/svn/drill/incubator-drill/sandbox/prototype/common/src/main/antlr3
ANTLR Parser Generator  Version 3.4
org/apache/drill/common/expression/parser/ExprLexer.g
org/apache/drill/common/expression/parser/ExprParser.g
[INFO]
[INFO] --- maven-remote-resources-plugin:1.1:process (default) @ common ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ common ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 112 source files to /home/yash/work/svn/drill/incubator-drill/sandbox/prototype/common/target/classes
[WARNING] /home/yash/work/svn/drill/incubator-drill/sandbox/prototype/common/src/main/java/org/apache/drill/common/expression/ArgumentValidators.java: /home/yash/work/svn/drill/incubator-drill/sandbox/prototype/common/src/main/java/org/apache/drill/common/expression/ArgumentValidators.java uses or overrides a deprecated API.
[WARNING] /home/yash/work/svn/drill/incubator-drill/sandbox/prototype/common/src/main/java/org/apache/drill/common/expression/ArgumentValidators.java: Recompile with -Xlint:deprecation for details.
[WARNING] /home/yash/work/svn/drill/incubator-drill/sandbox/prototype/common/src/main/java/org/apache/drill/common/util/Hook.java: /home/yash/work/svn/drill/incubator-drill/sandbox/prototype/common/src/main/java/org/apache/drill/common/util/Hook.java uses unchecked or unsafe operations.
[WARNING] /home/yash/work/svn/drill/incubator-drill/sandbox/prototype/common/src/main/java/org/apache/drill/common/util/Hook.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 8 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ common ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 4 source files to /home/yash/work/svn/drill/incubator-drill/sandbox/prototype/common/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.15:test (default-test) @ common ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] prototype-parent .................................. SUCCESS [3.015s]
[INFO] common ............................................ FAILURE [8.077s]
[INFO] contrib-parent .................................... SKIPPED
[INFO] pom ............................................... SKIPPED
[INFO] exec .............................................. SKIPPED
[INFO] Netty/Drill/Buffer ................................ SKIPPED
[INFO] java-exec ......................................... SKIPPED
[INFO] Logical Plan Execution Reference Implementation ... SKIPPED
[INFO] planner ........................................... SKIPPED
[INFO] sqlparser ......................................... SKIPPED
[INFO] Packaging ......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.040s
[INFO] Finished at: Wed Sep 04 19:30:41 IST 2013
[INFO] Final Memory: 22M/180M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to