You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Namit Maheshwari (Jira)" <ji...@apache.org> on 2020/04/01 23:57:00 UTC
[jira] [Created] (HDDS-3323) Hive fails to work with OM HA
Namit Maheshwari created HDDS-3323:
--------------------------------------
Summary: 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
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