ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gautam Borad <gbo...@gmail.com>
Subject Re: How to debug the installation of new component
Date Mon, 28 Mar 2016 04:54:24 GMT
Hi Jeff, start by looking at the following logs:
*/var/log/ambari-server/ambari-server.log* (on Ambari Server node) and
*/var/log/ambari-agent/ambari-agent.log *(on the Agent node where the
component is being installed)

Generally its a good idea to sprinkle your agent code with logs. You can do
something like this:


from resource_management.core.logger import Logger
Logger.info("Your message here");



On Fri, Mar 25, 2016 at 8:16 AM, Jeff Zhang <zjffdu@gmail.com> wrote:

> I try to add one new component to ambari, but the installation stuck there.
> I'd like to check what's going on ? Is there any log that I can check ?
> Thanks
>
> --
> Best Regards
>
> Jeff Zhang
>



-- 
Regards,
Gautam.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message