Skip to content

Commit

Permalink
Additional clarification to the post-migration steps.
Browse files Browse the repository at this point in the history
  • Loading branch information
dstreev committed Jun 28, 2019
1 parent b39b445 commit d41200e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions post_migration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ fi
while read line; do
POST_DB=`echo ${line} | cut -f 1 -d " "`
echo "Launching Post Migration for: ${POST_DB}"
nohup ${HIVE_CMD} --config /etc/hive/conf --service \
strictmanagedmigration --hiveconf hive.strict.managed.tables=true \
nohup ${HIVE_CMD} -Dhive.log.dir=${OUTPUT_DIR} -Dhive.log.file=post_migration_output_${POST_DB}.log \
--config /etc/hive/conf --service strictmanagedmigration --hiveconf hive.strict.managed.tables=true \
-m automatic --dbRegex ${POST_DB} ${DO_DRYRUN} \
--modifyManagedTables --oldWarehouseRoot /apps/hive/warehouse \
-Dhive.log.dir=${OUTPUT_DIR} -Dhive.log.file=post_migration_output_${POST_DB}.log &
--modifyManagedTables --oldWarehouseRoot /apps/hive/warehouse &
done < ${OUTPUT_DIR}/post_migration.txt

0 comments on commit d41200e

Please sign in to comment.