sqoop import \
-Doraoop.disabled=true \
--connect jdbc:oracle:thin:@"(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=XX.XX.XX.XX)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=edw)))" \
--username ****\
--password ****\
--table SDI.OGG_SP_HT_2800 \
--num-mappers 20 \
--null-string ‘‘ --null-non-string ‘‘ \
--hbase-table ogg_sp_ht_2800 \
--column-family cf \
--hbase-row-key HTH,CONTRACT_ID \
--split-by CONTRACT_ID;
各个参数都很清晰
时间: 2024-12-04 22:44:32