一开始scoop的命令是
sqoop export --connect "jdbc:mysql://localhost:3306/bigdataprj?useUnicode=true&characterEncoding=utf-8" --username root --password huang123### --table app_yy --export-dir '/user/hive/warehouse/bigdataprj.db/app_yy/' --fields-terminated-by ',' ;
加上--columns "first_lv_inst,second_lv_inst,first_lv_page,second_lv_page,date_str" 解决了错位问题
sqoop export --connect "jdbc:mysql://localhost:3306/bigdataprj?useUnicode=true&characterEncoding=utf-8" --username root --password huang123### --table app_yy --export-dir '/user/hive/warehouse/bigdataprj.db/app_yy/' --fields-terminated-by ',' --columns "first_lv_inst,second_lv_inst,first_lv_page,second_lv_page,date_str" ;