you have this permission error when trying to write to HDFS:
org.apache.hadoop.security.AccessControlException: Permission denied: user=kurban, access=EXECUTE, inode=”hive”:hive:hdfs:rwx——)
You can run your script as user “hive”, or you can create your output location in HDFS and make it owned by user “kurban”.
org.apache.hadoop.ipc.RemoteException: java.io.IOException: File /tmp/hive-kurban/hive_2012-08-24_18-03-24_281_7249222202881112947/_task_tmp.-ext-10000/_tmp.000000_0 could only be replicated to 0 nodes, instead of 1
could also be related to same permissions problems.
Please, make sure you have user “kurban” on all cluster nodes and make sure you have setup output location with the correct ownership.