title: A master url must be set to your configuration (Spark scala on AWS)
body: <p><a href="https://i.stack.imgur.com/wjIGU.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wjIGU.jpg" alt="This is what I ran (in scala spark)"></a></p>
  
  <p>This is what I wrote via intellij. I plan on eventually writing larger spark scala files.</p>
  
  <p>Anyways, I uploaded it on an AWS cluster that I had made. The <code>"master"</code> line, line 11 was <code>"master("local")"</code>. I ran into this error</p>
  
  <p>The second picture is the error that was returned by AWS when it did not run successfully. i changed <strong>line 11</strong> to <code>"yarn"</code> instead of <code>local</code> (see the first picture for its current state)</p>
  
  <p>It still is returning the same error. I put in the following flags when I uploaded it manually
   <code>--steps Type=CUSTOM_JAR,Name="SimpleApp"</code></p>
  
  <p>It worked two weeks ago. My friend did almost the exact same thing as me. I am not sure why it isn't working.</p>
  
  <p>I am looking for both a brief explanation and an answer. Looks like I need a little more knowledge on how spark works.</p>
  
  <p>I am working with amazon EMR.
  <a href="https://i.stack.imgur.com/TtNmR.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TtNmR.jpg" alt="the error AWS gave"></a></p>