执行
sqoop import --connect jdbc:mysql://xxxxxxxxx --username xxx --password xxxxx --table etna_function --target-dir /tmp/test
报错:
解决办法:
sudo -u hdfs sqoop import --connect jdbc:mysql://xxxxxxxx --username xxxx --password xxxxx --table etna_function --target-dir /tmp/test