tez-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Lowe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TEZ-3978) DAGClientServer Socket exception when localhost name lookup failures
Date Tue, 14 Aug 2018 20:33:00 GMT

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

Jason Lowe commented on TEZ-3978:
---------------------------------

Thanks for the patch!

I'm a little concerned that we are changing the semantics of the bind.  This now binds to
every interface on the machine rather than the primary interface as it did before.  Is that
desired?  It might be safer to just pass the IP address from the sock addr without doing a
reverse host lookup.

> DAGClientServer Socket exception when localhost name lookup failures
> --------------------------------------------------------------------
>
>                 Key: TEZ-3978
>                 URL: https://issues.apache.org/jira/browse/TEZ-3978
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Jonathan Eagles
>            Assignee: Jonathan Eagles
>            Priority: Major
>         Attachments: TEZ-3978.001.patch
>
>
> Call From 0.0.0.0 to null:0 failed on socket exception: java.net.SocketException: Invalid
argument
> {code}
> 2018-08-10 21:19:55,523 [ERROR] [ServiceThread:DAGClientRPCServer] |client.DAGClientServer|:
Failed to start DAGClientServer: 
> java.net.SocketException: Call From 0.0.0.0 to null:0 failed on socket exception: java.net.SocketException:
Invalid argument; For more details see:  http://wiki.apache.org/hadoop/SocketException
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> 	at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:804)
> 	at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:777)
> 	at org.apache.hadoop.ipc.Server.bind(Server.java:563)
> 	at org.apache.hadoop.ipc.Server$Listener.<init>(Server.java:958)
> 	at org.apache.hadoop.ipc.Server.<init>(Server.java:2657)
> 	at org.apache.hadoop.ipc.RPC$Server.<init>(RPC.java:968)
> 	at org.apache.hadoop.ipc.ProtobufRpcEngine$Server.<init>(ProtobufRpcEngine.java:367)
> 	at org.apache.hadoop.ipc.ProtobufRpcEngine.getServer(ProtobufRpcEngine.java:342)
> 	at org.apache.hadoop.ipc.RPC$Builder.build(RPC.java:810)
> 	at org.apache.tez.dag.api.client.DAGClientServer.createServer(DAGClientServer.java:134)
> 	at org.apache.tez.dag.api.client.DAGClientServer.serviceStart(DAGClientServer.java:82)
> 	at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
> 	at org.apache.tez.dag.app.DAGAppMaster$ServiceWithDependency.start(DAGAppMaster.java:1909)
> 	at org.apache.tez.dag.app.DAGAppMaster$ServiceThread.run(DAGAppMaster.java:1930)
> Caused by: java.net.SocketException: Invalid argument
> 	at sun.nio.ch.Net.bind0(Native Method)
> 	at sun.nio.ch.Net.bind(Net.java:433)
> 	at sun.nio.ch.Net.bind(Net.java:425)
> 	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
> 	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
> 	at org.apache.hadoop.ipc.Server.bind(Server.java:553)
> 	... 11 more
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message