Running daily reconciliation and merge
Inventory manager can use daily Sqoop extracts to reconcile data against the stream tables. The data can then be merged into the final current view tables.
Use the recon_invmgr_recon script to extract, reconcile and merge the records into target schema
The action parameter is required and specifies the steps which will be executed
--onlyMerge - merge stream tables to current
--onlyRecon - reconcile stream and recon records
--onlySqoop - sqoop data into the recon schema
--all - run all steps in sequence (sqoop, recon and
The script uses configuration in the "recon.properties" file in the config folder. By default, the merge is run for the previous day. This can be overridden by specifying a specific date or number of days to go back and run the action.
The list of tables is defined in recon.properties, however this can be overridden on the command line and you can pass in a specific table or list of tables. The list should be within double quotes and separated by space. Alternatively you can specify the list in the configuration with source db and table_list suffix. for example - bpm_table_list=work history
The target schema is new in 1.0.9 and is required for merge to work
The target schema for each table should be defined in the recon.properties. The syntax is
For example if activity table is to be merged into activity table defined in dev schema, use
Last updated