You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ambari.apache.org by yeshwanth kumar <ye...@gmail.com> on 2015/09/17 07:44:43 UTC

Error occured during stack advisor command invocation

Hi i am installing HDP 2.3 on centos 7 through ambari 2.1

it is trowing exception while installing services on the nodes,

500 status code received on GET method for API:
/api/v1/stacks/HDP/versions/2.3/recommendations

 Error occured during stack advisor command invocation:
java.io.IOException: Cannot create
/var/run/ambari-server/stack-recommendations


here's the  complete ambari server log
http://pastebin.com/6pPr2eNb

and screenshot

http://imagebin.ca/v/2FvWc6JQ8Kgi

can someone point me the issue,

-Yeshwanth

Re: Error occured during stack advisor command invocation

Posted by yeshwanth kumar <ye...@gmail.com>.
Hi sumit,

I did verified permissions on that directory.
Ambari server has required permissions.
On Sep 17, 2015 7:45 AM, "Sumit Mohanty" <sm...@hortonworks.com> wrote:

> Can you check if the ambari server user has the permission to create the
> folder?
>
>
> -Sumit
> ------------------------------
> *From:* yeshwanth kumar <ye...@gmail.com>
> *Sent:* Wednesday, September 16, 2015 10:44 PM
> *To:* user@ambari.apache.org
> *Subject:* Error occured during stack advisor command invocation
>
> Hi i am installing HDP 2.3 on centos 7 through ambari 2.1
>
> it is trowing exception while installing services on the nodes,
>
> 500 status code received on GET method for API:
> /api/v1/stacks/HDP/versions/2.3/recommendations
>
>  Error occured during stack advisor command invocation:
> java.io.IOException: Cannot create
> /var/run/ambari-server/stack-recommendations
>
>
> here's the  complete ambari server log
> http://pastebin.com/6pPr2eNb
>
> and screenshot
>
> http://imagebin.ca/v/2FvWc6JQ8Kgi
>
> can someone point me the issue,
>
> -Yeshwanth
>
>

Re: Error occured during stack advisor command invocation

Posted by Sumit Mohanty <sm...@hortonworks.com>.
Can you check if the ambari server user has the permission to create the folder?


-Sumit

________________________________
From: yeshwanth kumar <ye...@gmail.com>
Sent: Wednesday, September 16, 2015 10:44 PM
To: user@ambari.apache.org
Subject: Error occured during stack advisor command invocation

Hi i am installing HDP 2.3 on centos 7 through ambari 2.1

it is trowing exception while installing services on the nodes,

500 status code received on GET method for API:
/api/v1/stacks/HDP/versions/2.3/recommendations

 Error occured during stack advisor command invocation:
java.io.IOException: Cannot create /var/run/ambari-server/stack-recommendations


here's the  complete ambari server log
http://pastebin.com/6pPr2eNb

and screenshot

http://imagebin.ca/v/2FvWc6JQ8Kgi

can someone point me the issue,

-Yeshwanth