hadoop相關要點

1. 查看hadoop日誌mysql

hadoop job -logs job_1430340889927_194127 attempt_1430340889927_194127_m_000027_1sql

2.sqoop export導出到mysql數據庫數據庫

sqoop export --connect jdbc:mysql://DMP-ETL-001/xwdb -m 1 --username xwtech --password hwfx123 --table user_label --export-dir /user/e_xinwang/private/tmp_yym_test/ --input-fields-terminated-by '\t'oop

3.顯示hive表分區日誌

show partitions exttable_map_mdn_cityhadoop

4.刪除分區 ci

alter table test drop partition (dt='20160213');input

相關文章
相關標籤/搜索