drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Barclay <dbarc...@maprtech.com>
Subject Re: Is anyone having issues with the jdbc unit tests (ITTestShadedJar)?
Date Wed, 16 Sep 2015 06:08:00 GMT
Aman Sinha 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

But that's the JDBC storage plug-in, not the Drill JDBC driver and
its tests.

Daniel



>   ...
>   ...
> 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
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>>>
>>
>


-- 
Daniel Barclay
MapR Technologies

Mime
View raw message