ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Beerbower (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-7819) Create View Instance failing on latest trunk
Date Fri, 17 Oct 2014 21:16:33 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-7819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14175550#comment-14175550
] 

Tom Beerbower commented on AMBARI-7819:
---------------------------------------

[~screeley],

I have not been able to reproduce this with the latest trunk.  I followed the install instructions
here ...

https://cwiki.apache.org/confluence/display/AMBARI/Quick+Start+Guide

{code}
#  to test the trunk build - updated multiple times a day
wget -O /etc/yum.repos.d/ambari.repo http://s3.amazonaws.com/dev.hortonworks.com/ambari/centos6/1.x/latest/trunk/ambari.repo
yum install ambari-server -y
ambari-server setup -s
ambari-server start
{code}

I was able to create an instance each for JOBS and SLIDER ...

{code}
{
  "href" : "http://c6401.ambari.apache.org:8080/api/v1/views?fields=versions/instances",
  "items" : [
    {
      "href" : "http://c6401.ambari.apache.org:8080/api/v1/views/ADMIN_VIEW",
      "ViewInfo" : {
        "view_name" : "ADMIN_VIEW"
      },
      "versions" : [
        {
          "href" : "http://c6401.ambari.apache.org:8080/api/v1/views/ADMIN_VIEW/versions/1.0.0",
          "ViewVersionInfo" : {
            "version" : "1.0.0",
            "view_name" : "ADMIN_VIEW"
          },
          "instances" : [
            {
              "href" : "http://c6401.ambari.apache.org:8080/api/v1/views/ADMIN_VIEW/versions/1.0.0/instances/INSTANCE",
              "ViewInstanceInfo" : {
                "instance_name" : "INSTANCE",
                "version" : "1.0.0",
                "view_name" : "ADMIN_VIEW"
              }
            }
          ]
        }
      ]
    },
    {
      "href" : "http://c6401.ambari.apache.org:8080/api/v1/views/JOBS",
      "ViewInfo" : {
        "view_name" : "JOBS"
      },
      "versions" : [
        {
          "href" : "http://c6401.ambari.apache.org:8080/api/v1/views/JOBS/versions/1.0.0",
          "ViewVersionInfo" : {
            "version" : "1.0.0",
            "view_name" : "JOBS"
          },
          "instances" : [
            {
              "href" : "http://c6401.ambari.apache.org:8080/api/v1/views/JOBS/versions/1.0.0/instances/a",
              "ViewInstanceInfo" : {
                "instance_name" : "a",
                "version" : "1.0.0",
                "view_name" : "JOBS"
              }
            }
          ]
        }
      ]
    },
    {
      "href" : "http://c6401.ambari.apache.org:8080/api/v1/views/SLIDER",
      "ViewInfo" : {
        "view_name" : "SLIDER"
      },
      "versions" : [
        {
          "href" : "http://c6401.ambari.apache.org:8080/api/v1/views/SLIDER/versions/1.0.0",
          "ViewVersionInfo" : {
            "version" : "1.0.0",
            "view_name" : "SLIDER"
          },
          "instances" : [
            {
              "href" : "http://c6401.ambari.apache.org:8080/api/v1/views/SLIDER/versions/1.0.0/instances/b",
              "ViewInstanceInfo" : {
                "instance_name" : "b",
                "version" : "1.0.0",
                "view_name" : "SLIDER"
              }
            }
          ]
        }
      ]
    }
  ]
}
{code}

As [~jaimin] mentioned, this looks like an issue that was fixed recently.  Can you recheck
your installation?  Are you doing a new install or just rebuilding the ambari-server jar from
the Apache repo?  Thanks.



> Create View Instance failing on latest trunk
> --------------------------------------------
>
>                 Key: AMBARI-7819
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7819
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 1.7.0
>            Reporter: Scott Creeley
>             Fix For: 1.7.0
>
>
> Create View Instance failing on latest trunk



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message