Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
trunk, 2.5.0, 2.4.2
-
None
Description
atlas-application properties file hive conf directory has a property named "atlas.rest.address" . It has ACTIVE Atlas server's address which is used by the script import-hive.sh to import tables from hive to Atlas. In HA mode ,when failover happens , PASSIVE host becomes ACTIVE and the atlas.rest.address is not updated. So, import fails on running the script.
If "atlas.rest.address" has list of all Atlas hosts separated by comma , import-hive.sh looks for all the hosts in the list for the ACTIVE one and makes call to the correct ACTIVE server.
Hence ,change is required to make value of atlas.rest.address as list of Atlas hosts.