Map/Reduce project can't locate MRlib folder by default


After adding MapReduce NuGet package and running sample project it fails locating MRLib folder and fails with following exception:
"The environment is not suitable:

Environment variable not set: HADOOP_HOME

Environment variable not set: HADOOP_HOME"

while trying to execute against HDInsight hosted on Azure.
Followed configuration guide from: https://hadoopsdk.codeplex.com/wikipage?title=Running%20jobs%20on%20Azure%20HDInsight%20service&referringTitle=Map%2fReduce
Closed May 1, 2013 at 12:44 AM by maxluk


has3hares wrote Jul 17, 2015 at 12:29 PM

I had the same error message when trying to run a HadoopJob with the .NET SDK, while the HDInsight cluster was still provisioning.
Solution: Wait till it's running.