<?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 setup not starting services in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Ambari-setup-not-starting-services/m-p/145538#M108106</link>
    <description>&lt;P&gt;Problem accessing /webhdfs/v1/ats/done. Reason&lt;/P&gt;</description>
    <pubDate>Sat, 11 Nov 2017 00:58:27 GMT</pubDate>
    <dc:creator>kotesh_banoth</dc:creator>
    <dc:date>2017-11-11T00:58:27Z</dc:date>
    <item>
      <title>Ambari setup not starting services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-setup-not-starting-services/m-p/145531#M108099</link>
      <description>&lt;P&gt;I am using ambari 2.2.1 and HDP 2.3.4 and ubuntu 12. I successfully completed the ambari setup through launch wizard but it never started the services. I am manually starting the services now through "start all" but it fails to  start them. &lt;/P&gt;&lt;P&gt;I get the following error for all the services :&lt;/P&gt;&lt;PRE&gt;resource_management.core.exceptions.Fail: Execution of 'curl -sS -L -w '%{http_code}' -X GET 'http://xxxx:50070/webhdfs/v1/ats/done?op=GETFILESTATUS&amp;amp;user.name=hdfs'' returned status_code=503.&lt;/PRE&gt;&lt;P&gt;I checked that the node is reachable from the server and hdfs is working fine. What am I missing here? Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2016 04:28:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-setup-not-starting-services/m-p/145531#M108099</guid>
      <dc:creator>sjain292</dc:creator>
      <dc:date>2016-05-13T04:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari setup not starting services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-setup-not-starting-services/m-p/145532#M108100</link>
      <description>&lt;P&gt;Can you try to run just this command, make sure you get HTTP status 200 and no errors:&lt;/P&gt;&lt;PRE&gt;curl -iv 'http://xxxx:50070/webhdfs/v1/ats/done?op=GETFILESTATUS&amp;amp;user.name=hdfs&lt;/PRE&gt;&lt;P&gt;If /ats/done doesn't exist, replace it with /tmp in the command. Last time I saw this issue the reason was http proxy, so make sure you have no proxy to servers in the cluster.&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2016 08:08:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-setup-not-starting-services/m-p/145532#M108100</guid>
      <dc:creator>pminovic</dc:creator>
      <dc:date>2016-05-13T08:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari setup not starting services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-setup-not-starting-services/m-p/145533#M108101</link>
      <description>&lt;P&gt;@Predrag Minovic : Yes, I am running the cluster behind the firewall and have proxies. I added nodes to the no_proxy list and I'm now able to run curl command from the terminal with HTTP 200.

I also updated no_proxy list on all the nodes and removed proxies from ambari-env.sh. But I still the error when trying to start services. I started with yarn service and see it fail.

It seems like curl/ambari-server is still using proxies. Is there a way to force it to not use proxy ? 

&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2016 10:52:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-setup-not-starting-services/m-p/145533#M108101</guid>
      <dc:creator>sjain292</dc:creator>
      <dc:date>2016-05-13T10:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari setup not starting services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-setup-not-starting-services/m-p/145534#M108102</link>
      <description>&lt;P&gt;Well, not sure, if curl from cli works, it should work. Can you try to restart ambari-server and all ambari-agents.&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2016 11:16:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-setup-not-starting-services/m-p/145534#M108102</guid>
      <dc:creator>pminovic</dc:creator>
      <dc:date>2016-05-13T11:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari setup not starting services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-setup-not-starting-services/m-p/145535#M108103</link>
      <description>&lt;P&gt;Started server and agent but no luck. How can we ask ambari to not use proxy ? Which user is this process run as ? May be I can sudo as that and update its no_proxy list ? &lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2016 17:54:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-setup-not-starting-services/m-p/145535#M108103</guid>
      <dc:creator>sjain292</dc:creator>
      <dc:date>2016-05-13T17:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari setup not starting services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-setup-not-starting-services/m-p/145536#M108104</link>
      <description>&lt;P&gt;Can we please confirm which user runs the service installation ? root ?  I confirmed that root can run curl from cli successfully.&lt;/P&gt;&lt;P&gt;I created app-logs dir manually and ran &lt;/P&gt;&lt;PRE&gt;root:/home/ubuntu# curl -iv 'http://xxxx:50070/webhdfs/v1/app-logs?op=GETFILESTATUS&amp;amp;user.name=hdfs'
*   Trying 1.70.26.132... connected
&amp;gt; GET /webhdfs/v1/app-logs?op=GETFILESTATUS&amp;amp;user.name=hdfs HTTP/1.1
&amp;gt; User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3 &amp;gt; Accept: */*
&amp;gt;
&amp;lt; HTTP/1.1 200 OK
HTTP/1.1 200 OK
&amp;lt; Cache-Control: no-cache
Cache-Control: no-cache&lt;/PRE&gt;</description>
      <pubDate>Sat, 14 May 2016 02:04:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-setup-not-starting-services/m-p/145536#M108104</guid>
      <dc:creator>sjain292</dc:creator>
      <dc:date>2016-05-14T02:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari setup not starting services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-setup-not-starting-services/m-p/145537#M108105</link>
      <description>&lt;P&gt;I had the same issues and wanted to update with what I debugged and how I fixed it.

I pulled back the environment that the user was running through the ambari-sudo script. The quick test is
&lt;/P&gt;&lt;PRE&gt;/var/lib/ambari-agent/ambari-sudo.sh su hdfs -l -s /bin/bash -c 'env'&lt;/PRE&gt;That showed me that there were http_proxy values being set which I found out was because of the default env variables that are being source from /etc/profile.d/ directory.

For my fix, I just added the local machines to no_proxy and the install went forward.

Hope that helps</description>
      <pubDate>Mon, 20 Jun 2016 20:25:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-setup-not-starting-services/m-p/145537#M108105</guid>
      <dc:creator>cmartin94</dc:creator>
      <dc:date>2016-06-20T20:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari setup not starting services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-setup-not-starting-services/m-p/145538#M108106</link>
      <description>&lt;P&gt;Problem accessing /webhdfs/v1/ats/done. Reason&lt;/P&gt;</description>
      <pubDate>Sat, 11 Nov 2017 00:58:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-setup-not-starting-services/m-p/145538#M108106</guid>
      <dc:creator>kotesh_banoth</dc:creator>
      <dc:date>2017-11-11T00:58:27Z</dc:date>
    </item>
  </channel>
</rss>

