Re: timeline service installed by ambari can't start

2014-11-03 Thread Mingjiang Shi
Hi, Could you check the timeline server log located at /var/log/hadoop-yarn/yarn/yarn-yarn-timelineserver*.log to see what problem caused the failure? On Mon, Nov 3, 2014 at 3:56 PM, guxiaobo1982 guxiaobo1...@qq.com wrote: The HDFS installed is of version Version:2.4.0.2.1.5.0-695,

Re: timeline service installed by ambari can't start

2014-11-03 Thread guxiaobo1982
There is not a log file named like this: [xiaobogu@lix1 yarn]$ ls hadoop-mapreduce.jobsummary.log yarn-yarn-historyserver-lix1.bh.com.log yarn-yarn-historyserver-lix1.bh.com.out yarn-yarn-historyserver-lix1.bh.com.out.1 yarn-yarn-historyserver-lix1.bh.com.out.2

possible bug in the Ambari API

2014-11-03 Thread Greg Hill
On the latest Ambari 1.7.0 build, this API call returns invalid JSON that the parser chokes on. Notice the lack of a comma between the end of the first 'StackConfigurations' structure and the following one. There's just } { instead of }, { GET

Re: possible bug in the Ambari API

2014-11-03 Thread Jeff Sposetti
Greg, That's the /stacks2 API. Want to try with /stacks (which I think is the preferred API resource)? http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.1/services/HBASE/configurations/content [ { href :

Re: possible bug in the Ambari API

2014-11-03 Thread Greg Hill
Oh? I was basing it off the python client using 'stacks2'. I figured that stacks was deprecated, but I suppose I should have asked. Neither API is documented. Why are there two? Greg From: Jeff Sposetti j...@hortonworks.commailto:j...@hortonworks.com Reply-To:

Re: possible bug in the Ambari API

2014-11-03 Thread Greg Hill
Also, I still get the same broken response using 'stacks' instead of 'stacks2'. Is this a bug that was fixed recently? I'm using a build from last week. Greg From: Greg greg.h...@rackspace.commailto:greg.h...@rackspace.com Reply-To: user@ambari.apache.orgmailto:user@ambari.apache.org

Re: possible bug in the Ambari API

2014-11-03 Thread Srimanth Gunturi
Hi Greg, I attempted the same API on latest 1.7.0 build, and do not see the issue (the comma is present between the two configurations). Do you see the same when you access /api/v1/stacks2/HDP/versions/2.1/stackServices/HBASE/configurations or

Re: possible bug in the Ambari API

2014-11-03 Thread Yusaku Sako
Hi Greg, The yum repo you referred to is old and no longer maintained (I just installed ambari-server off of it and I see the hash is trunk:0e959b0ed80fc1a170cc10b1c75050c88a7b2d06. This is trunk code from Oct 4. Please use the URLs shown in the Quick Start Guide:

Re: possible bug in the Ambari API

2014-11-03 Thread Greg Hill
Weird, I got the url from that page previously. I guess it changed since then and I didn't notice when I rebuilt my test cluster. Thanks for the heads up. Greg From: Yusaku Sako yus...@hortonworks.commailto:yus...@hortonworks.com Reply-To: user@ambari.apache.orgmailto:user@ambari.apache.org

Re: timeline service installed by ambari can't start

2014-11-03 Thread Mingjiang Shi
Did you attempt to start the services manually using root as I see some folders owned by root? On Mon, Nov 3, 2014 at 6:18 PM, guxiaobo1982 guxiaobo1...@qq.com wrote: there are some error messages in the yarn-yarn-historyserver-lix1.bh.com.log file: