Ashutosh Mestry created ATLAS-2652:
--------------------------------------

             Summary: Data Migration: Export: Type Definition Fails to Export 
in HA Mode
                 Key: ATLAS-2652
                 URL: https://issues.apache.org/jira/browse/ATLAS-2652
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core
    Affects Versions: 0.8.2
            Reporter: Ashutosh Mestry
            Assignee: Ashutosh Mestry
             Fix For: 0.8.2


*Pre-requisites*

Setup a multi-node cluster such that high availability (HA) mode is enabled. 
This will mean that Atlas server is present on more than 1 node.

In _atlas-application.properties_, note that the _atlas.server.ha.enabled_ is 
set to _true_.

Add some data to Atlas repository, either via Import or by creating tables 
within Hive.

*Steps to Reproduce*
 * Stop Atlas via Ambari.
 * Start the migration using _atlas_migration_export.py -d ~/atlas-data_

Expected results: Both the JSON files generated should contain data.

Actual results: _atlas-migration-typesdef.json_ does not contain data.

The _atlas-migration-exporter.log_ shows a message 
_'AtlasTypeDefStoreInitializer.init(): deferring type loading until instance 
activation'_.

*Root Cause*

In HA mode, the Atlas type system is initialized only when the active node.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to