摘要:
#!/bin/bashexport LANG="en_US.UTF-8"#设定时间变量,为前一天时间log_date=`date +%Y-%m-%d -d "-1 days"`#清空hive上的数据,再重建一个文件夹hadoop dfs -rm -r /hjh/channelshadoop dfs ... 阅读全文
摘要:
/opt/sqoop-1.4.4/bin/sqoop export --table mytablename --connect jdbc:oracle:thin:@**.**.**.**:***:dbasename --username myusername--password mypassword... 阅读全文