You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Srimanth Gunturi (JIRA)" <ji...@apache.org> on 2014/10/23 04:45:34 UTC

[jira] [Updated] (AMBARI-7914) Slider View: Need API to verify using slider-client if application name can be used

     [ https://issues.apache.org/jira/browse/AMBARI-7914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Srimanth Gunturi updated AMBARI-7914:
-------------------------------------
    Attachment: AMBARI-7914.patch

To validate an app name, the following GET call should be made.
{code}
GET http://c6401:8080/api/v1/views/SLIDER/versions/1.0.0/instances/sv1/apps?validateAppName=myapp

{
  status: 409,
  message: "Conflict"
}
{code}

If the name is acceptable, 200-OK is returned.

> Slider View: Need API to verify using slider-client if application name can be used
> -----------------------------------------------------------------------------------
>
>                 Key: AMBARI-7914
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7914
>             Project: Ambari
>          Issue Type: Bug
>          Components: contrib
>    Affects Versions: 1.7.0
>            Reporter: Srimanth Gunturi
>            Assignee: Srimanth Gunturi
>             Fix For: 1.7.0
>
>         Attachments: AMBARI-7914.patch
>
>
> If YARN is restarted, the list of app names is lost. However, HDFS still has the file names. We need an API to validate if a name is acceptable. Not doing so results in errors when creating an app.



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