Configure pycharm. go to settings>project>project structure, add content root
While running on windows, for the "java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries" error,
- Download winutils.exe from http://public-repo-1.hortonworks.com/hdp-win-alpha/winutils.exe
- Copy to a folder like "C:\Srini\hadoop\bin"
- Setup your HADOOP_HOME environment variable on the OS level or programmatically: System.setProperty("hadoop.home.dir", "C:\Srini\hadoop\")
** Do not include bin in the path