First, download Eclipse and install two, download the Exlipse Hadoop plugin three, open the map reduce view
Window---perspective-perspective Open
Iv. Editing the Hadoop location
V. To see if the connection is successful
VI. Upload a file or folder test is successful
1, no permission permission denied
Key line of code: When executing Login.login, the Hadooploginmodule method in Hadoop is called, and the key is in the Commit method, it takes precedence to read the HADOOP_USER_NAME system environment variables. Then there is the Java environment variable, and if not, it gets from the Ntuserprincipal. Because Hadoop_user_name was not previously configured, it gets to the current user of my Windows system.
if (!issecurityenabled () && (user = = null)) { String envuser = system.getenv (hadoop_user_name); if (Envuser = = null) { Envuser = System.getproperty (hadoop_user_name); } user = Envuser = = null? Null:new User (envuser);}
Above solution reference from: http://blog.csdn.net/xiaoshunzi111/article/details/52062640
"Big Data series" under Windows to connect to the Hadoop environment under Linux for development