You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@drill.apache.org by 尤立 <yo...@gmail.com> on 2013/11/21 11:19:37 UTC

Building MileStone 1 With test unpassed and classes missing

I'm trying Apache Drill. According to the specification from
https://cwiki.apache.org/confluence/display/DRILL/Sources+and+Setting+Up+Development+Environment
.
Doing " select 'Run As -> Maven install" on top of "drill-sqlparser"
project, eclipse shows:
Results :

Tests in error:
  FullEngineTest.setCPRead:47 »  test timed out after 10000 milliseconds

Tests run: 41, Failures: 0, Errors: 1, Skipped: 6

[INFO] ------------------------------
------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 51.934s
[INFO] Finished at: Thu Nov 21 17:18:40 CST 2013
[INFO] Final Memory: 27M/70M

Besides, it reports that BitHolder, BigIntHolder....and some other classes
can't be resolved.
What's going on? Thank You!

Re: Building MileStone 1 With test unpassed and classes missing

Posted by andrew <an...@primer.org>.
I’ve found there are a few things required to get Eclipse to build the master branch. 

1. Comment out references to the RAT plugin in the top-level pom.xml. There seem to be some files with missing license headers causing RAT to fail the build.

2. mvn clean compile install -Dmaven.test.failure.ignore=true. There are some failing tests which can fail the build. Tell maven to ignore them, since what you want at this point is a few useable jar artifacts.

3. In Eclipse, modify the build path for the drill-java-exec sub-project. Add ‘drill-java-exec/generated-sources’ to the build path.

After all that Eclipse seems to work fine. Hope that helps.

- A


On Nov 21, 2013, at 11:04 AM, Jason Altekruse <al...@gmail.com> wrote:

> Just a bit further explanation of what tim was saying. Sometimes getting
> eclipse to compile the whole project first can be hit or miss, if you try
> building once from the command line with 'mvn clean install' and then
> importing you might have better luck.
> 
> -Jason
> 
> 
> On Thu, Nov 21, 2013 at 5:05 AM, Timothy Chen <tn...@gmail.com> wrote:
> 
>> I think you are missing some classes that is generated using templates.
>> 
>> Can you try mvn install at the drill root folder and try again?
>> 
>> Tim
>> 
>> Sent from my iPhone
>> 
>>> On Nov 21, 2013, at 6:19 PM, 尤立 <yo...@gmail.com> wrote:
>>> 
>>> I'm trying Apache Drill. According to the specification from
>>> 
>> https://cwiki.apache.org/confluence/display/DRILL/Sources+and+Setting+Up+Development+Environment
>>> .
>>> Doing " select 'Run As -> Maven install" on top of "drill-sqlparser"
>>> project, eclipse shows:
>>> Results :
>>> 
>>> Tests in error:
>>> FullEngineTest.setCPRead:47 »  test timed out after 10000 milliseconds
>>> 
>>> Tests run: 41, Failures: 0, Errors: 1, Skipped: 6
>>> 
>>> [INFO] ------------------------------
>>> ------------------------------------------
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 51.934s
>>> [INFO] Finished at: Thu Nov 21 17:18:40 CST 2013
>>> [INFO] Final Memory: 27M/70M
>>> 
>>> Besides, it reports that BitHolder, BigIntHolder....and some other
>> classes
>>> can't be resolved.
>>> What's going on? Thank You!
>> 


Re: Building MileStone 1 With test unpassed and classes missing

Posted by Jason Altekruse <al...@gmail.com>.
Just a bit further explanation of what tim was saying. Sometimes getting
eclipse to compile the whole project first can be hit or miss, if you try
building once from the command line with 'mvn clean install' and then
importing you might have better luck.

-Jason


On Thu, Nov 21, 2013 at 5:05 AM, Timothy Chen <tn...@gmail.com> wrote:

> I think you are missing some classes that is generated using templates.
>
> Can you try mvn install at the drill root folder and try again?
>
> Tim
>
> Sent from my iPhone
>
> > On Nov 21, 2013, at 6:19 PM, 尤立 <yo...@gmail.com> wrote:
> >
> > I'm trying Apache Drill. According to the specification from
> >
> https://cwiki.apache.org/confluence/display/DRILL/Sources+and+Setting+Up+Development+Environment
> > .
> > Doing " select 'Run As -> Maven install" on top of "drill-sqlparser"
> > project, eclipse shows:
> > Results :
> >
> > Tests in error:
> >  FullEngineTest.setCPRead:47 »  test timed out after 10000 milliseconds
> >
> > Tests run: 41, Failures: 0, Errors: 1, Skipped: 6
> >
> > [INFO] ------------------------------
> > ------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 51.934s
> > [INFO] Finished at: Thu Nov 21 17:18:40 CST 2013
> > [INFO] Final Memory: 27M/70M
> >
> > Besides, it reports that BitHolder, BigIntHolder....and some other
> classes
> > can't be resolved.
> > What's going on? Thank You!
>

Re: Building MileStone 1 With test unpassed and classes missing

Posted by Timothy Chen <tn...@gmail.com>.
I think you are missing some classes that is generated using templates.

Can you try mvn install at the drill root folder and try again?

Tim

Sent from my iPhone

> On Nov 21, 2013, at 6:19 PM, 尤立 <yo...@gmail.com> wrote:
> 
> I'm trying Apache Drill. According to the specification from
> https://cwiki.apache.org/confluence/display/DRILL/Sources+and+Setting+Up+Development+Environment
> .
> Doing " select 'Run As -> Maven install" on top of "drill-sqlparser"
> project, eclipse shows:
> Results :
> 
> Tests in error:
>  FullEngineTest.setCPRead:47 »  test timed out after 10000 milliseconds
> 
> Tests run: 41, Failures: 0, Errors: 1, Skipped: 6
> 
> [INFO] ------------------------------
> ------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 51.934s
> [INFO] Finished at: Thu Nov 21 17:18:40 CST 2013
> [INFO] Final Memory: 27M/70M
> 
> Besides, it reports that BitHolder, BigIntHolder....and some other classes
> can't be resolved.
> What's going on? Thank You!