I set up on the virtual machine Hadoop-2.7.1, using the Windows operating IDEA connected on a local, hadoop is not installed on windows.
Several connection problems encountered:
1. When submitting the report winutils.exe missing, and there java.lang.NullPointerException
Download winutils.exe ( https://github.com/zhuxishun/hadoop-common-2.7.1-bin-master ), after a new any folder, I built in d: / winutil, the new bin file directory folder, put winutils.exe.
After editing system variables and PATH.
Adding a user variable PATH line% HADOOP_HOME% \ bin
Finally, restart your computer.
2. Exception in thread "main" java.lang.UnsatisfiedLinkError: org.apache.hadoop.io.nativeio.NativeIO$Windows.access0(Ljava/lang/String;I)Z
$ HADOOP_HOME \ bin missing hadoop.dll file, in the above link to download into the directory can