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

[jira] [Created] (AMBARI-7158) Views: Make view extraction a background task.

Tom Beerbower created AMBARI-7158:
-------------------------------------

             Summary: Views: Make view extraction a background task.
                 Key: AMBARI-7158
                 URL: https://issues.apache.org/jira/browse/AMBARI-7158
             Project: Ambari
          Issue Type: Task
            Reporter: Tom Beerbower
            Assignee: Tom Beerbower
             Fix For: 1.7.0




The first time that a view is deployed, the contents of the archive are extracted to the file system.

Currently view extraction can slow the initial startup of Ambari significantly.

It would be ideal if we could start the view extraction process as background tasks while Ambari startup is allowed to proceed. This means that an API user may be able to make requests for view APIs before the view has finished deploying. We could add a state field to view with the following possible values ...

    PENDING - the view archive has been discovered but the extraction process has not yet started.
    INSTALLING - the view archive is being extracted.
    INSTALLED - the view archive is fully extracted and the view is ready to use.

Until a view is fully installed the API user will not see instances for that view.




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