You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2014/09/05 05:44:25 UTC

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

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

Hudson commented on AMBARI-7158:
--------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #142 (See [https://builds.apache.org/job/Ambari-trunk-Commit/142/])
AMBARI-7158 - Views: Make view extraction a background task. (tbeerbower: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=c86c781043c04940ccd488238fbd78b4b7ef15b9)
* ambari-server/src/test/java/org/apache/ambari/server/orm/entities/ViewEntityTest.java
* ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java
* ambari-server/src/test/java/org/apache/ambari/server/view/ViewRegistryTest.java
* ambari-views/src/main/java/org/apache/ambari/view/ViewDefinition.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ViewPrivilegeResourceProviderTest.java
* ambari-server/src/main/java/org/apache/ambari/server/view/ViewRegistry.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java
* ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ViewEntity.java
* ambari-server/src/test/java/org/apache/ambari/server/configuration/ConfigurationTest.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/internal/AmbariPrivilegeResourceProviderTest.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ViewVersionResourceProvider.java


> 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)