[ 
https://issues.apache.org/jira/browse/HIVE-14820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aihua Xu updated HIVE-14820:
----------------------------
    Status: Patch Available  (was: Open)

patch-1: Change to use .varname to be the key to the map. Otherwise, 
get(Object) will return null always.

> RPC server for spark inside HS2 is not getting server address properly
> ----------------------------------------------------------------------
>
>                 Key: HIVE-14820
>                 URL: https://issues.apache.org/jira/browse/HIVE-14820
>             Project: Hive
>          Issue Type: Bug
>          Components: Spark
>    Affects Versions: 2.0.1
>            Reporter: Aihua Xu
>            Assignee: Aihua Xu
>         Attachments: HIVE-14820.1.patch
>
>
> When hive.spark.client.rpc.server.address is configured, this property is not 
> retrieved properly because we are getting the value by {{String hiveHost = 
> config.get(HiveConf.ConfVars.SPARK_RPC_SERVER_ADDRESS);}}  which always 
> returns null in getServerAddress() call of RpcConfiguration.java. Rather it 
> should be {{String hiveHost = 
> config.get(HiveConf.ConfVars.SPARK_RPC_SERVER_ADDRESS.varname);}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to