Hi Ashish,

The hanging unit tests are integration tests. You can skip the integration
test with this command 'mvn install -DskipTests'.

However, I cannot figure out the cause of the hanging unit tests from your
log message.  Could you let me know more information?

1) What are your linux and procps versions? Recently, I had experienced the
same situation due to this bug (
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688731).

2) What is the first exception of unit tests?

Thanks,
Hyunsik


On Thu, Mar 28, 2013 at 8:07 PM, Ashish <[email protected]> wrote:

> Build is working fine at my end on both JDK 6 and 7.
>
> mvn clean;mvn compile;mvn test run fine.
>
> Facing a strange issue while running "mvn clean install", the build never
> completes and get stuck in this loop
>
> 2013-03-28 16:35:48,581 INFO  rm.RMContainerAllocator
> (RMContainerAllocator.java:makeRemoteRequest(173)) - Num of Allocated
> Containers: 0
> 2013-03-28 16:35:49,584 INFO  rm.RMContainerAllocator
> (RMContainerAllocator.java:makeRemoteRequest(172)) - Available Resource:
> <memory:6144, vCores:-1>
> 2013-03-28 16:35:49,584 INFO  rm.RMContainerAllocator
> (RMContainerAllocator.java:makeRemoteRequest(173)) - Num of Allocated
> Containers: 0
> 2013-03-28 16:35:50,588 INFO  rm.RMContainerAllocator
> (RMContainerAllocator.java:makeRemoteRequest(172)) - Available Resource:
> <memory:6144, vCores:-1>
> 2013-03-28 16:35:50,588 INFO  rm.RMContainerAllocator
> (RMContainerAllocator.java:makeRemoteRequest(173)) - Num of Allocated
> Containers: 0
> 2013-03-28 16:35:51,590 INFO  rm.RMContainerAllocator
> (RMContainerAllocator.java:makeRemoteRequest(172)) - Available Resource:
> <memory:6144, vCores:-1>
> 2013-03-28 16:35:51,590 INFO  rm.RMContainerAllocator
> (RMContainerAllocator.java:makeRemoteRequest(173)) - Num of Allocated
> Containers: 0
>
> Had to kill the build after observing in this state for more than 10 min.
> Any suggestions on what might be holding it?
>
> thanks
> ashish
>
>
> On Thu, Mar 28, 2013 at 7:52 AM, Hyunsik Choi <[email protected]
> >wrote:
>
> > Thank you for letting me know. JDK 1.6 is right. I'll fix the jdk version
> > of the getting started.
> >
> > - hyunsik
> >
> >
> > On Thu, Mar 28, 2013 at 11:15 AM, Tanujit Ghosh <[email protected]
> > >wrote:
> >
> > > Hi,
> > >
> > > The Tajo wiki is saying to set JAVA_HOME as
> > >
> > > export JAVA_HOME=/usr/lib/jvm/openjdk-1.7.x
> > >
> > >
> > > But as per the Requirement i guess this should be jdk1.6.
> > >
> > >
> > > Also compiling with jdk1.7 given a issue with ResultSetImpl class.
> > > My environment is gone wrong at the moment, but will send out the error
> > > asap.
> > >
> > >
> > > Regards,
> > > Tanujit
> > >
> >
>
>
>
> --
> thanks
> ashish
>
> Blog: http://www.ashishpaliwal.com/blog
> My Photo Galleries: http://www.pbase.com/ashishpaliwal
>

Reply via email to