<?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: while trying to add a client only host to an existing cluster , in the Assign Slaves and Clients dialog the NEXT button is always disabled. How can I get it to be enabled? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/while-trying-to-add-a-client-only-host-to-an-existing/m-p/210483#M69367</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/44388/gordonmuster.html" nodeid="44388"&gt;@Gordon Muster&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If you are runnign ambari server as a Non-Root Directory and if it is RHEL7 (or CentOS7) then please do the following:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Edit the &lt;EM&gt;&lt;STRONG&gt;"/etc/ambari-server/conf/ambari.properties" &lt;/STRONG&gt;&lt;/EM&gt;and then edit the following properties to a directory which is out side of the "/var/run"&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Example: &lt;/STRONG&gt;&lt;STRONG&gt;Default Values&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;pid.dir=/var/run/ambari-server
bootstrap.dir=/var/run/ambari-server/bootstrap
recommendations.dir=/var/run/ambari-server/stack-recommendations&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Changed Values:   (some other directory other than "/var/run")&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;pid.dir=/var/ambari-server
bootstrap.dir=/var/ambari-server/bootstrap
recommendations.dir=/var/ambari-server/stack-recommendations&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;This may happen on CentOS7/RHEL7 because the "/var" is not mounted as tmpfs so "/var/ambari-server" shouldn't be deleted by the operating system after host reboot. &lt;/P&gt;&lt;P&gt;Now Please re-run the&lt;STRONG&gt; "ambari-server setup" &lt;/STRONG&gt; command to make sure that ambari changes all the directory permissions to Non Root User as following:  (please enter your non root user name when it asks)
&lt;/P&gt;&lt;PRE&gt;# ambari-server setup 
Customize user account for ambari-server daemon [y/n] (n)? y
Enter user account for ambari-server daemon (root):ambari&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;**NOTE: **  Please do not make any other changes during the above setup command ... Only change the  "Enter user account for ambari-server daemon (root): &amp;lt;YOUR NON ROOT USER&amp;gt;"&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;For more information please refer to :   &lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.2.0/bk_ambari-security/content/how_to_configure_ambari_server_for_non-root.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.2.0/bk_ambari-security/content/how_to_configure_ambari_server_for_non-root.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Oct 2017 23:03:31 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2017-10-10T23:03:31Z</dc:date>
    <item>
      <title>while trying to add a client only host to an existing cluster , in the Assign Slaves and Clients dialog the NEXT button is always disabled. How can I get it to be enabled?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/while-trying-to-add-a-client-only-host-to-an-existing/m-p/210478#M69362</link>
      <description />
      <pubDate>Tue, 10 Oct 2017 22:25:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/while-trying-to-add-a-client-only-host-to-an-existing/m-p/210478#M69362</guid>
      <dc:creator>gordon_muster</dc:creator>
      <dc:date>2017-10-10T22:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: while trying to add a client only host to an existing cluster , in the Assign Slaves and Clients dialog the NEXT button is always disabled. How can I get it to be enabled?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/while-trying-to-add-a-client-only-host-to-an-existing/m-p/210479#M69363</link>
      <description>&lt;P&gt;I am using HDP-2.6.0.3 and ambari 2.5.1.0 on ubuntu 14.04&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 22:30:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/while-trying-to-add-a-client-only-host-to-an-existing/m-p/210479#M69363</guid>
      <dc:creator>gordon_muster</dc:creator>
      <dc:date>2017-10-10T22:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: while trying to add a client only host to an existing cluster , in the Assign Slaves and Clients dialog the NEXT button is always disabled. How can I get it to be enabled?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/while-trying-to-add-a-client-only-host-to-an-existing/m-p/210480#M69364</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/44388/gordonmuster.html" nodeid="44388"&gt;@Gordon Muster&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- Do you see any strange ERROR or WARNING message inside the ambari-server.log?&lt;/P&gt;&lt;P&gt;- In your Browser can you check if you see any error message in the Java Script Debugger tool.&lt;/P&gt;&lt;PRE&gt;Browser Menu --&amp;gt; More Tools &amp;gt; Developer Tools from Chrome's Main Menu&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 22:37:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/while-trying-to-add-a-client-only-host-to-an-existing/m-p/210480#M69364</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-10-10T22:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: while trying to add a client only host to an existing cluster , in the Assign Slaves and Clients dialog the NEXT button is always disabled. How can I get it to be enabled?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/while-trying-to-add-a-client-only-host-to-an-existing/m-p/210481#M69365</link>
      <description>&lt;P&gt;10 Oct 2017 16:31:13,898 ERROR [ambari-client-thread-151] BaseManagementHandler:61 - Caught a system exception while attempting to create a resource: Error occured during stack advisor command invocation: Cannot create /var/run/ambari-server/stack-recommendations&lt;BR /&gt;org.apache.ambari.server.controller.spi.SystemException: Error occured during stack advisor command invocation: Cannot create /var/run/ambari-server/stack-recommendations&lt;BR /&gt;   at org.apache.ambari.server.controller.internal.ValidationResourceProvider.createResources(ValidationResourceProvider.java:91)&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 22:54:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/while-trying-to-add-a-client-only-host-to-an-existing/m-p/210481#M69365</guid>
      <dc:creator>gordon_muster</dc:creator>
      <dc:date>2017-10-10T22:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: while trying to add a client only host to an existing cluster , in the Assign Slaves and Clients dialog the NEXT button is always disabled. How can I get it to be enabled?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/while-trying-to-add-a-client-only-host-to-an-existing/m-p/210482#M69366</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/44388/gordonmuster.html" nodeid="44388"&gt;@Gordon Muster&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The following error can occur if you are runnign ambari server as a "Non Root User" and that user does not have permission to write on the &lt;STRONG&gt; "/var/run/ambari-server/stack-recommendations" directory.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;org.apache.ambari.server.controller.spi.SystemException: Error occured during stack advisor command invocation: Cannot create /var/run/ambari-server/stack-recommendations&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 22:57:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/while-trying-to-add-a-client-only-host-to-an-existing/m-p/210482#M69366</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-10-10T22:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: while trying to add a client only host to an existing cluster , in the Assign Slaves and Clients dialog the NEXT button is always disabled. How can I get it to be enabled?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/while-trying-to-add-a-client-only-host-to-an-existing/m-p/210483#M69367</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/44388/gordonmuster.html" nodeid="44388"&gt;@Gordon Muster&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If you are runnign ambari server as a Non-Root Directory and if it is RHEL7 (or CentOS7) then please do the following:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Edit the &lt;EM&gt;&lt;STRONG&gt;"/etc/ambari-server/conf/ambari.properties" &lt;/STRONG&gt;&lt;/EM&gt;and then edit the following properties to a directory which is out side of the "/var/run"&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Example: &lt;/STRONG&gt;&lt;STRONG&gt;Default Values&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;pid.dir=/var/run/ambari-server
