Support Questions

Find answers, ask questions, and share your expertise
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

Could not locate executable null\bin\winutils.exe

New Contributor


I follow the tutorial but i get this error

ERROR Shell:397 - Failed to locate the winutils binary in the hadoop binary path Could not locate executable null\bin\winutils.exe in the Hadoop binaries.

How can i fix it ?



Expert Contributor

Which tutorial were you following? Which step?
If possible, please provide some screen shots.

Super Mentor


Seems in your Windows machine you are missing the winutil.exe. Can you try this:

1. Download winutils.exe from
2. Set your HADOOP_HOME environment variable on the OS level to the full path to the bin folder with winutils.

New Contributor


I'm not able to download the winutils.exe file from, and getting below error. 

<Message>Access Denied</Message>

Hi @Winne

Your question went into a thread that was over three years old. You would have a better chance of receiving a prompt and satisfactory resolution by starting a new thread. This will also be an opportunity to provide details specific to your environment that could aid others in assisting you with a more accurate answer to your question. You can link this thread as a reference in your new post.



Bill Brooks, Community Moderator
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

New Contributor

Hi, I follow this tutorial
I install
4.Download and Save Dataset

But by executing this code :

from pyspark importSparkContext,SparkConf conf =SparkConf().setAppName('MyFirstStandaloneApp')
sc =SparkContext(conf=conf) text_file = sc.textFile("./shakespeare.txt") counts = text_file.flatMap(lambda line: line.split(" ")) \.map(lambda word:(word,1)) \.reduceByKey(lambda a, b: a + b)print("Number of elements: "+ str(counts.count()))

I get this error


After that, I downloaded Winutilis and a create a folter C:\winutils\bin and i copied it Inside.

Second i edited the enviroment variable by creating Hadoop_home and this path : C:\winutils\bin (See the picture


I rexecute the code and i have the same error…:(

New Contributor

I got the same problem. It looks like it appends bin to the HADOOP_HOME path. So need to set HADOOP_HOME=C:\winutils instead of C:\winutils\bin

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.