10.22
将表存入mysql
//sqoop语句
bin/sqoop export \
--connect jdbc:mysql://192.168.51.100:3306/myhive \
--username root \
--password root \
--table data \
--num-mappers 1 \
--export-dir /user/hadoop/sms/om \
--input-fields-terminated-by "\t"
使用web用饼状图来表示数据