|
@@ -16,7 +16,7 @@ username=$SAGA_USER
|
|
|
password=$SAGA_PASSWORD
|
|
|
|
|
|
hdfs_to_mysql() {
|
|
|
- sqoop export -D mapred.job.queue.name=hive \
|
|
|
+ /usr/local/service/sqoop/bin/sqoop export -D mapred.job.queue.name=hive \
|
|
|
--connect $1 \
|
|
|
--username $2 \
|
|
|
--password $3 \
|
|
@@ -30,7 +30,7 @@ hdfs_to_mysql() {
|
|
|
}
|
|
|
|
|
|
hdfs_to_mysql_by_day() {
|
|
|
- sqoop export -D mapred.job.queue.name=hive \
|
|
|
+ /usr/local/service/sqoop/bin/sqoop export -D mapred.job.queue.name=hive \
|
|
|
--connect $1 \
|
|
|
--username $2 \
|
|
|
--password $3 \
|