ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <>
Subject [jira] [Commented] (AMBARI-7835) Blueprints exports fail after an upgrade from Ambari 1.6 to 1.7.0
Date Sat, 18 Oct 2014 18:46:33 GMT


Hadoop QA commented on AMBARI-7835:

{color:green}+1 overall{color}.  Here are the results of testing the latest attachment
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 1 new or modified
test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number
of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in ambari-server.

Test results:
Console output:

This message is automatically generated.

> Blueprints exports fail after an upgrade from Ambari 1.6 to 1.7.0
> -----------------------------------------------------------------
>                 Key: AMBARI-7835
>                 URL:
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 1.7.0
>            Reporter: Robert Nettleton
>            Assignee: Robert Nettleton
>             Fix For: 1.7.0
>         Attachments: AMBARI-7835.patch.2, AMBARI-7835_1.7.0.patch
> Exporting a Blueprint from a running cluster after an upgrade from Ambari 1.6 to 1.7.0
currently fails.  
> The REST API reports a server failure, and the ambari-server.log indicates that a NullPointerException
> java.lang.NullPointerException
> 	at org.apache.ambari.server.api.query.render.ClusterBlueprintRenderer$Configuration.stripRequiredProperties(
> 	at org.apache.ambari.server.api.query.render.ClusterBlueprintRenderer$Configuration.<init>(
> 	at org.apache.ambari.server.api.query.render.ClusterBlueprintRenderer.processConfigurations(
> 	at org.apache.ambari.server.api.query.render.ClusterBlueprintRenderer.createBlueprintResource(
> 	at org.apache.ambari.server.api.query.render.ClusterBlueprintRenderer.finalizeResult(
> 	at org.apache.ambari.server.api.query.QueryImpl.getResult(
> 	at org.apache.ambari.server.api.query.QueryImpl.execute(
> 	at org.apache.ambari.server.api.handlers.ReadHandler.handleRequest(
> 	at
> 	at
> 	at
> 	at
> This exception only seems to occur in the following scenario:
> 1. Install Ambari 1.6
> 2. Start an HDP cluster (2.1, others may also cause this) using the Ambari UI. 
> 3. Upgrade Ambari to v1.7.0. 
> 4. Attempt to export a Blueprint based on the cluster, and this will cause the exception.
> The Blueprint configuration processor is currently failing to process certain "emtpy"
configuration elements that the Ambari UI adds in Ambari 1.6 but does not add in newer versions
of the code.  
> The Blueprint configuration processor should be updated to handle empty configuration
groups, which are valid in Ambari.  
> I'm working on a fix for this, and will be submitting a patch shortly. 

This message was sent by Atlassian JIRA

View raw message