drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacques Nadeau <jacq...@dremio.com>
Subject Re: Is anyone having issues with the jdbc unit tests (ITTestShadedJar)?
Date Wed, 16 Sep 2015 12:38:22 GMT
Aman, your issue is different. Derby starts up on a particular port. If you
have something else running on that port (including a paused version of a
previous run) then the test would fail. Are you sure you don't have
anything running on that port?
On Sep 15, 2015 10:25 PM, "Aman Sinha" <asinha@maprtech.com> wrote:

> Here's a different issue I encountered running unit tests on a clean master
> branch on my Mac:
>
> Running org.apache.drill.exec.store.jdbc.TestJdbcPlugin
>  ...
>  ...
> Tue Sep 15 20:01:36 PDT 2015 : Could not listen on port 20000 on host
> 127.0.0.1:
>  java.net.BindException: Address already in use
>
> It has to do with starting up derby:
>
> storage-jdbc asinha$ cat derby.log
>
> Tue Sep 15 22:13:01 PDT 2015 : Apache Derby Network Server - 10.11.1.1 -
> (1616546) started and ready to accept connections on port 1527
> Tue Sep 15 22:13:01 PDT 2015 : Could not listen on port 20000 on host
> 127.0.0.1:
>  java.net.BindException: Address already in use
> An exception was thrown during network server startup.
> DRDA_ListenPort.S:Could not listen on port 20000 on host 127.0.0.1:
>  java.net.BindException: Address already in use
>
>
> On Tue, Sep 15, 2015 at 9:37 PM, Chris Westin <chriswestin42@gmail.com>
> wrote:
>
> > Variability: for me so far 2 out of 2 times.
> >
> > No stack trace, but as above, when I try to reproduce it in an IDE
> > "This seems to be because the test is getting an ExceptionInInitializer
> in
> > DrillbitClassLoader because the app.class.path property isn't set (and
> then
> > the resulting String.length() on its value throws an NPE)."
> >
> > I don't see app.class.path set anywhere in any pom.xml (so it's not
> getting
> > set when I copy the surefire arguments into the IDE's launch
> configuration
> > for the test, either).
> >
> >
> > On Tue, Sep 15, 2015 at 9:09 PM, Jacques Nadeau <jacques@dremio.com>
> > wrote:
> >
> > > It was tested on a clean machine a number of times. Any thoughts on the
> > > variability? Can you provide stack trace?
> > > On Sep 15, 2015 6:28 PM, "Sudheesh Katkam" <skatkam@maprtech.com>
> wrote:
> > >
> > > > Yes, I see this issue too.
> > > >
> > > > > On Sep 15, 2015, at 5:53 PM, Chris Westin <chriswestin42@gmail.com
> >
> > > > wrote:
> > > > >
> > > > > This seems to be because the test is getting an
> > ExceptionInInitializer
> > > in
> > > > > DrillbitClassLoader because the app.class.path property isn't set
> > (and
> > > > then
> > > > > the resulting String.length() on its value throws an NPE).
> > > > >
> > > > > Bueller?
> > > > >
> > > > > On Tue, Sep 15, 2015 at 5:20 PM, Chris Westin <
> > chriswestin42@gmail.com
> > > >
> > > > > wrote:
> > > > >
> > > > >> I just rebased, and twice in a row I've gotten wedged running
> > > > >> org.apache.drill.jdbc.ITTestShadedJar
> > > > >>
> > > > >>
> > > > >>
> > > >
> > > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message