Running daily reconciliation and merge
./run-invmgr-recon.sh [--all | --onlyMerge | --onlyRecon | --onlySqoop ] <- Action Param
[-e dev|test|prod] <- Env Param
[-s bpm|ods] <- Source DB Param
[-d yyyy-mm-dd] <- Optional processing date
[-n num] <- Optional Num days
[-t \"table1 table2\"] <- Optional Table List # Recon script config
# queue name
queue_name=pipeline
tez_java_opts=-Xmx1640m
container_size=2048
# ods source db url
ods_source_url=jdbc:db2://localhost:51101/DBODSX11
ods_source_user_name=invapp
ods_source_user_alias=db2.invapp.password.alias
ods_source_user_jceks=//hdfs/user/invapp/db2.jceks
#bpm source db url
bpm_source_url=jdbc:db2://localhost:51102/DBBPMX11
bpm_source_user_name=invapp
bpm_source_user_alias=db2.invapp.password.alias
bpm_source_user_jceks=//hdfs/user/invapp/db2.jceks
# target store URL
target_url="jdbc:hive2://local_1:2181, local_2:2181/scratch;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2"
target_sqoop_schema=recon
beeline_password_file=<location>
# schema
recon_schema=recon
stream_schema=stream
ods_schema=ods
bpm_schema=bpm
# list of tables to be processed
bpm_table_list=work history
ods_table_list=activity document
# target schema is table specific - since 1.0.9
default_target_schema=ods
activity_target_schema=dev
history_target_schema=dev
document_target_schema=dev
work_target_schema=dev
# user to be notified
[email protected]
Last updated