1. 启动 history
./sbin/mrjobhistorydaemon.sh start historyserver
./sbin/yarn-daemon.sh start proxyserver
2, sqoop 导出到 mysql
./sqoop export --connect jdbc:mysql://192.168.1.161:3306/search --username naliworld --password password! --table iphone_kw_return_result --export-dir hdfs://tracker.test.lan:8020/user/hive/warehouse/search.db/tmp_zh_iphone_total_kw_res --input-fields-terminated-by ' 01' --input-null-string '\N' --input-null-non-string '\N'