You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Sandy <sa...@gmail.com> on 2017/08/25 09:09:23 UTC

Ambari 2.5.1 - Missing Versions tab under UI (Admin->Stacks and Versions)

In ambari 2.5.1, creating cluster using Blueprint and REST API causes
Versions tab to be missing in Ambari Web UI (Admin->Stacks and Versions).

But If I create a cluster using UI Wizard, I see that tab.  Refer
screenshots attached along with the mail.

Repro zeroed down to a small script


AMBARI_SERVER=c7003.ambari.apache.org
CLUSTER_NAME=test-cluster
curl -H X-Requested-By:ambari -X POST -u admin:admin
http://$AMBARI_SERVER:8080/api/v1/blueprints/single-node-hdp-cluster
-d @blueprint.json
curl -H X-Requested-By:ambari -X POST -u admin:admin http://$AMBARI_SERVER
:8080/api/v1/clusters/$CLUSTER_NAME -d @cct.json
curl -H X-Requested-By:ambari -X PUT -u admin:admin http://$AMBARI_SERVER
:8080/api/v1/clusters/$CLUSTER_NAME -d @provision.json


*Has something changed in Ambari 2.5.1 or this is a BUG?*

*One more observation:*
If I create cluster using above script, *I don't see* following postgres db
tables getting any data into them,
cluster_versions
repo_version

while these tables contain one entry each when I go through UI way of
cluster creation.

-- 

*Sandeep Kumar,*
 Mobile +91-9866507368

*“Happiness is not a destination, It is the journey”*

Re: Ambari 2.5.1 - Missing Versions tab under UI (Admin->Stacks and Versions)

Posted by Sandy <sa...@gmail.com>.
Missed Attachments.

On Fri, Aug 25, 2017 at 2:39 PM, Sandy <sa...@gmail.com> wrote:

> In ambari 2.5.1, creating cluster using Blueprint and REST API causes
> Versions tab to be missing in Ambari Web UI (Admin->Stacks and Versions).
>
> But If I create a cluster using UI Wizard, I see that tab.  Refer
> screenshots attached along with the mail.
>
> Repro zeroed down to a small script
>
>
> AMBARI_SERVER=c7003.ambari.apache.org
> CLUSTER_NAME=test-cluster
> curl -H X-Requested-By:ambari -X POST -u admin:admin http://$AMBARI_SERVER
> :8080/api/v1/blueprints/single-node-hdp-cluster -d @blueprint.json
> curl -H X-Requested-By:ambari -X POST -u admin:admin http://$AMBARI_SERVER
> :8080/api/v1/clusters/$CLUSTER_NAME -d @cct.json
> curl -H X-Requested-By:ambari -X PUT -u admin:admin http://$AMBARI_SERVER
> :8080/api/v1/clusters/$CLUSTER_NAME -d @provision.json
>
>
> *Has something changed in Ambari 2.5.1 or this is a BUG?*
>
> *One more observation:*
> If I create cluster using above script, *I don't see* following postgres
> db tables getting any data into them,
> cluster_versions
> repo_version
>
> while these tables contain one entry each when I go through UI way of
> cluster creation.
>
> --
>
> *Sandeep Kumar,*
>  Mobile +91-9866507368 <+91%2098665%2007368>
>
> *“Happiness is not a destination, It is the journey”*
>
>


-- 

*Sandeep Kumar,*
 Mobile +91-9866507368

*“Happiness is not a destination, It is the journey”*