[ 
https://issues.apache.org/jira/browse/SENTRY-1731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16005369#comment-16005369
 ] 

Na Li commented on SENTRY-1731:
-------------------------------

build 2671 failed may be related to this getting port, and then open socket on 
this port later.

2017-05-10 20:07:47,666 (SentryService-0) [ERROR - 
org.apache.sentry.service.thrift.SentryService.call(SentryService.java:201)] 
Error starting server
org.apache.thrift.transport.TTransportException: Could not create ServerSocket 
on address localhost/127.0.0.1:8038.
        at 
org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:109)
        at 
org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:91)
        at 
org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:87)
        at 
org.apache.sentry.service.thrift.SentryService.runServer(SentryService.java:250)
        at 
org.apache.sentry.service.thrift.SentryService.call(SentryService.java:198)
        at 
org.apache.sentry.service.thrift.SentryService.call(SentryService.java:74)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)

> java net BindException Address already in use
> ---------------------------------------------
>
>                 Key: SENTRY-1731
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1731
>             Project: Sentry
>          Issue Type: Bug
>          Components: Sentry
>    Affects Versions: sentry-ha-redesign
>            Reporter: Na Li
>            Assignee: Na Li
>         Attachments: Sentry-1687 Patch1 Test fail build 2570 Address already 
> in use.zip
>
>
> this unit test fails often. 
> java.net.BindException: Address already in use



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to