<?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: Ambari non-root config for 2.4.0.1 incorrect in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Ambari-non-root-config-for-2-4-0-1-incorrect/m-p/119222#M82000</link>
    <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Mon, 10 Oct 2016 20:50:00 GMT</pubDate>
    <dc:creator>benhadoop</dc:creator>
    <dc:date>2016-10-10T20:50:00Z</dc:date>
    <item>
      <title>Ambari non-root config for 2.4.0.1 incorrect</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-non-root-config-for-2-4-0-1-incorrect/m-p/119217#M81995</link>
      <description>&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;it seems like the docs are incorrect in regard to non-root configuration for Ambari:&lt;/P&gt;&lt;P&gt;sudo-rights for "/usr/bin/ambari-python-wrap" are missing.&lt;/P&gt;&lt;P&gt;I am running HDP 2.5.0 and Ambari 2.4.0.1 on RHEL 6.7&lt;/P&gt;&lt;P&gt;Otherwise my Ambari prompts:&lt;/P&gt;&lt;PRE&gt;resource_management.core.exceptions.Fail: Execution of 'ambari-python-wrap /usr/bin/conf-select set-conf-dir --package hadoop --stack-version 2.5.0.0-1245 --conf-version 0' returned 1. Sorry, user ambari is not allowed to execute '/usr/bin/ambari-python-wrap /usr/bin/conf-select set-conf-dir --package hadoop --stack-version 2.5.0.0-1245 --conf-version 0' as root on fsdebsup0053.d-fs01.d-vwf.d-vwfs-ad.
Error: Error: Unable to run the custom hook script ['/usr/bin/python', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py', 'START', '/var/lib/ambari-agent/data/command-3158.json', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START', '/var/lib/ambari-agent/data/structured-out-3158.json', 'INFO', '/var/lib/ambari-agent/tmp']
&lt;/PRE&gt;</description>
      <pubDate>Fri, 07 Oct 2016 18:07:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-non-root-config-for-2-4-0-1-incorrect/m-p/119217#M81995</guid>
      <dc:creator>benhadoop</dc:creator>
      <dc:date>2016-10-07T18:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari non-root config for 2.4.0.1 incorrect</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-non-root-config-for-2-4-0-1-incorrect/m-p/119218#M81996</link>
      <description>&lt;P&gt;@Roland Simonis &lt;/P&gt;&lt;P&gt;Please try to install using root or add your user in sudoers list.&lt;/P&gt;&lt;P&gt;Add /etc/sudoers &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;# Allow members of group sudo to execute any command
%sudo   ALL=(ALL:ALL) ALL&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 08 Oct 2016 00:06:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-non-root-config-for-2-4-0-1-incorrect/m-p/119218#M81996</guid>
      <dc:creator>ashneesharma88</dc:creator>
      <dc:date>2016-10-08T00:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari non-root config for 2.4.0.1 incorrect</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-non-root-config-for-2-4-0-1-incorrect/m-p/119219#M81997</link>
      <description>&lt;P&gt;This will work but is definately not the solution!&lt;/P&gt;&lt;P&gt;The documentation does list all required rights, so that I am not required to give some ambari user all rights: &lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.4.1.0/bk_ambari-security/content/configuring_ambari_for_non-root.html"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.4.1.0/bk_ambari-security/content/configuring_ambari_for_non-root.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;However the list is incorrect as mentioned in the inital post.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Oct 2016 00:31:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-non-root-config-for-2-4-0-1-incorrect/m-p/119219#M81997</guid>
      <dc:creator>benhadoop</dc:creator>
      <dc:date>2016-10-08T00:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari non-root config for 2.4.0.1 incorrect</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-non-root-config-for-2-4-0-1-incorrect/m-p/119220#M81998</link>
      <description>&lt;P&gt;When you are getting following error? Will you describe please&lt;/P&gt;</description>
      <pubDate>Sat, 08 Oct 2016 00:43:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-non-root-config-for-2-4-0-1-incorrect/m-p/119220#M81998</guid>
      <dc:creator>ashneesharma88</dc:creator>
      <dc:date>2016-10-08T00:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari non-root config for 2.4.0.1 incorrect</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-non-root-config-for-2-4-0-1-incorrect/m-p/119221#M81999</link>
      <description>&lt;P&gt;Docs fixed, at:&lt;/P&gt;&lt;P&gt;&lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.4.1.0/bk_ambari-security/content/commands_agent.html"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.4.1.0/bk_ambari-security/content/commands_agent.html&lt;/A&gt;
&lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.4.0.1/bk_ambari-security/content/commands_agent.html"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.4.0.1/bk_ambari-security/content/commands_agent.html&lt;/A&gt;
&lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.4.0.0/bk_ambari-security/content/commands_agent.html"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.4.0.0/bk_ambari-security/content/commands_agent.html&lt;/A&gt;
and&lt;/P&gt;&lt;P&gt;&lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.0/bk_security/content/_commands.html"&gt;http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.0/bk_security/content/_commands.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Oct 2016 01:17:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-non-root-config-for-2-4-0-1-incorrect/m-p/119221#M81999</guid>
      <dc:creator>mhovermale</dc:creator>
      <dc:date>2016-10-08T01:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari non-root config for 2.4.0.1 incorrect</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-non-root-config-for-2-4-0-1-incorrect/m-p/119222#M82000</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2016 20:50:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-non-root-config-for-2-4-0-1-incorrect/m-p/119222#M82000</guid>
      <dc:creator>benhadoop</dc:creator>
      <dc:date>2016-10-10T20:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari non-root config for 2.4.0.1 incorrect</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-non-root-config-for-2-4-0-1-incorrect/m-p/119223#M82001</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/506/mhovermale.html" nodeid="506"&gt;@Mike Hovermale&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Adding more components to the cluster, more missing sudo-commands were detected. Currently, the cluster is up with this additional block of in the sudoers config:&lt;/P&gt;&lt;P&gt;ambari
ALL=(ALL) NOPASSWD:SETENV: /usr/bin/ambari-python-wrap,
/usr/sbin/ambari-metrics-grafana, /usr/bin/java,
/usr/lib/ambari-infra-solr-client/solrCloudCli.sh&lt;/P&gt;&lt;P&gt;Could you guys please confirm the really required sudo-config. We do not want to hotfix the config over and over until everything works fine...&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2016 02:42:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-non-root-config-for-2-4-0-1-incorrect/m-p/119223#M82001</guid>
      <dc:creator>benhadoop</dc:creator>
      <dc:date>2016-10-12T02:42:57Z</dc:date>
    </item>
  </channel>
</rss>

