Replication failure in the DAS Event Processor
DAS uses replication as a way to copy database and table metadata information from Hive to DAS Postgres database. If the replication fails, then you may not be able to see database or table information in DAS.
- Bootstrap dump
- Incremental dump
When the DAS Event Processor is started for the first time, the entire Hive database and table metadata is copied in to DAS. This is known as the bootstrap dump. After this phase, only the differences are copied in to DAS at one-minute intervals, from the time the last successful dump was run. This is known as an incremental dump.
If the bootstrap dump never succeeded, then you may not see any database or table information in DAS. If the bootstrap dump fails, then the information regarding the failure is captured in the most recent Event Processor log.
If an incremental dump fails, then you may not see any new changes to the databases and tables in DAS. The incremental dump relies on events stored in the Hive metastore, because these events take up a lot of space and are only used for replicating data. The events are removed from Hive metastore daily, which can affect DAS.
Fixing incremental dump failures
Notification events are missing in the meta store
”,
then:- Stop the DAS Event Processor.
- Log in to the DAS Postgres database.
- Re-initiate the bootstrap dump by running the following commands:
update das.databases set creation_source = 'EVENT_PROCESSOR'; update das.tables set creation_source = 'EVENT_PROCESSOR'; update das.columns set creation_source = 'EVENT_PROCESSOR'; delete from das.db_replication_info;
- Restart the DAS Event Processor.
Note | |
---|---|
The error message " If the first exception that you hit is an SQLException, then it is a Hive-side failure. Save the HiveServer and the Hive Metastore logs for the time when the exception occoured. File a bug with Cloudera Support along with the above-mentioned logs. |