You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Abhishek Upperwal (Jira)" <ji...@apache.org> on 2020/05/18 17:48:00 UTC
[jira] [Updated] (BEAM-10026) Error Connecting to Remote Job Server
[ https://issues.apache.org/jira/browse/BEAM-10026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Abhishek Upperwal updated BEAM-10026:
-------------------------------------
Issue Type: Bug (was: Improvement)
> Error Connecting to Remote Job Server
> -------------------------------------
>
> Key: BEAM-10026
> URL: https://issues.apache.org/jira/browse/BEAM-10026
> Project: Beam
> Issue Type: Bug
> Components: jobserver
> Affects Versions: 2.20.0
> Reporter: Abhishek Upperwal
> Priority: P2
> Labels: patch
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> h2. *ServerFactory.java*
>
> Currently gRPC Job Server is created with *NettyServerBuilder.forPort()* which by default binds it to localhost and hence can't be accessed remotely.
> I propose using *NettyServerBuilder.forAddress()* and use *socket* as the argument. ** Another change would be to use string from *--job-host* instead of *InetAddress.getLoopbackAddress()* when creating the socket. **
--
This message was sent by Atlassian Jira
(v8.3.4#803005)