<?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: Spark2 conf directory is empty in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark2-conf-directory-is-empty/m-p/228771#M70376</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11071/facundo.html" nodeid="11071"&gt;@Facundo Bianco&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Can you please try running the curl command mentioned above. That should install the client&lt;/P&gt;</description>
    <pubDate>Fri, 27 Oct 2017 00:34:32 GMT</pubDate>
    <dc:creator>asirna</dc:creator>
    <dc:date>2017-10-27T00:34:32Z</dc:date>
    <item>
      <title>Spark2 conf directory is empty</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark2-conf-directory-is-empty/m-p/228768#M70373</link>
      <description>&lt;P&gt;Hi, I just installed Spark2 from Ambari wizard and the Spark2's configuration directory is empty:&lt;/P&gt;&lt;PRE&gt;&amp;gt; ls -l /etc/spark2/2.6.2.0-205/0
total 0
&lt;/PRE&gt;&lt;P&gt;The installation output is:&lt;/P&gt;&lt;PRE&gt;14:39:22,875 - Backing up /etc/spark2/conf to /etc/spark2/conf.backup if destination doesn't exist already.
14:39:22,875 - Execute[('cp', '-R', '-p', '/etc/spark2/conf', '/etc/spark2/conf.backup')] {'not_if': 'test -e /etc/spark2/conf.backup', 'sudo': True}
14:39:22,897 - Checking if need to create versioned conf dir /etc/spark2/2.6.2.0-205/0
14:39:22,900 - call[('ambari-python-wrap', u'/usr/bin/conf-select', 'dry-run-create', '--package', 'spark2', '--stack-version', u'2.6.2.0-205', '--conf-version', '0')] {'logoutput': False, 'sudo': True, 'quiet': False, 'stderr': -1}
14:39:22,940 - call returned (0, '/etc/spark2/2.6.2.0-205/0', '')
14:39:22,941 - Package spark2 will have new conf directories: /etc/spark2/2.6.2.0-205/0
14:39:22,946 - Checking if need to create versioned conf dir /etc/spark2/2.6.2.0-205/0
14:39:22,952 - call[('ambari-python-wrap', u'/usr/bin/conf-select', 'create-conf-dir', '--package', 'spark2', '--stack-version', u'2.6.2.0-205', '--conf-version', '0')] {'logoutput': False, 'sudo': True, 'quiet': False, 'stderr': -1}
14:39:22,987 - call returned (1, '/etc/spark2/2.6.2.0-205/0 exist already', '')
14:39:22,988 - checked_call[('ambari-python-wrap', u'/usr/bin/conf-select', 'set-conf-dir', '--package', 'spark2', '--stack-version', u'2.6.2.0-205', '--conf-version', '0')] {'logoutput': False, 'sudo': True, 'quiet': False}
14:39:23,022 - checked_call returned (0, '/usr/hdp/2.6.2.0-205/spark2/conf -&amp;gt; /etc/spark2/2.6.2.0-205/0')
14:39:23,023 - Ensuring that spark2 has the correct symlink structure
14:39:23,024 - Execute[('cp', '-R', '-p', '/etc/spark2/conf', '/etc/spark2/conf.backup')] {'not_if': 'test -e /etc/spark2/conf.backup', 'sudo': True}
14:39:23,033 - Skipping Execute[('cp', '-R', '-p', '/etc/spark2/conf', '/etc/spark2/conf.backup')] due to not_if
14:39:23,034 - Directory['/etc/spark2/conf'] {'action': ['delete']}
14:39:23,034 - Removing directory Directory['/etc/spark2/conf'] and all its content
14:39:23,035 - Link['/etc/spark2/conf'] {'to': '/etc/spark2/conf.backup'}
14:39:23,035 - Creating symbolic Link['/etc/spark2/conf'] to /etc/spark2/conf.backup
14:39:23,036 - Link['/etc/spark2/conf'] {'action': ['delete']}
14:39:23,036 - Deleting Link['/etc/spark2/conf']
14:39:23,037 - Link['/etc/spark2/conf'] {'to': '/usr/hdp/current/spark2-client/conf'}
14:39:23,037 - Creating symbolic Link['/etc/spark2/conf'] to /usr/hdp/current/spark2-client/conf
14:39:23,037 - /etc/hive/conf is already linked to /etc/hive/2.6.2.0-205/0&lt;/PRE&gt;&lt;P&gt;I'm using Ambari version 2.5.2.0, HDP version 2.6.2.0-205 and Spark2 version 2.1.1. &lt;/P&gt;&lt;P&gt;Do you know what happened? &lt;/P&gt;&lt;P&gt;There is a way to install again the Spark2 configuration?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2017 23:20:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark2-conf-directory-is-empty/m-p/228768#M70373</guid>
      <dc:creator>facundo</dc:creator>
      <dc:date>2017-10-26T23:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: Spark2 conf directory is empty</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark2-conf-directory-is-empty/m-p/228769#M70374</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/11071/facundo.html" nodeid="11071"&gt;@Facundo Bianco&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Seems like spark2 client is not installed. &lt;/P&gt;&lt;P&gt;Can you please check this directory (/usr/hdp/2.6.2.0-205/spark2/conf/) . If the directory is not empty you can copy files from the mentioned directory to /etc/spark2/2.6.2.0-205/0.&lt;/P&gt;&lt;P&gt;If the directory is empty , try installing the client and check the directory&lt;/P&gt;&lt;PRE&gt;yum install spark2_2_6_2_0_205-master spark2_2_6_2_0_205-python&lt;/PRE&gt;&lt;P&gt;You can also install the client using REST API&lt;/P&gt;&lt;PRE&gt;curl -k -u {username}:{password} -H "X-Requested-By:ambari" -i -X PUT -d '{"HostRoles": {"state": "INSTALLED"}}'  &lt;A href="http://{ambari-host}:{ambari-port}/api/v1/clusters/{clustername}/hosts/{hostname}/host_components/SPARK2_CLIENT" target="_blank"&gt;http://{ambari-host}:{ambari-port}/api/v1/clusters/{clustername}/hosts/{hostname}/host_components/SPARK2_CLIENT&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;Replace ambari-host, ambari-port , clustername, hostname,username and password with your values&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2017 00:06:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark2-conf-directory-is-empty/m-p/228769#M70374</guid>
      <dc:creator>asirna</dc:creator>
      <dc:date>2017-10-27T00:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: Spark2 conf directory is empty</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark2-conf-directory-is-empty/m-p/228770#M70375</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/14200/asirna.html" nodeid="14200"&gt;@Aditya Sirna&lt;/A&gt;, &lt;/P&gt;&lt;P&gt;The directory /usr/hdp/2.6.2.0-205/spark2/conf/ is empty but I have installed &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;spark2_2_6_2_0_205-python-2.1.1.2.6.2.0-205.noarch&lt;/LI&gt;&lt;LI&gt;spark2_2_6_2_0_205-2.1.1.2.6.2.0-205.noarch&lt;BR /&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 27 Oct 2017 00:29:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark2-conf-directory-is-empty/m-p/228770#M70375</guid>
      <dc:creator>facundo</dc:creator>
      <dc:date>2017-10-27T00:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Spark2 conf directory is empty</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark2-conf-directory-is-empty/m-p/228771#M70376</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11071/facundo.html" nodeid="11071"&gt;@Facundo Bianco&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Can you please try running the curl command mentioned above. That should install the client&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2017 00:34:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark2-conf-directory-is-empty/m-p/228771#M70376</guid>
      <dc:creator>asirna</dc:creator>
      <dc:date>2017-10-27T00:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Spark2 conf directory is empty</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark2-conf-directory-is-empty/m-p/228772#M70377</link>
      <description>&lt;P&gt;I solved it with a comment on Spark2, Config, Advanced spark2-env. After that, I restarted Spark2 and their clients and the new configuration files were deployed. &lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 03:23:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark2-conf-directory-is-empty/m-p/228772#M70377</guid>
      <dc:creator>facundo</dc:creator>
      <dc:date>2017-10-31T03:23:28Z</dc:date>
    </item>
  </channel>
</rss>

