title: Should I include hadoop-common or hadoop-core in my spark application
body: <p>I am trying to get a simple word count spark application running locally and reads file from remote hadoop cluster. </p>
  
  <p>In the maven dependencies when added hadoop-core (last version 1.2.1) in my dependencies to get ride of this exception </p>
  
  <p><code>Could not locate executable null\bin\winutils.exe in the Hadoop binaries</code></p>
  
  <p>Then I got another exception which is </p>
  
  <p><code>Server IPC version 9 cannot communicate with client version 4</code></p>
  
  <p>so I included hadoop-common (last version 2.6.0) in my dependencies. </p>
  
  <p>At this stage the first exception is thrown again.</p>
  
  <p>What is the problem here? I believe there is a dependencies conflict but I can not figure it out. </p>