The IDEA project scala access HDFS, the program is running, an exception may occur:
权限问题:Permission denied: user=СÎ÷ѧÎè, access=WRITE, inode="/":hadoop:supergroup:drwxr-xr-x
Modify runtime parameters, because the user files on HDFS belongs is hadoop, so here the user can also change hadoop:
-DHADOOP_USER_NAME=hadoop: