Hey Shakti,
As mentioned by Aditya - The test case TestHashToRandomExchange has got
issues for you.

Just to add -
You can execute the particular testcase specifically by:
$ cd exec/java-exec/
$ mvn test -Dtest=TestHashToRandomExchange

Feel free to post your findings/stack traces back to the dev list.
Also, If the test case is a blocker and stopping your dev work, you can
continue the build by skipping the test cases:

$ mvn clean install -DskipTests

Peace,
Yash

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.052 sec
- in org.apache.drill.exec.physical.impl.TestHashToRandomExchange

Results :

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

[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 01:42 min
[INFO] Finished at: 2014-05-17T11:39:12+05:30
[INFO] Final Memory: 47M/675M
[INFO]
------------------------------------------------------------------------



On Fri, May 16, 2014 at 10:45 PM, Aditya <[email protected]> wrote:

> The exception trace indicate something went wrong elsewhere in the code and
> hence the test could not complete in the allotted time.
>
> Please look at the respective log of unit test "TestHashToRandomExchange"
> which should have information regarding the original error.
>
>
> On Fri, May 16, 2014 at 6:29 AM, Shakti garg <[email protected]>
> wrote:
>
> > Posting in dev mailing list as i didn't get any answer on user mailing
> > list.
> >
> > Please help me
> > ---------- Forwarded message ----------
> > From: "Shakti garg" <[email protected]>
> > Date: May 14, 2014 9:07 PM
> > Subject: Exception while building the drill latest code from github
> > To: <[email protected]>
> > Cc:
> >
> > Hi,
> >
> > I am new to drill. So, to start up, i am trying to build the latest code
> > from git for installation.
> >
> > I pulled up latest source code by running
> > git clone https://github.com/apache/incubator-drill.git
> >
> > But while building code running $mvn -e clean install, it is throwing
> > following error repeatedly.
> >
> > Running org.apache.drill.exec.physical.impl.TestHashToRandomExchange
> > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 18.257
> sec
> > <<< FAILURE! - in
> > org.apache.drill.exec.physical.impl.TestHashToRandomExchange
> >
> >
> twoBitTwoExchangeTwoEntryRun(org.apache.drill.exec.physical.impl.TestHashToRandomExchange)
> > Time elapsed: 17.964 sec  <<< ERROR!
> > java.lang.Exception: test timed out after 10000 milliseconds
> >     at sun.misc.Unsafe.park(Native Method)
> >     at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
> >     at
> >
> >
> java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:834)
> >     at
> >
> >
> java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:994)
> >     at
> >
> >
> java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1303)
> >     at
> >
> >
> com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:292)
> >     at
> >
> >
> com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116)
> >     at
> >
> >
> org.apache.drill.exec.client.DrillClient$ListHoldingResultsListener.getResults(DrillClient.java:226)
> >     at
> > org.apache.drill.exec.client.DrillClient.runQuery(DrillClient.java:171)
> >     at
> >
> >
> org.apache.drill.exec.physical.impl.TestHashToRandomExchange.twoBitTwoExchangeTwoEntryRun(TestHashToRandomExchange.java:52)
> >
> > Running org.apache.drill.exec.server.TestBitRpc
> > connected
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001
> sec -
> > in org.apache.drill.exec.server.TestBitRpc
> >
> > Results :
> >
> > Tests in error:
> >   TestHashToRandomExchange.twoBitTwoExchangeTwoEntryRun:52 ยป  test timed
> > out aft...
> >
> > Tests run: 78, Failures: 0, Errors: 1, Skipped: 9
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Reactor Summary:
> > [INFO]
> > [INFO] Apache Drill Root POM ............................. SUCCESS
> > [29.356s]
> > [INFO] Common (Logical Plan, Base expressions) ........... SUCCESS
> > [1:41.587s]
> > [INFO] contrib/Parent Pom ................................ SUCCESS
> [0.493s]
> > [INFO] contrib/hbase-storage-engine ...................... SUCCESS
> [0.635s]
> > [INFO] exec/Parent Pom ................................... SUCCESS
> [2.014s]
> > [INFO] exec/Reference Interpreter ........................ SUCCESS
> > [23.681s]
> > [INFO] exec/Netty Little Endian Buffers .................. SUCCESS
> [1.592s]
> > [INFO] exec/Java Execution Engine ........................ FAILURE
> > [4:43.730s]
> > [INFO] SQL Parser ........................................ SKIPPED
> > [INFO] contrib/sqlline ................................... SKIPPED
> > [INFO] Packaging and Distribution Assembly ............... SKIPPED
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 7:35.679s
> > [INFO] Finished at: Tue May 13 10:36:31 PDT 2014
> > [INFO] Final Memory: 55M/257M
> > [INFO]
> > ------------------------------------------------------------------------
> >
> > FYI, java version is
> > java version "1.7.0_55"
> > Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
> > Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)
> >
> > and OS is centos 6(Linux).
> >
> >
> > Please provide me pointer to solve this problem.
> >
> > --
> > Shakti garg
> >
>

Reply via email to