I\'m getting following error while using sqoop import command: ERROR security.UserGroupInformation: PriviledgedActionException as:SqoopUser (auth:SIMPLE) cause:java.io.File
In addition to Daniel Koverman answer do this also. This will help you.
export HADOOP_MAPRED_HOME=/usr/lib/hadoop-0.20-mapreduce export HADOOP_HOME=/usr/lib/hadoop-0.20-mapreduce
add these two lines in
/etc/default/hadoop and /etc/default/hiveserver