<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: sparkR with HDP 2.4 deployed on AWS ec2 connection error in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sparkR-with-HDP-2-4-deployed-on-AWS-ec2-connection-error/m-p/145118#M40267</link>
    <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/11887/fissehaberhane.html"&gt;Fish Berh&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I assume that your R-Studio is on your laptop. It seems that you are trying to access an internal IP from your laptop. You need to reference a public IP or the public URI for your server.&lt;/P&gt;</description>
    <pubDate>Sat, 10 Sep 2016 03:48:22 GMT</pubDate>
    <dc:creator>cstanca</dc:creator>
    <dc:date>2016-09-10T03:48:22Z</dc:date>
    <item>
      <title>sparkR with HDP 2.4 deployed on AWS ec2 connection error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sparkR-with-HDP-2-4-deployed-on-AWS-ec2-connection-error/m-p/145117#M40266</link>
      <description>&lt;P&gt;I am trying to use SparkR in Rstudio in HDP2.4 deployed on AWS EC2 cluster. I installed R, Rstudio and other R packages but after I login to R and try to start spark context, I encountered the problem below.&lt;/P&gt;&lt;PRE&gt;Sys.setenv(SPARK_HOME="/usr/hdp/current/spark-client/")
.libPaths(c(file.path(Sys.getenv("SPARK_HOME"),"R","lib"),.libPaths()))

library(SparkR)

# Create a spark context and a SQL context
sc &amp;lt;- SparkR::sparkR.init(master = "yarn-client")

Retrying connect to server: ip-xxx-xx-xx-xx.ec2.internal/xxx.xx.xx.xx:8050. Already tried 49 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=50, sleepTime=1000 MILLISECONDS)
16/09/09 11:41:32 &lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Sep 2016 22:44:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sparkR-with-HDP-2-4-deployed-on-AWS-ec2-connection-error/m-p/145117#M40266</guid>
      <dc:creator>fisseha_berhane</dc:creator>
      <dc:date>2016-09-09T22:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: sparkR with HDP 2.4 deployed on AWS ec2 connection error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sparkR-with-HDP-2-4-deployed-on-AWS-ec2-connection-error/m-p/145118#M40267</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/11887/fissehaberhane.html"&gt;Fish Berh&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I assume that your R-Studio is on your laptop. It seems that you are trying to access an internal IP from your laptop. You need to reference a public IP or the public URI for your server.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Sep 2016 03:48:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sparkR-with-HDP-2-4-deployed-on-AWS-ec2-connection-error/m-p/145118#M40267</guid>
      <dc:creator>cstanca</dc:creator>
      <dc:date>2016-09-10T03:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: sparkR with HDP 2.4 deployed on AWS ec2 connection error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sparkR-with-HDP-2-4-deployed-on-AWS-ec2-connection-error/m-p/145119#M40268</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/11887/fissehaberhane.html"&gt;Fish Berh&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/11887/fissehaberhane.html"&gt;&lt;/A&gt;You may also want to check a few options here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://blog.rstudio.org/tag/sparkr/"&gt;https://blog.rstudio.org/tag/sparkr/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Sep 2016 03:53:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sparkR-with-HDP-2-4-deployed-on-AWS-ec2-connection-error/m-p/145119#M40268</guid>
      <dc:creator>cstanca</dc:creator>
      <dc:date>2016-09-10T03:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: sparkR with HDP 2.4 deployed on AWS ec2 connection error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sparkR-with-HDP-2-4-deployed-on-AWS-ec2-connection-error/m-p/145120#M40269</link>
      <description>&lt;P&gt;Actually, I logged in to Rstudio using the address of the server: &lt;/P&gt;&lt;P&gt;ec2-yy-yyy-yyy-yy.compute-1.amazonaws.com:8787&lt;/P&gt;</description>
      <pubDate>Sat, 10 Sep 2016 03:57:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sparkR-with-HDP-2-4-deployed-on-AWS-ec2-connection-error/m-p/145120#M40269</guid>
      <dc:creator>fisseha_berhane</dc:creator>
      <dc:date>2016-09-10T03:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: sparkR with HDP 2.4 deployed on AWS ec2 connection error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sparkR-with-HDP-2-4-deployed-on-AWS-ec2-connection-error/m-p/145121#M40270</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/11887/fissehaberhane.html"&gt;@Fish Berh&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/11887/fissehaberhane.html"&gt;&lt;/A&gt;Could you vote and accept my response? I suggested using the public URI of the server.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Sep 2016 06:27:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sparkR-with-HDP-2-4-deployed-on-AWS-ec2-connection-error/m-p/145121#M40270</guid>
      <dc:creator>cstanca</dc:creator>
      <dc:date>2016-09-10T06:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: sparkR with HDP 2.4 deployed on AWS ec2 connection error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sparkR-with-HDP-2-4-deployed-on-AWS-ec2-connection-error/m-p/145122#M40271</link>
      <description>&lt;P&gt;I used public URI of the server to login and got the error.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 21:30:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sparkR-with-HDP-2-4-deployed-on-AWS-ec2-connection-error/m-p/145122#M40271</guid>
      <dc:creator>fisseha_berhane</dc:creator>
      <dc:date>2016-09-12T21:30:06Z</dc:date>
    </item>
  </channel>
</rss>