bootstrap.dir=/var/run/ambari-server/bootstrap
recommendations.dir=/var/run/ambari-server/stack-recommendations&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Changed Values:   (some other directory other than "/var/run")&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;pid.dir=/var/ambari-server
bootstrap.dir=/var/ambari-server/bootstrap
recommendations.dir=/var/ambari-server/stack-recommendations&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;This may happen on CentOS7/RHEL7 because the "/var" is not mounted as tmpfs so "/var/ambari-server" shouldn't be deleted by the operating system after host reboot. &lt;/P&gt;&lt;P&gt;Now Please re-run the&lt;STRONG&gt; "ambari-server setup" &lt;/STRONG&gt; command to make sure that ambari changes all the directory permissions to Non Root User as following:  (please enter your non root user name when it asks)
&lt;/P&gt;&lt;PRE&gt;# ambari-server setup 
Customize user account for ambari-server daemon [y/n] (n)? y
Enter user account for ambari-server daemon (root):ambari&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;**NOTE: **  Please do not make any other changes during the above setup command ... Only change the  "Enter user account for ambari-server daemon (root): &amp;lt;YOUR NON ROOT USER&amp;gt;"&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;For more information please refer to :   &lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.2.0/bk_ambari-security/content/how_to_configure_ambari_server_for_non-root.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.2.0/bk_ambari-security/content/how_to_configure_ambari_server_for_non-root.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 23:03:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/while-trying-to-add-a-client-only-host-to-an-existing/m-p/210483#M69367</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-10-10T23:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: while trying to add a client only host to an existing cluster , in the Assign Slaves and Clients dialog the NEXT button is always disabled. How can I get it to be enabled?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/while-trying-to-add-a-client-only-host-to-an-existing/m-p/210484#M69368</link>
      <description>&lt;P&gt;It is a permission issue as you noted. Thanks for the help !!!&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 23:11:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/while-trying-to-add-a-client-only-host-to-an-existing/m-p/210484#M69368</guid>
      <dc:creator>gordon_muster</dc:creator>
      <dc:date>2017-10-10T23:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: while trying to add a client only host to an existing cluster , in the Assign Slaves and Clients dialog the NEXT button is always disabled. How can I get it to be enabled?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/while-trying-to-add-a-client-only-host-to-an-existing/m-p/210485#M69369</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/44388/gordonmuster.html" nodeid="44388"&gt;@Gordon Muster&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Great!!  Good to know that you found the permission issue.  If this issue is resolved then it will be also great if you can mark this HCC thread as Answered by clicking on the "Accept" Button. That way other HCC users can quickly find the solution when they encounter the same issue.&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/44388/gordonmuster.html" nodeid="44388"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 23:14:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/while-trying-to-add-a-client-only-host-to-an-existing/m-p/210485#M69369</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-10-10T23:14:19Z</dc:date>
    </item>
  </channel>
</rss>

