Sqoop jar files not found

后端 未结 6 1216
慢半拍i
慢半拍i 2020-12-21 13:05

I\'m getting following error while using sqoop import command: ERROR security.UserGroupInformation: PriviledgedActionException as:SqoopUser (auth:SIMPLE) cause:java.io.File

6条回答
  •  情话喂你
    2020-12-21 13:59

    Please execute below commands which will resolve your problem. It will copy your files in HDFS system.

    hdfs dfs -copyFromLocal /opt/hadoop/sqoop-1.4.6 hdfs://localhost:9000/opt/hadoop/sqoop-1.4.6
    
    hdfs dfs -copyFromLocal /opt/hadoop/sqoop-1.4.6/lib hdfs://localhost:9000/opt/hadoop/sqoop-1.4.6/lib
    
    hdfs dfs -copyFromLocal /opt/hadoop/sqoop-1.4.6/sqoop-1.4.6.jar hdfs://localhost:9000/opt/hadoop/sqoop-1.4.6/sqoop-1.4.6.jar
    

    Similarly copy any file which is not able to get by HDFS system.

    Note : In above command /opt/hadoop/sqoop-1.4.6 is my system sqoop installation location

提交回复
热议问题