sqoop2日常 常用命令

Last updated on November 20, 2024 am

🧙 Questions

☄️Ideas

连接sqoop2服务

sqoop2-shell
> set server --host isxcode --port 30125 --webapp sqoop
create link --connector hdfs-connector
> Name: ${linkName}
> URI: hdfs://isxcode:30110/
> Conf directory: /data/hadoop-3.3.0/etc/hadoop

link操作

show link
delete link -n hdfs_link
show link -n
show link -n ${linkName}

job操作

show job
show job -n ${jobName}
delete job -n hdfs_to_mysql
start job -n ${jobName}
status job -n ${jobName}
stop job -n ${jobName}

查看日志

cat /data/sqoop/sqoop-1.99.7/conf/@LOGDIR@/sqoop.log

sqoop2日常 常用命令
https://ispong.isxcode.com/hadoop/sqoop/sqoop2日常 常用命令/
Author
ispong
Posted on
February 25, 2021
Licensed under