You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Jitendra Nath Pandey (Jira)" <ji...@apache.org> on 2020/04/28 04:22:00 UTC

[jira] [Updated] (HDDS-3323) Hive fails to work with OM HA

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

Jitendra Nath Pandey updated HDDS-3323:
---------------------------------------
    Priority: Critical  (was: Major)

> Hive fails to work with OM HA
> -----------------------------
>
>                 Key: HDDS-3323
>                 URL: https://issues.apache.org/jira/browse/HDDS-3323
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>            Reporter: Namit Maheshwari
>            Assignee: Hanisha Koneru
>            Priority: Critical
>
> Hive fails to work with OM HA due to the below configuration issue:
> Please look at the below Hive client conf:
> {code:java}
>   <property>
>     <name>ozone.om.address.ozone1.om1</name>
>     <value>xxx-7.xxx.root.zzz.site:9862</value>
>   </property>
>   <property>
>     <name>ozone.om.address.ozone1.om2</name>
>     <value>xxx-8.xxx.root.zzz.site:9862</value>
>   </property>
>   <property>
>     <name>ozone.om.address.ozone1.om3</name>
>     <value>xxx-6.xxx.root.zzz.site:9862</value>
>   </property>
> {code}
>  
> OM Server has below conf:
> {code:java}
>   <property>
>     <name>ozone.om.address.ozone1.om1</name>
>     <value>xxx-6.xxx.root.zzz.site:9862</value>
>   </property>
>   <property>
>     <name>ozone.om.address.ozone1.om2</name>
>     <value>xxx-7.xxx.root.zzz.site:9862</value>
>   </property>
>   <property>
>     <name>ozone.om.address.ozone1.om3</name>
>     <value>xxx-8.xxx.root.zzz.site:9862</value>
>   </property>
> {code}
> Let's say om3 is leader which is host xxx-8.xxx.root.zzz.site:9862 as per the OM server.
> Now let's say, client is talking to om1, and the server responds the suggested leader as om3, then client fails over to om3 which is host xxx-6.xxx.root.zzz.site:9862 according to it's conf, but according to the server it is xxx-8.xxx.root.zzz.site:9862.
> So, now the client will keep on talking to follower OM which is xxx-6.xxx.root.zzz.site:9862, and exhaust its retry count and finally the request will fail.
> Thus Hive fails to work with OM HA. We need to address it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org