<?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 Spark 1.6 - ls: cannot access /usr/hdp/None/hadoop/lib: No such file or directory - when running spark-shell or pyspark in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-1-6-ls-cannot-access-usr-hdp-None-hadoop-lib-No-such/m-p/135715#M18980</link>
    <description>&lt;P&gt;Ive installed Spark 1.6 on my hortonworks cluster (2.3.4.0-3485) by using the following website:&lt;/P&gt;&lt;P&gt;&lt;A href="http://hortonworks.com/hadoop-tutorial/apache-spark-1-6-technical-preview-with-hdp-2-3/" target="_blank"&gt;http://hortonworks.com/hadoop-tutorial/apache-spark-1-6-technical-preview-with-hdp-2-3/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When I run spark-shell or pyspark from my command line, the first two lines are these two:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ls: cannot access &lt;STRONG&gt;/usr/hdp/None/hadoop/lib&lt;/STRONG&gt;: No such file or directory
16/02/10 17:07:27 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable&lt;/EM&gt;
&lt;/P&gt;&lt;P&gt;Anything Im missing in my Spark installation?&lt;/P&gt;</description>
    <pubDate>Thu, 11 Feb 2016 00:24:41 GMT</pubDate>
    <dc:creator>marko_kole</dc:creator>
    <dc:date>2016-02-11T00:24:41Z</dc:date>
    <item>
      <title>Spark 1.6 - ls: cannot access /usr/hdp/None/hadoop/lib: No such file or directory - when running spark-shell or pyspark</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-1-6-ls-cannot-access-usr-hdp-None-hadoop-lib-No-such/m-p/135715#M18980</link>
      <description>&lt;P&gt;Ive installed Spark 1.6 on my hortonworks cluster (2.3.4.0-3485) by using the following website:&lt;/P&gt;&lt;P&gt;&lt;A href="http://hortonworks.com/hadoop-tutorial/apache-spark-1-6-technical-preview-with-hdp-2-3/" target="_blank"&gt;http://hortonworks.com/hadoop-tutorial/apache-spark-1-6-technical-preview-with-hdp-2-3/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When I run spark-shell or pyspark from my command line, the first two lines are these two:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ls: cannot access &lt;STRONG&gt;/usr/hdp/None/hadoop/lib&lt;/STRONG&gt;: No such file or directory
16/02/10 17:07:27 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable&lt;/EM&gt;
&lt;/P&gt;&lt;P&gt;Anything Im missing in my Spark installation?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 00:24:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-1-6-ls-cannot-access-usr-hdp-None-hadoop-lib-No-such/m-p/135715#M18980</guid>
      <dc:creator>marko_kole</dc:creator>
      <dc:date>2016-02-11T00:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Spark 1.6 - ls: cannot access /usr/hdp/None/hadoop/lib: No such file or directory - when running spark-shell or pyspark</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-1-6-ls-cannot-access-usr-hdp-None-hadoop-lib-No-such/m-p/135716#M18981</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/931/marko-kole.html" nodeid="931"&gt;@marko&lt;/A&gt;&lt;/P&gt;&lt;P&gt;please install hdfs client on the node you're running spark-shell from. Go to the host in ambari, and install clients and pick hdfs. Also double check with this thread &lt;A href="http://stackoverflow.com/questions/19943766/hadoop-unable-to-load-native-hadoop-library-for-your-platform-warning" target="_blank"&gt;http://stackoverflow.com/questions/19943766/hadoop-unable-to-load-native-hadoop-library-for-your-platform-warning&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 00:27:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-1-6-ls-cannot-access-usr-hdp-None-hadoop-lib-No-such/m-p/135716#M18981</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-11T00:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: Spark 1.6 - ls: cannot access /usr/hdp/None/hadoop/lib: No such file or directory - when running spark-shell or pyspark</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-1-6-ls-cannot-access-usr-hdp-None-hadoop-lib-No-such/m-p/135717#M18982</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;&lt;/A&gt;&lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Thank you for the link. Educative reading &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The clients are installed (HDFS, YARN and Hive are, I believe, required).
Ive been doing some researcher and Ive also checked the link you proposed. Adding various variables in my bashrc didnt work.&lt;/P&gt;&lt;P&gt;I read also this document: &lt;EM&gt;&lt;A href="https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/NativeLibraries.html" target="_blank"&gt;https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/NativeLibraries.html&lt;/A&gt;&lt;/EM&gt;. If I run &lt;EM&gt;hadoop checknative -a&lt;/EM&gt;I get, among other things, the following:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;hadoop:  true /usr/hdp/2.3.4.0-3485/hadoop/lib/native/libhadoop.so.1.0.0 &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;snappy:  true /usr/hdp/2.3.4.0-3485/hadoop/lib/native/libsnappy.so.1&lt;/EM&gt;
Seems as if Hadoop sees the native libraries, but Spark does not?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 06:07:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-1-6-ls-cannot-access-usr-hdp-None-hadoop-lib-No-such/m-p/135717#M18982</guid>
      <dc:creator>marko_kole</dc:creator>
      <dc:date>2016-02-11T06:07:14Z</dc:date>
    </item>
  </channel>
</rss>

