ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Siddharth Wagle <swa...@hortonworks.com>
Subject Re: getting a NullPointerException on cluster create in trunk
Date Wed, 20 Aug 2014 20:10:57 GMT
Hi Greg,

You config type looks wrong.

"nagios-env" should actually be "global".

https://cwiki.apache.org/confluence/display/AMBARI/Blueprints

Created a Jira to prevent NPE,
https://issues.apache.org/jira/browse/AMBARI-6957

-Sid


On Wed, Aug 20, 2014 at 12:32 PM, Greg Hill <greg.hill@rackspace.com> wrote:

> I started working on the ambari client again, so I wanted to make sure
> what I had written before still worked on trunk.  Sadly, creating a server
> is giving me a 500 error with no details.  I had to dig into the server
> logs to see what went wrong.  Looks like a NullPointerException.  I've
> included the script I'm using and the stack trace from the server log.
>
> https://gist.github.com/jimbobhickville/9b95bbedc4f3380ffa11
>
> Based on the stack trace, it looks like I'm missing some required
> configuration, but I don't know what.  Was some additional configuration
> required recently?  I'm only passing in:
>
> {
>             "nagios-env" : {
>                 "nagios_contact" : "greg.hill@rackspace.com"
>             }
>         }
>
> As that was all that was required previously.
>
> Greg
>
>

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

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