You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by Sree V <sr...@yahoo.com> on 2013/03/01 00:11:03 UTC
Re: [jira] [Commented] (DRILL-43) Cant have Drill to build
Check this link:
https://cwiki.apache.org/confluence/display/DRILL/Sources+and+Setting+Up+Development+Environment
Thanking you.
With Regards
Sree
________________________________
From: sekine coulibaly (JIRA) <ji...@apache.org>
To: drill-dev@incubator.apache.org
Sent: Thursday, February 28, 2013 2:41 PM
Subject: [jira] [Commented] (DRILL-43) Cant have Drill to build
[ https://issues.apache.org/jira/browse/DRILL-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13590005#comment-13590005 ]
sekine coulibaly commented on DRILL-43:
---------------------------------------
Julian, Mitesh,
The applied patch seems to solve the dependencies issue. However, the test section fails when executing test testSelectJson().
Not mentionned before, but I'm buidling the prototype, as per https://cwiki.apache.org/confluence/display/DRILL/Demo+HowTo. I'll update that page accordingly when the build succeeds.
Thank you for your help !
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.drill.jdbc.test.JdbcTest
00:34:16.981 [main] DEBUG o.a.drill.optiq.EnumerableDrillRel - implementing enumerable
{"head":{"type":"apache_drill_logical_plan","version":"1","generator":{"type":"manual","info":"na"}},"storage":[{"name":"donuts-json","type":"classpath"},{"name":"queue","type":"queue"}],"query":[{"op":"sequence","do":[{"op":"scan","memo":"initial_scan","ref":"donuts","storageengine":"donuts-json","selection":{"path":"/donuts.json","type":"JSON"}},{"op":"store","storageengine":"queue","memo":"output sink","target":{"number":0}}]}]}
00:34:18.268 [main] DEBUG o.a.drill.common.config.DrillConfig - Loading configs at the following URLs [jar:file:/home/scoulibaly/incubator-drill/sandbox/prototype/exec/ref/target/ref-1.0-SNAPSHOT.jar!/drill-module.conf, jar:file:/home/scoulibaly/incubator-drill/sandbox/prototype/common/target/common-1.0-SNAPSHOT.jar!/drill-module.conf]
00:34:18.614 [main] DEBUG o.a.d.c.l.data.LogicalOperatorBase - Adding Logical Operator sub types: [class org.apache.drill.common.logical.data.Union, class org.apache.drill.common.logical.data.Flatten, class org.apache.drill.common.logical.data.Join, class org.apache.drill.common.logical.data.Sequence, class org.apache.drill.common.logical.data.RunningAggregate, class org.apache.drill.common.logical.data.Order, class org.apache.drill.common.logical.data.WindowFrame, class org.apache.drill.common.logical.data.Limit, class org.apache.drill.common.logical.data.Filter, class org.apache.drill.common.logical.data.Project, class org.apache.drill.common.logical.data.Scan, class org.apache.drill.common.logical.data.Transform, class org.apache.drill.common.logical.data.Store, class org.apache.drill.common.logical.data.CollapsingAggregate, class org.apache.drill.common.logical.data.Segment]
00:34:18.617 [main] DEBUG o.a.d.c.l.StorageEngineConfigBase - Adding Storage Engine Configs including [class org.apache.drill.exec.ref.rse.FileSystemRSE$FileSystemRSEConfig, class org.apache.drill.exec.ref.rse.ConsoleRSE$ConsoleRSEConfig, class org.apache.drill.exec.ref.rse.ClasspathRSE$ClasspathRSEConfig, class org.apache.drill.exec.ref.rse.QueueRSE$QueueRSEConfig]
00:34:18.860 [main] DEBUG o.a.drill.common.logical.JSONOptions - Creating Deserializer.
00:34:18.868 [main] DEBUG o.a.drill.common.logical.JSONOptions - Creating Deserializer.
00:34:18.879 [main] DEBUG o.a.drill.common.logical.JSONOptions - Creating Deserializer.
00:34:18.884 [main] DEBUG o.a.drill.common.logical.JSONOptions - Creating Deserializer.
00:34:18.887 [main] DEBUG o.a.d.common.logical.OperatorGraph - Values; Node [val=Store [memo=output sink]]
{
"head" : {
"type" : "apache_drill_logical_plan",
"version" : 1,
"generator" : {
"type" : "manual",
"info" : "na"
}
},
"storage" : [ {
"type" : "queue",
"name" : "queue"
}, {
"type" : "classpath",
"name" : "donuts-json"
} ],
"query" : [ {
"op" : "scan",
"@id" : 1,
"memo" : "initial_scan",
"storageengine" : "donuts-json",
"selection" : {
"path" : "/donuts.json",
"type" : "JSON"
},
"ref" : "donuts"
}, {
"op" : "store",
"@id" : 2,
"memo" : "output sink",
"input" : 1,
"target" : {
"number" : 0
},
"partition" : null,
"storageEngine" : "queue"
} ]
}
00:34:18.958 [main] DEBUG o.a.drill.common.config.DrillConfig - Loading configs at the following URLs [jar:file:/home/scoulibaly/incubator-drill/sandbox/prototype/exec/ref/target/ref-1.0-SNAPSHOT.jar!/drill-module.conf, jar:file:/home/scoulibaly/incubator-drill/sandbox/prototype/common/target/common-1.0-SNAPSHOT.jar!/drill-module.conf]
00:34:18.966 [main] DEBUG o.a.d.c.l.data.LogicalOperatorBase - Adding Logical Operator sub types: [class org.apache.drill.common.logical.data.Union, class org.apache.drill.common.logical.data.Flatten, class org.apache.drill.common.logical.data.Join, class org.apache.drill.common.logical.data.Sequence, class org.apache.drill.common.logical.data.RunningAggregate, class org.apache.drill.common.logical.data.Order, class org.apache.drill.common.logical.data.WindowFrame, class org.apache.drill.common.logical.data.Limit, class org.apache.drill.common.logical.data.Filter, class org.apache.drill.common.logical.data.Project, class org.apache.drill.common.logical.data.Scan, class org.apache.drill.common.logical.data.Transform, class org.apache.drill.common.logical.data.Store, class org.apache.drill.common.logical.data.CollapsingAggregate, class org.apache.drill.common.logical.data.Segment]
00:34:18.967 [main] DEBUG o.a.d.c.l.StorageEngineConfigBase - Adding Storage Engine Configs including [class org.apache.drill.exec.ref.rse.FileSystemRSE$FileSystemRSEConfig, class org.apache.drill.exec.ref.rse.ConsoleRSE$ConsoleRSEConfig, class org.apache.drill.exec.ref.rse.ClasspathRSE$ClasspathRSEConfig, class org.apache.drill.exec.ref.rse.QueueRSE$QueueRSEConfig]
00:34:18.987 [main] DEBUG o.a.drill.exec.ref.rse.RSERegistry - Loading storage engines [class org.apache.drill.exec.ref.rse.ClasspathRSE, class org.apache.drill.exec.ref.rse.QueueRSE, class org.apache.drill.exec.ref.rse.FileSystemRSE, class org.apache.drill.exec.ref.rse.ConsoleRSE]
Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.576 sec <<< FAILURE!
Results :
Tests in error:
testSelectJson(org.apache.drill.jdbc.test.JdbcTest): exception while executing query
Tests run: 3, Failures: 0, Errors: 1, Skipped: 0
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
> Cant have Drill to build
> ------------------------
>
> Key: DRILL-43
> URL: https://issues.apache.org/jira/browse/DRILL-43
> Project: Apache Drill
> Issue Type: Bug
> Environment: Fresh git copy from git clone https://git-wip-us.apache.org/repos/asf/incubator-drill.git
> Also fresh copy of a Centos 6.3 x86_64, jdk1.7.0-15, Maven 2.2.1
> Reporter: sekine coulibaly
> Labels: build-failure, dependencies
> Attachments: DRILL-43.patch
>
>
> Several dependencies are not downloaded and hence make Drill not to build (sorry, Maven and Java newbie here!).
> NFO] [jar:jar {execution: default-jar}]
> [INFO] Building jar: /home/scoulibaly/Bureau/incubator-drill/sandbox/prototype/planner/target/planner-1.0-SNAPSHOT.jar
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing /home/scoulibaly/Bureau/incubator-drill/sandbox/prototype/planner/target/planner-1.0-SNAPSHOT.jar to /home/scoulibaly/.m2/repository/org/apache/drill/planner/1.0-SNAPSHOT/planner-1.0-SNAPSHOT.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] Building sqlparser
> [INFO] task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [remote-resources:process {execution: default}]
> Downloading: http://repo1.maven.org/maven2/net/hydromatic/optiq/0.1/optiq-0.1.pom
> [INFO] Unable to find resource 'net.hydromatic:optiq:pom:0.1' in repository central (http://repo1.maven.org/maven2)
> Downloading: http://repo1.maven.org/maven2/net/hydromatic/linq4j/0.1/linq4j-0.1.pom
> [INFO] Unable to find resource 'net.hydromatic:linq4j:pom:0.1' in repository central (http://repo1.maven.org/maven2)
> Downloading: http://repository.apache.org/snapshots/org/apache/drill/exec/ref/1.0-SNAPSHOT/ref-1.0-SNAPSHOT-test.jar
> Downloading: http://repo1.maven.org/maven2/net/hydromatic/optiq/0.1/optiq-0.1.jar
> [INFO] Unable to find resource 'net.hydromatic:optiq:jar:0.1' in repository central (http://repo1.maven.org/maven2)
> Downloading: http://repo1.maven.org/maven2/net/hydromatic/linq4j/0.1/linq4j-0.1.jar
> [INFO] Unable to find resource 'net.hydromatic:linq4j:jar:0.1' in repository central (http://repo1.maven.org/maven2)
> [INFO] Unable to find resource 'org.apache.drill.exec:ref:jar:test:1.0-SNAPSHOT' in repository apache.snapshots (http://repository.apache.org/snapshots)
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve dependencies for one or more projects in the reactor. Reason: Missing:
> ----------
> 1) net.hydromatic:optiq:jar:0.1
> Try downloading the file manually from the project website.
> Then, install it using the command:
> mvn install:install-file -DgroupId=net.hydromatic -DartifactId=optiq -Dversion=0.1 -Dpackaging=jar -Dfile=/path/to/file
> Alternatively, if you host your own repository you can deploy the file there:
> mvn deploy:deploy-file -DgroupId=net.hydromatic -DartifactId=optiq -Dversion=0.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> Path to dependency:
> 1) org.apache.drill:sqlparser:jar:1.0-SNAPSHOT
> 2) net.hydromatic:optiq:jar:0.1
> 2) net.hydromatic:linq4j:jar:0.1
> Try downloading the file manually from the project website.
> Then, install it using the command:
> mvn install:install-file -DgroupId=net.hydromatic -DartifactId=linq4j -Dversion=0.1 -Dpackaging=jar -Dfile=/path/to/file
> Alternatively, if you host your own repository you can deploy the file there:
> mvn deploy:deploy-file -DgroupId=net.hydromatic -DartifactId=linq4j -Dversion=0.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> Path to dependency:
> 1) org.apache.drill:sqlparser:jar:1.0-SNAPSHOT
> 2) net.hydromatic:linq4j:jar:0.1
> 3) org.apache.drill.exec:ref:jar:test:1.0-SNAPSHOT
> Try downloading the file manually from the project website.
> Then, install it using the command:
> mvn install:install-file -DgroupId=org.apache.drill.exec -DartifactId=ref -Dversion=1.0-SNAPSHOT -Dclassifier=test -Dpackaging=jar -Dfile=/path/to/file
> Alternatively, if you host your own repository you can deploy the file there:
> mvn deploy:deploy-file -DgroupId=org.apache.drill.exec -DartifactId=ref -Dversion=1.0-SNAPSHOT -Dclassifier=test -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> Path to dependency:
> 1) org.apache.drill:sqlparser:jar:1.0-SNAPSHOT
> 2) org.apache.drill.exec:ref:jar:test:1.0-SNAPSHOT
> ----------
> 3 required artifacts are missing.
> for artifact:
> org.apache.drill:sqlparser:jar:1.0-SNAPSHOT
> from the specified remote repositories:
> apache.snapshots (http://repository.apache.org/snapshots),
> central (http://repo1.maven.org/maven2)
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 27 seconds
> [INFO] Finished at: Thu Feb 28 11:52:29 CET 2013
> [INFO] Final Memory: 65M/157M
> [INFO] ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira