Commit 18006e53 by wangjf

fix

parent e883f3f7
No preview for this file type
type=command
retries=3
command=sh -x mysql2hive.sh
\ No newline at end of file
#!/usr/sh
DT=$(date +%Y%m%d -d "-1 day $ScheduleTime")
sqoop import --connect jdbc:mysql://dataplatform-app-tag.c5yzcdreb1xr.us-east-1.rds.amazonaws.com:3306/app_tag \
--username apptag_rw --password 7gyLEVtkER3u8c9 --table tag_list --input-fields-terminated-by '\t' --lines-terminated-by '\n' \
--hive-import --hive-overwrite --create-hive-table --hive-table dwh.app_tag --null-string '\\N' --null-non-string '\\N' \
--compression-codec "com.hadoop.compression.lzo.LzopCodec"
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment