Can't get the location for replica 0

如题

img


使用Sqoop将数据从MySQL导入HBase时候出错

    cd /usr/local/sqoop
    ./bin/sqoop  import  --connect jdbc:mysql://localhost:3306/dblab --username root --password hadoop --table user_action --hbase-table user_action --column-family f1 --hbase-row-key id --hbase-create-table -m 1

这是代码

这是你的数据库的问题,检查下数据库是否存在错误。