You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2014/09/26 23:44:35 UTC

[jira] [Commented] (HIVE-8277) IP address string in HS2, metastore have a "/" prefix

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

Thejas M Nair commented on HIVE-8277:
-------------------------------------

This happens when InetAddress.toString is used instead of getHostAddress.

> IP address string in HS2, metastore have a "/" prefix
> -----------------------------------------------------
>
>                 Key: HIVE-8277
>                 URL: https://issues.apache.org/jira/browse/HIVE-8277
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2, Metastore
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>            Priority: Blocker
>             Fix For: 0.14.0
>
>
> The ip address string set in HiveServer2  (in SessionState) and in HiveMetaStore (HMSHandler) have a additional "/" at the beginning. 
> Metastore audit logs have " ip=/127.0.0.1 " as a result. HiveAuthzContext also ends up having the same problem.



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