[jira] [Resolved] (AMBARI-8367) Sqoop User config setting should be hidden for Windows

2014-11-20 Thread Artem Baranchuk (JIRA)

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

Artem Baranchuk resolved AMBARI-8367.
-
Resolution: Fixed

> Sqoop User config setting should be hidden for Windows
> --
>
> Key: AMBARI-8367
> URL: https://issues.apache.org/jira/browse/AMBARI-8367
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Eugene Chekanskiy
>Assignee: Eugene Chekanskiy
> Fix For: 2.0.0
>
>




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


[jira] [Resolved] (AMBARI-8201) Ambari Agent and Server MSI Installer changes for branch-windows-dev

2014-11-20 Thread Artem Baranchuk (JIRA)

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

Artem Baranchuk resolved AMBARI-8201.
-
Resolution: Fixed

committed to trunk

> Ambari Agent and Server MSI Installer changes for branch-windows-dev
> 
>
> Key: AMBARI-8201
> URL: https://issues.apache.org/jira/browse/AMBARI-8201
> Project: Ambari
>  Issue Type: Task
>  Components: ambari-agent, ambari-server
>Affects Versions: 2.0.0
>Reporter: Eugene Chekanskiy
>Assignee: Eugene Chekanskiy
> Fix For: 2.0.0
>
>
> * change default install path and make it based on build version



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


[jira] [Commented] (AMBARI-8367) Sqoop User config setting should be hidden for Windows

2014-11-20 Thread Artem Baranchuk (JIRA)

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

Artem Baranchuk commented on AMBARI-8367:
-

committed to trunk

> Sqoop User config setting should be hidden for Windows
> --
>
> Key: AMBARI-8367
> URL: https://issues.apache.org/jira/browse/AMBARI-8367
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Eugene Chekanskiy
>Assignee: Eugene Chekanskiy
> Fix For: 2.0.0
>
>




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


Re: Review Request 28124: Repository Version Management - Create subresource for hosts and clusters

2014-11-20 Thread Yurii Shylov

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/28124/
---

(Updated Ноя. 20, 2014, 10:52 д.п.)


Review request for Ambari, Alejandro Fernandez, Dmitro Lisnichenko, Nate Cole, 
and Tom Beerbower.


Changes
---

Removed unnecessary @StaticallyInject


Bugs: AMBARI-8353
https://issues.apache.org/jira/browse/AMBARI-8353


Repository: ambari


Description
---

Add stack_versions subresource to /hosts and /clusters 


Diffs (updated)
-

  
ambari-server/src/main/java/org/apache/ambari/server/api/resources/ClusterResourceDefinition.java
 ef907c0 
  
ambari-server/src/main/java/org/apache/ambari/server/api/resources/ComponentStackVersionResourceDefinition.java
 PRE-CREATION 
  
ambari-server/src/main/java/org/apache/ambari/server/api/resources/HostResourceDefinition.java
 14ed799 
  
ambari-server/src/main/java/org/apache/ambari/server/api/resources/ResourceInstanceFactoryImpl.java
 9ad37ec 
  
ambari-server/src/main/java/org/apache/ambari/server/api/services/ClusterService.java
 f75ae11 
  
ambari-server/src/main/java/org/apache/ambari/server/api/services/ClusterStackVersionService.java
 PRE-CREATION 
  
ambari-server/src/main/java/org/apache/ambari/server/api/services/HostService.java
 c51722c 
  
ambari-server/src/main/java/org/apache/ambari/server/api/services/HostStackVersionService.java
 PRE-CREATION 
  
ambari-server/src/main/java/org/apache/ambari/server/controller/ResourceProviderFactory.java
 212f944 
  
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractControllerResourceProvider.java
 c198dd6 
  
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java
 PRE-CREATION 
  
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/DefaultProviderModule.java
 8f10143 
  
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostStackVersionResourceProvider.java
 PRE-CREATION 
  
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/StackVersionResourceProvider.java
 1442a0c 
  
ambari-server/src/main/java/org/apache/ambari/server/controller/spi/Resource.java
 dbac906 
  
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/ClusterVersionDAO.java
 e2a2e2d 
  
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/HostVersionDAO.java
 8d147a1 
  
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ClusterVersionEntity.java
 aaf8eed 
  
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostVersionEntity.java
 5b1b4f8 
  
ambari-server/src/main/java/org/apache/ambari/server/state/ClusterVersionState.java
 72cd541 
  
ambari-server/src/main/java/org/apache/ambari/server/state/RepositoryVersionState.java
 PRE-CREATION 
  
ambari-server/src/test/java/org/apache/ambari/server/api/resources/ClusterResourceDefinitionTest.java
 7296e8d 
  
ambari-server/src/test/java/org/apache/ambari/server/api/resources/ComponentStackVersionResourceDefinitionTest.java
 PRE-CREATION 
  
ambari-server/src/test/java/org/apache/ambari/server/api/resources/HostResourceDefinitionTest.java
 PRE-CREATION 
  
ambari-server/src/test/java/org/apache/ambari/server/api/resources/RepositoryVersionResourceDefinitionTest.java
 c0e625a 
  
ambari-server/src/test/java/org/apache/ambari/server/api/services/ClusterStackVersionServiceTest.java
 PRE-CREATION 
  
ambari-server/src/test/java/org/apache/ambari/server/api/services/HostStackVersionServiceTest.java
 PRE-CREATION 
  
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RepositoryVersionResourceProviderTest.java
 e8ce2f7 
  
ambari-server/src/test/java/org/apache/ambari/server/orm/dao/ClusterVersionDAOTest.java
 42bf009 
  
ambari-server/src/test/java/org/apache/ambari/server/orm/dao/HostVersionDAOTest.java
 93f78b2 

Diff: https://reviews.apache.org/r/28124/diff/


Testing
---

in progress


Thanks,

Yurii Shylov



Re: Review Request 28124: Repository Version Management - Create subresource for hosts and clusters

2014-11-20 Thread Yurii Shylov

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/28124/
---

(Updated Ноя. 20, 2014, 10:54 д.п.)


Review request for Ambari, Alejandro Fernandez, Dmitro Lisnichenko, Nate Cole, 
and Tom Beerbower.


Bugs: AMBARI-8353
https://issues.apache.org/jira/browse/AMBARI-8353


Repository: ambari


Description
---

Add stack_versions subresource to /hosts and /clusters 


Diffs
-

  
ambari-server/src/main/java/org/apache/ambari/server/api/resources/ClusterResourceDefinition.java
 ef907c0 
  
ambari-server/src/main/java/org/apache/ambari/server/api/resources/ComponentStackVersionResourceDefinition.java
 PRE-CREATION 
  
ambari-server/src/main/java/org/apache/ambari/server/api/resources/HostResourceDefinition.java
 14ed799 
  
ambari-server/src/main/java/org/apache/ambari/server/api/resources/ResourceInstanceFactoryImpl.java
 9ad37ec 
  
ambari-server/src/main/java/org/apache/ambari/server/api/services/ClusterService.java
 f75ae11 
  
ambari-server/src/main/java/org/apache/ambari/server/api/services/ClusterStackVersionService.java
 PRE-CREATION 
  
ambari-server/src/main/java/org/apache/ambari/server/api/services/HostService.java
 c51722c 
  
ambari-server/src/main/java/org/apache/ambari/server/api/services/HostStackVersionService.java
 PRE-CREATION 
  
ambari-server/src/main/java/org/apache/ambari/server/controller/ResourceProviderFactory.java
 212f944 
  
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractControllerResourceProvider.java
 c198dd6 
  
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java
 PRE-CREATION 
  
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/DefaultProviderModule.java
 8f10143 
  
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostStackVersionResourceProvider.java
 PRE-CREATION 
  
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/StackVersionResourceProvider.java
 1442a0c 
  
ambari-server/src/main/java/org/apache/ambari/server/controller/spi/Resource.java
 dbac906 
  
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/ClusterVersionDAO.java
 e2a2e2d 
  
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/HostVersionDAO.java
 8d147a1 
  
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ClusterVersionEntity.java
 aaf8eed 
  
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostVersionEntity.java
 5b1b4f8 
  
ambari-server/src/main/java/org/apache/ambari/server/state/ClusterVersionState.java
 72cd541 
  
ambari-server/src/main/java/org/apache/ambari/server/state/RepositoryVersionState.java
 PRE-CREATION 
  
ambari-server/src/test/java/org/apache/ambari/server/api/resources/ClusterResourceDefinitionTest.java
 7296e8d 
  
ambari-server/src/test/java/org/apache/ambari/server/api/resources/ComponentStackVersionResourceDefinitionTest.java
 PRE-CREATION 
  
ambari-server/src/test/java/org/apache/ambari/server/api/resources/HostResourceDefinitionTest.java
 PRE-CREATION 
  
ambari-server/src/test/java/org/apache/ambari/server/api/resources/RepositoryVersionResourceDefinitionTest.java
 c0e625a 
  
ambari-server/src/test/java/org/apache/ambari/server/api/services/ClusterStackVersionServiceTest.java
 PRE-CREATION 
  
ambari-server/src/test/java/org/apache/ambari/server/api/services/HostStackVersionServiceTest.java
 PRE-CREATION 
  
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RepositoryVersionResourceProviderTest.java
 e8ce2f7 
  
ambari-server/src/test/java/org/apache/ambari/server/orm/dao/ClusterVersionDAOTest.java
 42bf009 
  
ambari-server/src/test/java/org/apache/ambari/server/orm/dao/HostVersionDAOTest.java
 93f78b2 

Diff: https://reviews.apache.org/r/28124/diff/


Testing (updated)
---

Total run:672
Total errors:0
Total failures:0
OK


Results :

Tests run: 2272, Failures: 0, Errors: 0, Skipped: 14


Thanks,

Yurii Shylov



[jira] [Commented] (AMBARI-8367) Sqoop User config setting should be hidden for Windows

2014-11-20 Thread Hudson (JIRA)

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

Hudson commented on AMBARI-8367:


SUCCESS: Integrated in Ambari-trunk-Commit #994 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/994/])
AMBARI-8367 - Sqoop User config setting should be hidden for Windows (Eugene 
Chekanskiy via abaranchuk) (abaranchuk: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=648a2d8f15c0e8bb9c324ce1700a417cae08a760)
* ambari-web/app/data/HDP2/site_properties.js


> Sqoop User config setting should be hidden for Windows
> --
>
> Key: AMBARI-8367
> URL: https://issues.apache.org/jira/browse/AMBARI-8367
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Eugene Chekanskiy
>Assignee: Eugene Chekanskiy
> Fix For: 2.0.0
>
>




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


[jira] [Commented] (AMBARI-8201) Ambari Agent and Server MSI Installer changes for branch-windows-dev

2014-11-20 Thread Hudson (JIRA)

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

Hudson commented on AMBARI-8201:


SUCCESS: Integrated in Ambari-trunk-Commit #994 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/994/])
AMBARI-8201 - Ambari Agent and Server MSI Installer changes for 
branch-windows-dev (Eugene Chekanskiy via abaranchuk) (abaranchuk: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=54f8ea58a8cbb11941ef0418088492846863118a)
* ambari-server/src/main/package/msi/ambari-server.wxs
* ambari-server/pom.xml
* ambari-agent/src/main/package/msi/ambari-agent.wxs
* ambari-agent/src/packages/windows.xml
* ambari-agent/pom.xml


> Ambari Agent and Server MSI Installer changes for branch-windows-dev
> 
>
> Key: AMBARI-8201
> URL: https://issues.apache.org/jira/browse/AMBARI-8201
> Project: Ambari
>  Issue Type: Task
>  Components: ambari-agent, ambari-server
>Affects Versions: 2.0.0
>Reporter: Eugene Chekanskiy
>Assignee: Eugene Chekanskiy
> Fix For: 2.0.0
>
>
> * change default install path and make it based on build version



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


[jira] [Commented] (AMBARI-8201) Ambari Agent and Server MSI Installer changes for branch-windows-dev

2014-11-20 Thread Hudson (JIRA)

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

Hudson commented on AMBARI-8201:


SUCCESS: Integrated in Ambari-trunk-Commit-docker #282 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit-docker/282/])
AMBARI-8201 - Ambari Agent and Server MSI Installer changes for 
branch-windows-dev (Eugene Chekanskiy via abaranchuk) (abaranchuk: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=54f8ea58a8cbb11941ef0418088492846863118a)
* ambari-agent/src/main/package/msi/ambari-agent.wxs
* ambari-agent/pom.xml
* ambari-server/pom.xml
* ambari-agent/src/packages/windows.xml
* ambari-server/src/main/package/msi/ambari-server.wxs


> Ambari Agent and Server MSI Installer changes for branch-windows-dev
> 
>
> Key: AMBARI-8201
> URL: https://issues.apache.org/jira/browse/AMBARI-8201
> Project: Ambari
>  Issue Type: Task
>  Components: ambari-agent, ambari-server
>Affects Versions: 2.0.0
>Reporter: Eugene Chekanskiy
>Assignee: Eugene Chekanskiy
> Fix For: 2.0.0
>
>
> * change default install path and make it based on build version



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


[jira] [Commented] (AMBARI-8367) Sqoop User config setting should be hidden for Windows

2014-11-20 Thread Hudson (JIRA)

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

Hudson commented on AMBARI-8367:


SUCCESS: Integrated in Ambari-trunk-Commit-docker #282 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit-docker/282/])
AMBARI-8367 - Sqoop User config setting should be hidden for Windows (Eugene 
Chekanskiy via abaranchuk) (abaranchuk: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=648a2d8f15c0e8bb9c324ce1700a417cae08a760)
* ambari-web/app/data/HDP2/site_properties.js


> Sqoop User config setting should be hidden for Windows
> --
>
> Key: AMBARI-8367
> URL: https://issues.apache.org/jira/browse/AMBARI-8367
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Eugene Chekanskiy
>Assignee: Eugene Chekanskiy
> Fix For: 2.0.0
>
>




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


Re: Review Request 28277: Upgrade Execute: Create stages and tasks

2014-11-20 Thread Dmitro Lisnichenko

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/28277/#review62338
---

Ship it!


Ship It!

- Dmitro Lisnichenko


On Nov. 20, 2014, 6:12 a.m., Nate Cole wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/28277/
> ---
> 
> (Updated Nov. 20, 2014, 6:12 a.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Dmitro Lisnichenko, and Yurii 
> Shylov.
> 
> 
> Bugs: AMBARI-8392
> https://issues.apache.org/jira/browse/AMBARI-8392
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> From the creation of and upgrade and upgrade items, add the workflow to make 
> request/stages/tasks out of them (even if they're currently incomplete).
> 
> Stages are not completely finished, as this patch was getting too large to 
> include that work.  This addresses using a custom action for tasks (the 
> custom task itself is another effort).  Creating proper RESTART commands is 
> also another effort.
> 
> 
> Diffs
> -
> 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/ActionExecutionContext.java
>  ee64c0d 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariActionExecutionHelper.java
>  006ab9f 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/RequestStageContainer.java
>  512ea14 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java
>  4746155 
>   
> ambari-server/src/main/resources/custom_action_definitions/system_action_definitions.xml
>  fb362cc 
>   ambari-server/src/main/resources/custom_actions/scripts/ru_execute_tasks.py 
> PRE-CREATION 
>   
> ambari-server/src/test/java/org/apache/ambari/server/controller/internal/UpgradeResourceProviderTest.java
>  15db70e 
> 
> Diff: https://reviews.apache.org/r/28277/diff/
> 
> 
> Testing
> ---
> 
> [INFO] 
> 
> [INFO] BUILD SUCCESS
> [INFO] 
> 
> [INFO] Total time: 20:30.942s
> [INFO] Finished at: Thu Nov 20 01:05:35 EST 2014
> [INFO] Final Memory: 32M/611M
> [INFO] 
> 
> 
> 
> Thanks,
> 
> Nate Cole
> 
>



[jira] [Created] (AMBARI-8393) Alerts UI: Summary Page. Create Alert groups dropdown

2014-11-20 Thread Oleg Nechiporenko (JIRA)
Oleg Nechiporenko created AMBARI-8393:
-

 Summary: Alerts UI: Summary Page. Create Alert groups dropdown
 Key: AMBARI-8393
 URL: https://issues.apache.org/jira/browse/AMBARI-8393
 Project: Ambari
  Issue Type: Bug
  Components: ambari-web
Affects Versions: 2.0.0
Reporter: Oleg Nechiporenko
Assignee: Oleg Nechiporenko
 Fix For: 2.0.0






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


[jira] [Updated] (AMBARI-8393) Alerts UI: Summary Page. Create Alert groups dropdown

2014-11-20 Thread Oleg Nechiporenko (JIRA)

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

Oleg Nechiporenko updated AMBARI-8393:
--
Attachment: AMBARI-8393.patch

> Alerts UI: Summary Page. Create Alert groups dropdown
> -
>
> Key: AMBARI-8393
> URL: https://issues.apache.org/jira/browse/AMBARI-8393
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Oleg Nechiporenko
>Assignee: Oleg Nechiporenko
> Fix For: 2.0.0
>
> Attachments: AMBARI-8393.patch
>
>




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


[jira] [Commented] (AMBARI-8393) Alerts UI: Summary Page. Create Alert groups dropdown

2014-11-20 Thread Aleksandr Kovalenko (JIRA)

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

Aleksandr Kovalenko commented on AMBARI-8393:
-

+1 for the patch

> Alerts UI: Summary Page. Create Alert groups dropdown
> -
>
> Key: AMBARI-8393
> URL: https://issues.apache.org/jira/browse/AMBARI-8393
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Oleg Nechiporenko
>Assignee: Oleg Nechiporenko
> Fix For: 2.0.0
>
> Attachments: AMBARI-8393.patch
>
>
> 4878 tests complete (8 seconds)
>   60 tests pending



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


[jira] [Updated] (AMBARI-8393) Alerts UI: Summary Page. Create Alert groups dropdown

2014-11-20 Thread Oleg Nechiporenko (JIRA)

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

Oleg Nechiporenko updated AMBARI-8393:
--
Description: 
4878 tests complete (8 seconds)
  60 tests pending

> Alerts UI: Summary Page. Create Alert groups dropdown
> -
>
> Key: AMBARI-8393
> URL: https://issues.apache.org/jira/browse/AMBARI-8393
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Oleg Nechiporenko
>Assignee: Oleg Nechiporenko
> Fix For: 2.0.0
>
> Attachments: AMBARI-8393.patch
>
>
> 4878 tests complete (8 seconds)
>   60 tests pending



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


[jira] [Commented] (AMBARI-8393) Alerts UI: Summary Page. Create Alert groups dropdown

2014-11-20 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on AMBARI-8393:
---

{color:green}+1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12682627/AMBARI-8393.patch
  against trunk revision .

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 1 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: 
https://builds.apache.org/job/Ambari-trunk-test-patch/703//testReport/
Console output: 
https://builds.apache.org/job/Ambari-trunk-test-patch/703//console

This message is automatically generated.

> Alerts UI: Summary Page. Create Alert groups dropdown
> -
>
> Key: AMBARI-8393
> URL: https://issues.apache.org/jira/browse/AMBARI-8393
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Oleg Nechiporenko
>Assignee: Oleg Nechiporenko
> Fix For: 2.0.0
>
> Attachments: AMBARI-8393.patch
>
>
> 4878 tests complete (8 seconds)
>   60 tests pending



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


[jira] [Created] (AMBARI-8394) Ambari View > Versions > Register Version (w/ mock data)

2014-11-20 Thread Andrii Tkach (JIRA)
Andrii Tkach created AMBARI-8394:


 Summary: Ambari View > Versions > Register Version (w/ mock data)
 Key: AMBARI-8394
 URL: https://issues.apache.org/jira/browse/AMBARI-8394
 Project: Ambari
  Issue Type: New Feature
  Components: ambari-web
Affects Versions: 2.0.0
Reporter: Andrii Tkach
Assignee: Andrii Tkach
 Fix For: 2.0.0


* Create models and routes necessary for "Register Version" page.
* Create any necessary mock data
* Implement Register Version page
* This is UI only without E2E integration



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


[jira] [Updated] (AMBARI-8394) Ambari View > Versions > Register Version (with mock data)

2014-11-20 Thread Andrii Tkach (JIRA)

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

Andrii Tkach updated AMBARI-8394:
-
Summary: Ambari View > Versions > Register Version (with mock data)  (was: 
Ambari View > Versions > Register Version (w/ mock data))

> Ambari View > Versions > Register Version (with mock data)
> --
>
> Key: AMBARI-8394
> URL: https://issues.apache.org/jira/browse/AMBARI-8394
> Project: Ambari
>  Issue Type: New Feature
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Andrii Tkach
>Assignee: Andrii Tkach
> Fix For: 2.0.0
>
>
> * Create models and routes necessary for "Register Version" page.
> * Create any necessary mock data
> * Implement Register Version page
> * This is UI only without E2E integration



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


Re: Review Request 28124: Repository Version Management - Create subresource for hosts and clusters

2014-11-20 Thread Dmitro Lisnichenko

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/28124/#review62339
---

Ship it!


Ship It!

- Dmitro Lisnichenko


On Nov. 20, 2014, 10:54 a.m., Yurii Shylov wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/28124/
> ---
> 
> (Updated Nov. 20, 2014, 10:54 a.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Dmitro Lisnichenko, Nate 
> Cole, and Tom Beerbower.
> 
> 
> Bugs: AMBARI-8353
> https://issues.apache.org/jira/browse/AMBARI-8353
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> Add stack_versions subresource to /hosts and /clusters 
> 
> 
> Diffs
> -
> 
>   
> ambari-server/src/main/java/org/apache/ambari/server/api/resources/ClusterResourceDefinition.java
>  ef907c0 
>   
> ambari-server/src/main/java/org/apache/ambari/server/api/resources/ComponentStackVersionResourceDefinition.java
>  PRE-CREATION 
>   
> ambari-server/src/main/java/org/apache/ambari/server/api/resources/HostResourceDefinition.java
>  14ed799 
>   
> ambari-server/src/main/java/org/apache/ambari/server/api/resources/ResourceInstanceFactoryImpl.java
>  9ad37ec 
>   
> ambari-server/src/main/java/org/apache/ambari/server/api/services/ClusterService.java
>  f75ae11 
>   
> ambari-server/src/main/java/org/apache/ambari/server/api/services/ClusterStackVersionService.java
>  PRE-CREATION 
>   
> ambari-server/src/main/java/org/apache/ambari/server/api/services/HostService.java
>  c51722c 
>   
> ambari-server/src/main/java/org/apache/ambari/server/api/services/HostStackVersionService.java
>  PRE-CREATION 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/ResourceProviderFactory.java
>  212f944 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractControllerResourceProvider.java
>  c198dd6 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java
>  PRE-CREATION 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/DefaultProviderModule.java
>  8f10143 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostStackVersionResourceProvider.java
>  PRE-CREATION 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/StackVersionResourceProvider.java
>  1442a0c 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/spi/Resource.java
>  dbac906 
>   
> ambari-server/src/main/java/org/apache/ambari/server/orm/dao/ClusterVersionDAO.java
>  e2a2e2d 
>   
> ambari-server/src/main/java/org/apache/ambari/server/orm/dao/HostVersionDAO.java
>  8d147a1 
>   
> ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ClusterVersionEntity.java
>  aaf8eed 
>   
> ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostVersionEntity.java
>  5b1b4f8 
>   
> ambari-server/src/main/java/org/apache/ambari/server/state/ClusterVersionState.java
>  72cd541 
>   
> ambari-server/src/main/java/org/apache/ambari/server/state/RepositoryVersionState.java
>  PRE-CREATION 
>   
> ambari-server/src/test/java/org/apache/ambari/server/api/resources/ClusterResourceDefinitionTest.java
>  7296e8d 
>   
> ambari-server/src/test/java/org/apache/ambari/server/api/resources/ComponentStackVersionResourceDefinitionTest.java
>  PRE-CREATION 
>   
> ambari-server/src/test/java/org/apache/ambari/server/api/resources/HostResourceDefinitionTest.java
>  PRE-CREATION 
>   
> ambari-server/src/test/java/org/apache/ambari/server/api/resources/RepositoryVersionResourceDefinitionTest.java
>  c0e625a 
>   
> ambari-server/src/test/java/org/apache/ambari/server/api/services/ClusterStackVersionServiceTest.java
>  PRE-CREATION 
>   
> ambari-server/src/test/java/org/apache/ambari/server/api/services/HostStackVersionServiceTest.java
>  PRE-CREATION 
>   
> ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RepositoryVersionResourceProviderTest.java
>  e8ce2f7 
>   
> ambari-server/src/test/java/org/apache/ambari/server/orm/dao/ClusterVersionDAOTest.java
>  42bf009 
>   
> ambari-server/src/test/java/org/apache/ambari/server/orm/dao/HostVersionDAOTest.java
>  93f78b2 
> 
> Diff: https://reviews.apache.org/r/28124/diff/
> 
> 
> Testing
> ---
> 
> Total run:672
> Total errors:0
> Total failures:0
> OK
> 
> 
> Results :
> 
> Tests run: 2272, Failures: 0, Errors: 0, Skipped: 14
> 
> 
> Thanks,
> 
> Yurii Shylov
> 
>



[jira] [Updated] (AMBARI-8394) Ambari View > Versions > Register Version (with mock data)

2014-11-20 Thread Andrii Tkach (JIRA)

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

Andrii Tkach updated AMBARI-8394:
-
Attachment: AMBARI-8394.patch

> Ambari View > Versions > Register Version (with mock data)
> --
>
> Key: AMBARI-8394
> URL: https://issues.apache.org/jira/browse/AMBARI-8394
> Project: Ambari
>  Issue Type: New Feature
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Andrii Tkach
>Assignee: Andrii Tkach
> Fix For: 2.0.0
>
> Attachments: AMBARI-8394.patch
>
>
> * Create models and routes necessary for "Register Version" page.
> * Create any necessary mock data
> * Implement Register Version page
> * This is UI only without E2E integration



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


Review Request 28282: Ambari View > Versions > Register Version (with mock data)

2014-11-20 Thread Andrii Tkach

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/28282/
---

Review request for Ambari and Aleksandr Kovalenko.


Bugs: AMBARI-8394
https://issues.apache.org/jira/browse/AMBARI-8394


Repository: ambari


Description
---

Create models and routes necessary for "Register Version" page.
Create any necessary mock data
Implement Register Version page
This is UI only without E2E integration


Diffs
-

  ambari-admin/src/main/resources/ui/admin-web/app/index.html f8af13c 
  
ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/stackVersions/StackVersionsCreateCtrl.js
 PRE-CREATION 
  ambari-admin/src/main/resources/ui/admin-web/app/styles/main.css 6997020 
  ambari-admin/src/main/resources/ui/admin-web/app/views/leftNavbar.html 
640d2b9 
  
ambari-admin/src/main/resources/ui/admin-web/app/views/stackVersions/create.html
 PRE-CREATION 
  
ambari-admin/src/main/resources/ui/admin-web/app/views/stackVersions/list.html 
0d2ceb6 

Diff: https://reviews.apache.org/r/28282/diff/


Testing
---

Tested manually


Thanks,

Andrii Tkach



Re: Review Request 28282: Ambari View > Versions > Register Version (with mock data)

2014-11-20 Thread Aleksandr Kovalenko

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/28282/#review62340
---

Ship it!


Ship It!

- Aleksandr Kovalenko


On Лис. 20, 2014, 11:42 до полудня, Andrii Tkach wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/28282/
> ---
> 
> (Updated Лис. 20, 2014, 11:42 до полудня)
> 
> 
> Review request for Ambari and Aleksandr Kovalenko.
> 
> 
> Bugs: AMBARI-8394
> https://issues.apache.org/jira/browse/AMBARI-8394
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> Create models and routes necessary for "Register Version" page.
> Create any necessary mock data
> Implement Register Version page
> This is UI only without E2E integration
> 
> 
> Diffs
> -
> 
>   ambari-admin/src/main/resources/ui/admin-web/app/index.html f8af13c 
>   
> ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/stackVersions/StackVersionsCreateCtrl.js
>  PRE-CREATION 
>   ambari-admin/src/main/resources/ui/admin-web/app/styles/main.css 6997020 
>   ambari-admin/src/main/resources/ui/admin-web/app/views/leftNavbar.html 
> 640d2b9 
>   
> ambari-admin/src/main/resources/ui/admin-web/app/views/stackVersions/create.html
>  PRE-CREATION 
>   
> ambari-admin/src/main/resources/ui/admin-web/app/views/stackVersions/list.html
>  0d2ceb6 
> 
> Diff: https://reviews.apache.org/r/28282/diff/
> 
> 
> Testing
> ---
> 
> Tested manually
> 
> 
> Thanks,
> 
> Andrii Tkach
> 
>



[jira] [Commented] (AMBARI-8394) Ambari View > Versions > Register Version (with mock data)

2014-11-20 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on AMBARI-8394:
---

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12682629/AMBARI-8394.patch
  against trunk revision .

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:red}-1 tests included{color}.  The patch doesn't appear to include 
any new or modified tests.
Please justify why no new tests are needed for this 
patch.
Also please list what manual steps were performed to 
verify this patch.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in 
ambari-admin.

Test results: 
https://builds.apache.org/job/Ambari-trunk-test-patch/704//testReport/
Console output: 
https://builds.apache.org/job/Ambari-trunk-test-patch/704//console

This message is automatically generated.

> Ambari View > Versions > Register Version (with mock data)
> --
>
> Key: AMBARI-8394
> URL: https://issues.apache.org/jira/browse/AMBARI-8394
> Project: Ambari
>  Issue Type: New Feature
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Andrii Tkach
>Assignee: Andrii Tkach
> Fix For: 2.0.0
>
> Attachments: AMBARI-8394.patch
>
>
> * Create models and routes necessary for "Register Version" page.
> * Create any necessary mock data
> * Implement Register Version page
> * This is UI only without E2E integration



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


[jira] [Commented] (AMBARI-8394) Ambari View > Versions > Register Version (with mock data)

2014-11-20 Thread Andrii Tkach (JIRA)

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

Andrii Tkach commented on AMBARI-8394:
--

committed to trunk.

> Ambari View > Versions > Register Version (with mock data)
> --
>
> Key: AMBARI-8394
> URL: https://issues.apache.org/jira/browse/AMBARI-8394
> Project: Ambari
>  Issue Type: New Feature
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Andrii Tkach
>Assignee: Andrii Tkach
> Fix For: 2.0.0
>
> Attachments: AMBARI-8394.patch
>
>
> * Create models and routes necessary for "Register Version" page.
> * Create any necessary mock data
> * Implement Register Version page
> * This is UI only without E2E integration



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


[jira] [Commented] (AMBARI-8393) Alerts UI: Summary Page. Create Alert groups dropdown

2014-11-20 Thread Hudson (JIRA)

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

Hudson commented on AMBARI-8393:


FAILURE: Integrated in Ambari-trunk-Commit-docker #283 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit-docker/283/])
AMBARI-8393. Alerts UI: Summary Page. Create Alert groups dropdown 
(onechiporenko) (onechiporenko: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=55c691f49f8afe9d3873ae1c2af58343c060c3eb)
* ambari-web/app/controllers/global/update_controller.js
* ambari-web/app/views/main/alert_definitions_view.js
* ambari-web/app/styles/alerts.less
* ambari-web/test/views/common/filter_view_test.js
* ambari-web/app/templates/main/alerts.hbs
* ambari-web/app/views/common/filter_view.js


> Alerts UI: Summary Page. Create Alert groups dropdown
> -
>
> Key: AMBARI-8393
> URL: https://issues.apache.org/jira/browse/AMBARI-8393
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Oleg Nechiporenko
>Assignee: Oleg Nechiporenko
> Fix For: 2.0.0
>
> Attachments: AMBARI-8393.patch
>
>
> 4878 tests complete (8 seconds)
>   60 tests pending



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


[jira] [Commented] (AMBARI-8393) Alerts UI: Summary Page. Create Alert groups dropdown

2014-11-20 Thread Hudson (JIRA)

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

Hudson commented on AMBARI-8393:


SUCCESS: Integrated in Ambari-trunk-Commit #995 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/995/])
AMBARI-8393. Alerts UI: Summary Page. Create Alert groups dropdown 
(onechiporenko) (onechiporenko: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=55c691f49f8afe9d3873ae1c2af58343c060c3eb)
* ambari-web/app/views/common/filter_view.js
* ambari-web/app/controllers/global/update_controller.js
* ambari-web/app/styles/alerts.less
* ambari-web/test/views/common/filter_view_test.js
* ambari-web/app/views/main/alert_definitions_view.js
* ambari-web/app/templates/main/alerts.hbs


> Alerts UI: Summary Page. Create Alert groups dropdown
> -
>
> Key: AMBARI-8393
> URL: https://issues.apache.org/jira/browse/AMBARI-8393
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Oleg Nechiporenko
>Assignee: Oleg Nechiporenko
> Fix For: 2.0.0
>
> Attachments: AMBARI-8393.patch
>
>
> 4878 tests complete (8 seconds)
>   60 tests pending



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


[jira] [Created] (AMBARI-8395) Alerts UI. AlertGroupsMapper doesn't delete not existing groups

2014-11-20 Thread Oleg Nechiporenko (JIRA)
Oleg Nechiporenko created AMBARI-8395:
-

 Summary: Alerts UI. AlertGroupsMapper doesn't delete not existing 
groups
 Key: AMBARI-8395
 URL: https://issues.apache.org/jira/browse/AMBARI-8395
 Project: Ambari
  Issue Type: Bug
  Components: ambari-web
Affects Versions: 2.0.0
Reporter: Oleg Nechiporenko
Assignee: Oleg Nechiporenko
 Fix For: 2.0.0


Mapper should delete not existing groups.



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


[jira] [Updated] (AMBARI-8314) Repository Version Management - Add validation for created repo versions

2014-11-20 Thread Yurii Shylov (JIRA)

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

Yurii Shylov updated AMBARI-8314:
-
Attachment: (was: AMBARI-8314-2.patch)

> Repository Version Management - Add validation for created repo versions
> 
>
> Key: AMBARI-8314
> URL: https://issues.apache.org/jira/browse/AMBARI-8314
> Project: Ambari
>  Issue Type: Technical task
>  Components: ambari-server
>Affects Versions: 2.0.0
>Reporter: Yurii Shylov
>Assignee: Yurii Shylov
> Fix For: 2.0.0
>
> Attachments: AMBARI-8314.patch
>
>
> Add some validation when creating a repo version:
> * validate the stack exists
> * upgrade pack specified is available for the stack
> * validate the OS specified for repositories are all in the stack available
> * validate that the version specified is valid for the upgrade pack.  this 
> will involve changing the upgrade pack "target" element to a regex 
> appropriately



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


[jira] [Updated] (AMBARI-8314) Repository Version Management - Add validation for created repo versions

2014-11-20 Thread Yurii Shylov (JIRA)

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

Yurii Shylov updated AMBARI-8314:
-
Attachment: AMBARI-8314-2.patch

> Repository Version Management - Add validation for created repo versions
> 
>
> Key: AMBARI-8314
> URL: https://issues.apache.org/jira/browse/AMBARI-8314
> Project: Ambari
>  Issue Type: Technical task
>  Components: ambari-server
>Affects Versions: 2.0.0
>Reporter: Yurii Shylov
>Assignee: Yurii Shylov
> Fix For: 2.0.0
>
> Attachments: AMBARI-8314-2.patch, AMBARI-8314.patch
>
>
> Add some validation when creating a repo version:
> * validate the stack exists
> * upgrade pack specified is available for the stack
> * validate the OS specified for repositories are all in the stack available
> * validate that the version specified is valid for the upgrade pack.  this 
> will involve changing the upgrade pack "target" element to a regex 
> appropriately



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


[jira] [Updated] (AMBARI-8395) Alerts UI. AlertGroupsMapper doesn't delete not existing groups

2014-11-20 Thread Oleg Nechiporenko (JIRA)

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

Oleg Nechiporenko updated AMBARI-8395:
--
Attachment: AMBARI-8395.patch

> Alerts UI. AlertGroupsMapper doesn't delete not existing groups
> ---
>
> Key: AMBARI-8395
> URL: https://issues.apache.org/jira/browse/AMBARI-8395
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Oleg Nechiporenko
>Assignee: Oleg Nechiporenko
> Fix For: 2.0.0
>
> Attachments: AMBARI-8395.patch
>
>
> Mapper should delete not existing groups.



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


[jira] [Commented] (AMBARI-8395) Alerts UI. AlertGroupsMapper doesn't delete not existing groups

2014-11-20 Thread Oleg Nechiporenko (JIRA)

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

Oleg Nechiporenko commented on AMBARI-8395:
---

4879 tests complete (8 seconds)
   60 tests pending

> Alerts UI. AlertGroupsMapper doesn't delete not existing groups
> ---
>
> Key: AMBARI-8395
> URL: https://issues.apache.org/jira/browse/AMBARI-8395
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Oleg Nechiporenko
>Assignee: Oleg Nechiporenko
> Fix For: 2.0.0
>
> Attachments: AMBARI-8395.patch
>
>
> Mapper should delete not existing groups.



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


[jira] [Commented] (AMBARI-8395) Alerts UI. AlertGroupsMapper doesn't delete not existing groups

2014-11-20 Thread Aleksandr Kovalenko (JIRA)

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

Aleksandr Kovalenko commented on AMBARI-8395:
-

+1 for the patch

> Alerts UI. AlertGroupsMapper doesn't delete not existing groups
> ---
>
> Key: AMBARI-8395
> URL: https://issues.apache.org/jira/browse/AMBARI-8395
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Oleg Nechiporenko
>Assignee: Oleg Nechiporenko
> Fix For: 2.0.0
>
> Attachments: AMBARI-8395.patch
>
>
> Mapper should delete not existing groups.



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


[jira] [Commented] (AMBARI-8394) Ambari View > Versions > Register Version (with mock data)

2014-11-20 Thread Hudson (JIRA)

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

Hudson commented on AMBARI-8394:


FAILURE: Integrated in Ambari-trunk-Commit-docker #284 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit-docker/284/])
AMBARI-8394 Ambari View > Versions > Register Version (with mock data). 
(atkach) (atkach: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=4425a555920d27043530d7f4a99a6cf8ec7f8138)
* ambari-admin/src/main/resources/ui/admin-web/app/views/leftNavbar.html
* 
ambari-admin/src/main/resources/ui/admin-web/app/views/stackVersions/create.html
* ambari-admin/src/main/resources/ui/admin-web/app/views/stackVersions/list.html
* ambari-admin/src/main/resources/ui/admin-web/app/index.html
* ambari-admin/src/main/resources/ui/admin-web/app/styles/main.css
* 
ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/stackVersions/StackVersionsCreateCtrl.js


> Ambari View > Versions > Register Version (with mock data)
> --
>
> Key: AMBARI-8394
> URL: https://issues.apache.org/jira/browse/AMBARI-8394
> Project: Ambari
>  Issue Type: New Feature
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Andrii Tkach
>Assignee: Andrii Tkach
> Fix For: 2.0.0
>
> Attachments: AMBARI-8394.patch
>
>
> * Create models and routes necessary for "Register Version" page.
> * Create any necessary mock data
> * Implement Register Version page
> * This is UI only without E2E integration



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


[jira] [Commented] (AMBARI-8394) Ambari View > Versions > Register Version (with mock data)

2014-11-20 Thread Hudson (JIRA)

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

Hudson commented on AMBARI-8394:


SUCCESS: Integrated in Ambari-trunk-Commit #996 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/996/])
AMBARI-8394 Ambari View > Versions > Register Version (with mock data). 
(atkach) (atkach: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=4425a555920d27043530d7f4a99a6cf8ec7f8138)
* ambari-admin/src/main/resources/ui/admin-web/app/views/stackVersions/list.html
* ambari-admin/src/main/resources/ui/admin-web/app/views/leftNavbar.html
* ambari-admin/src/main/resources/ui/admin-web/app/styles/main.css
* 
ambari-admin/src/main/resources/ui/admin-web/app/views/stackVersions/create.html
* ambari-admin/src/main/resources/ui/admin-web/app/index.html
* 
ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/stackVersions/StackVersionsCreateCtrl.js


> Ambari View > Versions > Register Version (with mock data)
> --
>
> Key: AMBARI-8394
> URL: https://issues.apache.org/jira/browse/AMBARI-8394
> Project: Ambari
>  Issue Type: New Feature
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Andrii Tkach
>Assignee: Andrii Tkach
> Fix For: 2.0.0
>
> Attachments: AMBARI-8394.patch
>
>
> * Create models and routes necessary for "Register Version" page.
> * Create any necessary mock data
> * Implement Register Version page
> * This is UI only without E2E integration



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


Re: Review Request 28124: Repository Version Management - Create subresource for hosts and clusters

2014-11-20 Thread Tom Beerbower

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/28124/#review62345
---

Ship it!


Ship It!

- Tom Beerbower


On Nov. 20, 2014, 10:54 a.m., Yurii Shylov wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/28124/
> ---
> 
> (Updated Nov. 20, 2014, 10:54 a.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Dmitro Lisnichenko, Nate 
> Cole, and Tom Beerbower.
> 
> 
> Bugs: AMBARI-8353
> https://issues.apache.org/jira/browse/AMBARI-8353
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> Add stack_versions subresource to /hosts and /clusters 
> 
> 
> Diffs
> -
> 
>   
> ambari-server/src/main/java/org/apache/ambari/server/api/resources/ClusterResourceDefinition.java
>  ef907c0 
>   
> ambari-server/src/main/java/org/apache/ambari/server/api/resources/ComponentStackVersionResourceDefinition.java
>  PRE-CREATION 
>   
> ambari-server/src/main/java/org/apache/ambari/server/api/resources/HostResourceDefinition.java
>  14ed799 
>   
> ambari-server/src/main/java/org/apache/ambari/server/api/resources/ResourceInstanceFactoryImpl.java
>  9ad37ec 
>   
> ambari-server/src/main/java/org/apache/ambari/server/api/services/ClusterService.java
>  f75ae11 
>   
> ambari-server/src/main/java/org/apache/ambari/server/api/services/ClusterStackVersionService.java
>  PRE-CREATION 
>   
> ambari-server/src/main/java/org/apache/ambari/server/api/services/HostService.java
>  c51722c 
>   
> ambari-server/src/main/java/org/apache/ambari/server/api/services/HostStackVersionService.java
>  PRE-CREATION 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/ResourceProviderFactory.java
>  212f944 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractControllerResourceProvider.java
>  c198dd6 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java
>  PRE-CREATION 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/DefaultProviderModule.java
>  8f10143 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostStackVersionResourceProvider.java
>  PRE-CREATION 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/StackVersionResourceProvider.java
>  1442a0c 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/spi/Resource.java
>  dbac906 
>   
> ambari-server/src/main/java/org/apache/ambari/server/orm/dao/ClusterVersionDAO.java
>  e2a2e2d 
>   
> ambari-server/src/main/java/org/apache/ambari/server/orm/dao/HostVersionDAO.java
>  8d147a1 
>   
> ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ClusterVersionEntity.java
>  aaf8eed 
>   
> ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostVersionEntity.java
>  5b1b4f8 
>   
> ambari-server/src/main/java/org/apache/ambari/server/state/ClusterVersionState.java
>  72cd541 
>   
> ambari-server/src/main/java/org/apache/ambari/server/state/RepositoryVersionState.java
>  PRE-CREATION 
>   
> ambari-server/src/test/java/org/apache/ambari/server/api/resources/ClusterResourceDefinitionTest.java
>  7296e8d 
>   
> ambari-server/src/test/java/org/apache/ambari/server/api/resources/ComponentStackVersionResourceDefinitionTest.java
>  PRE-CREATION 
>   
> ambari-server/src/test/java/org/apache/ambari/server/api/resources/HostResourceDefinitionTest.java
>  PRE-CREATION 
>   
> ambari-server/src/test/java/org/apache/ambari/server/api/resources/RepositoryVersionResourceDefinitionTest.java
>  c0e625a 
>   
> ambari-server/src/test/java/org/apache/ambari/server/api/services/ClusterStackVersionServiceTest.java
>  PRE-CREATION 
>   
> ambari-server/src/test/java/org/apache/ambari/server/api/services/HostStackVersionServiceTest.java
>  PRE-CREATION 
>   
> ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RepositoryVersionResourceProviderTest.java
>  e8ce2f7 
>   
> ambari-server/src/test/java/org/apache/ambari/server/orm/dao/ClusterVersionDAOTest.java
>  42bf009 
>   
> ambari-server/src/test/java/org/apache/ambari/server/orm/dao/HostVersionDAOTest.java
>  93f78b2 
> 
> Diff: https://reviews.apache.org/r/28124/diff/
> 
> 
> Testing
> ---
> 
> Total run:672
> Total errors:0
> Total failures:0
> OK
> 
> 
> Results :
> 
> Tests run: 2272, Failures: 0, Errors: 0, Skipped: 14
> 
> 
> Thanks,
> 
> Yurii Shylov
> 
>



[jira] [Created] (AMBARI-8396) Repository Version Management - Create documentation for API

2014-11-20 Thread Yurii Shylov (JIRA)
Yurii Shylov created AMBARI-8396:


 Summary: Repository Version Management - Create documentation for 
API
 Key: AMBARI-8396
 URL: https://issues.apache.org/jira/browse/AMBARI-8396
 Project: Ambari
  Issue Type: Task
  Components: ambari-server
Affects Versions: 2.0.0
Reporter: Yurii Shylov
Assignee: Yurii Shylov
 Fix For: 2.0.0


Create documentation for the following API resources:
`/api/v1/repository_versions`
`/api/v1/hosts/host/stack_versions`
`/api/v1/clusters/cluster/stack_versions`



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


[jira] [Updated] (AMBARI-8396) Repository Version Management - Create documentation for API

2014-11-20 Thread Yurii Shylov (JIRA)

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

Yurii Shylov updated AMBARI-8396:
-
Issue Type: Technical task  (was: Task)
Parent: AMBARI-8162

> Repository Version Management - Create documentation for API
> 
>
> Key: AMBARI-8396
> URL: https://issues.apache.org/jira/browse/AMBARI-8396
> Project: Ambari
>  Issue Type: Technical task
>  Components: ambari-server
>Affects Versions: 2.0.0
>Reporter: Yurii Shylov
>Assignee: Yurii Shylov
> Fix For: 2.0.0
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Create documentation for the following API resources:
> `/api/v1/repository_versions`
> `/api/v1/hosts/host/stack_versions`
> `/api/v1/clusters/cluster/stack_versions`



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


[jira] [Commented] (AMBARI-8314) Repository Version Management - Add validation for created repo versions

2014-11-20 Thread Hudson (JIRA)

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

Hudson commented on AMBARI-8314:


FAILURE: Integrated in Ambari-trunk-Commit #997 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/997/])
AMBARI-8314. Repository Version Management - Add validation for created repo 
versions (Yurii Shylov via ncole) (ncole: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=e35126fedfd8c00f287f48ab244027d095ab45cf)
* LICENSE.txt
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/RepositoryVersionResourceProvider.java
* 
ambari-server/src/main/java/org/apache/ambari/server/api/services/AmbariMetaInfo.java
* ambari-server/pom.xml
* 
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RepositoryVersionResourceProviderTest.java


> Repository Version Management - Add validation for created repo versions
> 
>
> Key: AMBARI-8314
> URL: https://issues.apache.org/jira/browse/AMBARI-8314
> Project: Ambari
>  Issue Type: Technical task
>  Components: ambari-server
>Affects Versions: 2.0.0
>Reporter: Yurii Shylov
>Assignee: Yurii Shylov
> Fix For: 2.0.0
>
> Attachments: AMBARI-8314-2.patch, AMBARI-8314.patch
>
>
> Add some validation when creating a repo version:
> * validate the stack exists
> * upgrade pack specified is available for the stack
> * validate the OS specified for repositories are all in the stack available
> * validate that the version specified is valid for the upgrade pack.  this 
> will involve changing the upgrade pack "target" element to a regex 
> appropriately



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


[jira] [Commented] (AMBARI-8314) Repository Version Management - Add validation for created repo versions

2014-11-20 Thread Hudson (JIRA)

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

Hudson commented on AMBARI-8314:


SUCCESS: Integrated in Ambari-trunk-Commit-docker #285 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit-docker/285/])
AMBARI-8314. Repository Version Management - Add validation for created repo 
versions (Yurii Shylov via ncole) (ncole: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=e35126fedfd8c00f287f48ab244027d095ab45cf)
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/RepositoryVersionResourceProvider.java
* 
ambari-server/src/main/java/org/apache/ambari/server/api/services/AmbariMetaInfo.java
* 
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RepositoryVersionResourceProviderTest.java
* ambari-server/pom.xml
* LICENSE.txt


> Repository Version Management - Add validation for created repo versions
> 
>
> Key: AMBARI-8314
> URL: https://issues.apache.org/jira/browse/AMBARI-8314
> Project: Ambari
>  Issue Type: Technical task
>  Components: ambari-server
>Affects Versions: 2.0.0
>Reporter: Yurii Shylov
>Assignee: Yurii Shylov
> Fix For: 2.0.0
>
> Attachments: AMBARI-8314-2.patch, AMBARI-8314.patch
>
>
> Add some validation when creating a repo version:
> * validate the stack exists
> * upgrade pack specified is available for the stack
> * validate the OS specified for repositories are all in the stack available
> * validate that the version specified is valid for the upgrade pack.  this 
> will involve changing the upgrade pack "target" element to a regex 
> appropriately



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


Re: Review Request 28124: Repository Version Management - Create subresource for hosts and clusters

2014-11-20 Thread Yurii Shylov

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/28124/
---

(Updated Ноя. 20, 2014, 2:04 п.п.)


Review request for Ambari, Alejandro Fernandez, Dmitro Lisnichenko, Nate Cole, 
and Tom Beerbower.


Changes
---

Merge with latest trunk


Bugs: AMBARI-8353
https://issues.apache.org/jira/browse/AMBARI-8353


Repository: ambari


Description
---

Add stack_versions subresource to /hosts and /clusters 


Diffs (updated)
-

  
ambari-server/src/main/java/org/apache/ambari/server/api/resources/ClusterResourceDefinition.java
 ef907c0 
  
ambari-server/src/main/java/org/apache/ambari/server/api/resources/ComponentStackVersionResourceDefinition.java
 PRE-CREATION 
  
ambari-server/src/main/java/org/apache/ambari/server/api/resources/HostResourceDefinition.java
 14ed799 
  
ambari-server/src/main/java/org/apache/ambari/server/api/resources/ResourceInstanceFactoryImpl.java
 9ad37ec 
  
ambari-server/src/main/java/org/apache/ambari/server/api/services/ClusterService.java
 f75ae11 
  
ambari-server/src/main/java/org/apache/ambari/server/api/services/ClusterStackVersionService.java
 PRE-CREATION 
  
ambari-server/src/main/java/org/apache/ambari/server/api/services/HostService.java
 c51722c 
  
ambari-server/src/main/java/org/apache/ambari/server/api/services/HostStackVersionService.java
 PRE-CREATION 
  
ambari-server/src/main/java/org/apache/ambari/server/controller/ResourceProviderFactory.java
 212f944 
  
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractControllerResourceProvider.java
 c198dd6 
  
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java
 PRE-CREATION 
  
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/DefaultProviderModule.java
 8f10143 
  
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostStackVersionResourceProvider.java
 PRE-CREATION 
  
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/StackVersionResourceProvider.java
 1442a0c 
  
ambari-server/src/main/java/org/apache/ambari/server/controller/spi/Resource.java
 dbac906 
  
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/ClusterVersionDAO.java
 e2a2e2d 
  
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/HostVersionDAO.java
 8d147a1 
  
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ClusterVersionEntity.java
 aaf8eed 
  
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostVersionEntity.java
 5b1b4f8 
  
ambari-server/src/main/java/org/apache/ambari/server/state/ClusterVersionState.java
 72cd541 
  
ambari-server/src/main/java/org/apache/ambari/server/state/RepositoryVersionState.java
 PRE-CREATION 
  
ambari-server/src/test/java/org/apache/ambari/server/api/resources/ClusterResourceDefinitionTest.java
 7296e8d 
  
ambari-server/src/test/java/org/apache/ambari/server/api/resources/ComponentStackVersionResourceDefinitionTest.java
 PRE-CREATION 
  
ambari-server/src/test/java/org/apache/ambari/server/api/resources/HostResourceDefinitionTest.java
 PRE-CREATION 
  
ambari-server/src/test/java/org/apache/ambari/server/api/resources/RepositoryVersionResourceDefinitionTest.java
 c0e625a 
  
ambari-server/src/test/java/org/apache/ambari/server/api/services/ClusterStackVersionServiceTest.java
 PRE-CREATION 
  
ambari-server/src/test/java/org/apache/ambari/server/api/services/HostStackVersionServiceTest.java
 PRE-CREATION 
  
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RepositoryVersionResourceProviderTest.java
 3cd54f5 
  
ambari-server/src/test/java/org/apache/ambari/server/orm/dao/ClusterVersionDAOTest.java
 42bf009 
  
ambari-server/src/test/java/org/apache/ambari/server/orm/dao/HostVersionDAOTest.java
 93f78b2 

Diff: https://reviews.apache.org/r/28124/diff/


Testing
---

Total run:672
Total errors:0
Total failures:0
OK


Results :

Tests run: 2272, Failures: 0, Errors: 0, Skipped: 14


Thanks,

Yurii Shylov



Re: Review Request 28124: Repository Version Management - Create subresource for hosts and clusters

2014-11-20 Thread Dmitro Lisnichenko

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/28124/#review62350
---

Ship it!


Ship It!

- Dmitro Lisnichenko


On Nov. 20, 2014, 2:04 p.m., Yurii Shylov wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/28124/
> ---
> 
> (Updated Nov. 20, 2014, 2:04 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Dmitro Lisnichenko, Nate 
> Cole, and Tom Beerbower.
> 
> 
> Bugs: AMBARI-8353
> https://issues.apache.org/jira/browse/AMBARI-8353
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> Add stack_versions subresource to /hosts and /clusters 
> 
> 
> Diffs
> -
> 
>   
> ambari-server/src/main/java/org/apache/ambari/server/api/resources/ClusterResourceDefinition.java
>  ef907c0 
>   
> ambari-server/src/main/java/org/apache/ambari/server/api/resources/ComponentStackVersionResourceDefinition.java
>  PRE-CREATION 
>   
> ambari-server/src/main/java/org/apache/ambari/server/api/resources/HostResourceDefinition.java
>  14ed799 
>   
> ambari-server/src/main/java/org/apache/ambari/server/api/resources/ResourceInstanceFactoryImpl.java
>  9ad37ec 
>   
> ambari-server/src/main/java/org/apache/ambari/server/api/services/ClusterService.java
>  f75ae11 
>   
> ambari-server/src/main/java/org/apache/ambari/server/api/services/ClusterStackVersionService.java
>  PRE-CREATION 
>   
> ambari-server/src/main/java/org/apache/ambari/server/api/services/HostService.java
>  c51722c 
>   
> ambari-server/src/main/java/org/apache/ambari/server/api/services/HostStackVersionService.java
>  PRE-CREATION 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/ResourceProviderFactory.java
>  212f944 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractControllerResourceProvider.java
>  c198dd6 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java
>  PRE-CREATION 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/DefaultProviderModule.java
>  8f10143 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostStackVersionResourceProvider.java
>  PRE-CREATION 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/StackVersionResourceProvider.java
>  1442a0c 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/spi/Resource.java
>  dbac906 
>   
> ambari-server/src/main/java/org/apache/ambari/server/orm/dao/ClusterVersionDAO.java
>  e2a2e2d 
>   
> ambari-server/src/main/java/org/apache/ambari/server/orm/dao/HostVersionDAO.java
>  8d147a1 
>   
> ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ClusterVersionEntity.java
>  aaf8eed 
>   
> ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostVersionEntity.java
>  5b1b4f8 
>   
> ambari-server/src/main/java/org/apache/ambari/server/state/ClusterVersionState.java
>  72cd541 
>   
> ambari-server/src/main/java/org/apache/ambari/server/state/RepositoryVersionState.java
>  PRE-CREATION 
>   
> ambari-server/src/test/java/org/apache/ambari/server/api/resources/ClusterResourceDefinitionTest.java
>  7296e8d 
>   
> ambari-server/src/test/java/org/apache/ambari/server/api/resources/ComponentStackVersionResourceDefinitionTest.java
>  PRE-CREATION 
>   
> ambari-server/src/test/java/org/apache/ambari/server/api/resources/HostResourceDefinitionTest.java
>  PRE-CREATION 
>   
> ambari-server/src/test/java/org/apache/ambari/server/api/resources/RepositoryVersionResourceDefinitionTest.java
>  c0e625a 
>   
> ambari-server/src/test/java/org/apache/ambari/server/api/services/ClusterStackVersionServiceTest.java
>  PRE-CREATION 
>   
> ambari-server/src/test/java/org/apache/ambari/server/api/services/HostStackVersionServiceTest.java
>  PRE-CREATION 
>   
> ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RepositoryVersionResourceProviderTest.java
>  3cd54f5 
>   
> ambari-server/src/test/java/org/apache/ambari/server/orm/dao/ClusterVersionDAOTest.java
>  42bf009 
>   
> ambari-server/src/test/java/org/apache/ambari/server/orm/dao/HostVersionDAOTest.java
>  93f78b2 
> 
> Diff: https://reviews.apache.org/r/28124/diff/
> 
> 
> Testing
> ---
> 
> Total run:672
> Total errors:0
> Total failures:0
> OK
> 
> 
> Results :
> 
> Tests run: 2272, Failures: 0, Errors: 0, Skipped: 14
> 
> 
> Thanks,
> 
> Yurii Shylov
> 
>



[jira] [Updated] (AMBARI-8353) Repository Version Management - Create subresource for hosts and clusters

2014-11-20 Thread Yurii Shylov (JIRA)

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

Yurii Shylov updated AMBARI-8353:
-
Attachment: AMBARI-8353.patch

> Repository Version Management - Create subresource for hosts and clusters
> -
>
> Key: AMBARI-8353
> URL: https://issues.apache.org/jira/browse/AMBARI-8353
> Project: Ambari
>  Issue Type: Technical task
>  Components: ambari-server
>Affects Versions: 2.0.0
>Reporter: Yurii Shylov
>Assignee: Yurii Shylov
> Fix For: 2.0.0
>
> Attachments: AMBARI-8353.patch
>
>
> {code}
> GET /api/v1/clusters/c1/stack_versions
> {
>   "items": [
> "ClusterStackVersions": {
>   "id": 1,
>   "cluster_name": "c1"
> }
>   ]
> }
> {code}
> {code}
> GET /api/v1/hosts/host1/stack_versions
> {
>   "items": [
> "HostStackVersions": {
>   "id": 1,
>   "host_name": "host1"
> }
>   ]
> }
> {code}
> {code}
> GET /api/v1/clusters/c1/stack_versions/1
> {
>   "ClusterStackVersions": {
> "id": 1,
> "cluster_name": "c1",
> "stack": "HDP",
> "version": "2.2.0.1-885",
> "state": "INSTALLING"
> "installed_hosts": ["host1", "host2"],
> "current_hosts": ["host1"],
> "repositories": [
>   {
> "os": "redhat6",
> "baseurls": [
>   {
> "id": "HDP-2.2.0.1-885",
> "type": "HDP",
> "baseurl": "http://host1/hdp";
>   },
>   {
> "id": "HDP-UTILS-1.0.0.20",
> "type": "HDP-UTILS",
> "baseurl": "http://host1/hdp-utils";
>   }
> ]
>   }
> ]
>   }
> }
> {code}
> {code}
> GET /api/v1/hosts/host1/stack_versions/1
> {
>   "HostStackVersions": {
> "id": 1,
> "host_name": "host1",
> "stack": "HDP",
> "version": "2.2.0.1-885",
> "state": "INSTALLING"
> "repositories": [
>   {
> "os": "redhat6",
> "baseurls": [
>   {
> "id": "HDP-2.2.0.1-885",
> "type": "HDP",
> "baseurl": "http://host1/hdp";
>   },
>   {
> "id": "HDP-UTILS-1.0.0.20",
> "type": "HDP-UTILS",
> "baseurl": "http://host1/hdp-utils";
>   }
> ]
>   }
> ]
>   }
> }
> {code}



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


[jira] [Updated] (AMBARI-8353) Repository Version Management - Create subresource for hosts and clusters

2014-11-20 Thread Yurii Shylov (JIRA)

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

Yurii Shylov updated AMBARI-8353:
-
Attachment: (was: AMBARI-8353.patch)

> Repository Version Management - Create subresource for hosts and clusters
> -
>
> Key: AMBARI-8353
> URL: https://issues.apache.org/jira/browse/AMBARI-8353
> Project: Ambari
>  Issue Type: Technical task
>  Components: ambari-server
>Affects Versions: 2.0.0
>Reporter: Yurii Shylov
>Assignee: Yurii Shylov
> Fix For: 2.0.0
>
> Attachments: AMBARI-8353.patch
>
>
> {code}
> GET /api/v1/clusters/c1/stack_versions
> {
>   "items": [
> "ClusterStackVersions": {
>   "id": 1,
>   "cluster_name": "c1"
> }
>   ]
> }
> {code}
> {code}
> GET /api/v1/hosts/host1/stack_versions
> {
>   "items": [
> "HostStackVersions": {
>   "id": 1,
>   "host_name": "host1"
> }
>   ]
> }
> {code}
> {code}
> GET /api/v1/clusters/c1/stack_versions/1
> {
>   "ClusterStackVersions": {
> "id": 1,
> "cluster_name": "c1",
> "stack": "HDP",
> "version": "2.2.0.1-885",
> "state": "INSTALLING"
> "installed_hosts": ["host1", "host2"],
> "current_hosts": ["host1"],
> "repositories": [
>   {
> "os": "redhat6",
> "baseurls": [
>   {
> "id": "HDP-2.2.0.1-885",
> "type": "HDP",
> "baseurl": "http://host1/hdp";
>   },
>   {
> "id": "HDP-UTILS-1.0.0.20",
> "type": "HDP-UTILS",
> "baseurl": "http://host1/hdp-utils";
>   }
> ]
>   }
> ]
>   }
> }
> {code}
> {code}
> GET /api/v1/hosts/host1/stack_versions/1
> {
>   "HostStackVersions": {
> "id": 1,
> "host_name": "host1",
> "stack": "HDP",
> "version": "2.2.0.1-885",
> "state": "INSTALLING"
> "repositories": [
>   {
> "os": "redhat6",
> "baseurls": [
>   {
> "id": "HDP-2.2.0.1-885",
> "type": "HDP",
> "baseurl": "http://host1/hdp";
>   },
>   {
> "id": "HDP-UTILS-1.0.0.20",
> "type": "HDP-UTILS",
> "baseurl": "http://host1/hdp-utils";
>   }
> ]
>   }
> ]
>   }
> }
> {code}



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


[jira] [Commented] (AMBARI-8395) Alerts UI. AlertGroupsMapper doesn't delete not existing groups

2014-11-20 Thread Hudson (JIRA)

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

Hudson commented on AMBARI-8395:


SUCCESS: Integrated in Ambari-trunk-Commit #998 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/998/])
AMBARI-8395. Alerts UI. AlertGroupsMapper doesn't delete not existing groups 
(onechiporenko) (onechiporenko: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=d5d9a9dfb842c24f88f38e7c8a8469c741f9284e)
* ambari-web/app/mappers/alert_groups_mapper.js
* ambari-web/test/mappers/alert_groups_mapper_test.js
* ambari-web/app/views/main/alert_definitions_view.js


> Alerts UI. AlertGroupsMapper doesn't delete not existing groups
> ---
>
> Key: AMBARI-8395
> URL: https://issues.apache.org/jira/browse/AMBARI-8395
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Oleg Nechiporenko
>Assignee: Oleg Nechiporenko
> Fix For: 2.0.0
>
> Attachments: AMBARI-8395.patch
>
>
> Mapper should delete not existing groups.



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


[jira] [Commented] (AMBARI-8395) Alerts UI. AlertGroupsMapper doesn't delete not existing groups

2014-11-20 Thread Hudson (JIRA)

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

Hudson commented on AMBARI-8395:


SUCCESS: Integrated in Ambari-trunk-Commit-docker #286 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit-docker/286/])
AMBARI-8395. Alerts UI. AlertGroupsMapper doesn't delete not existing groups 
(onechiporenko) (onechiporenko: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=d5d9a9dfb842c24f88f38e7c8a8469c741f9284e)
* ambari-web/app/mappers/alert_groups_mapper.js
* ambari-web/test/mappers/alert_groups_mapper_test.js
* ambari-web/app/views/main/alert_definitions_view.js


> Alerts UI. AlertGroupsMapper doesn't delete not existing groups
> ---
>
> Key: AMBARI-8395
> URL: https://issues.apache.org/jira/browse/AMBARI-8395
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Oleg Nechiporenko
>Assignee: Oleg Nechiporenko
> Fix For: 2.0.0
>
> Attachments: AMBARI-8395.patch
>
>
> Mapper should delete not existing groups.



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


Re: Review Request 28277: Upgrade Execute: Create stages and tasks

2014-11-20 Thread Yurii Shylov

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/28277/#review62354
---

Ship it!


Ship It!

- Yurii Shylov


On Ноя. 20, 2014, 6:12 д.п., Nate Cole wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/28277/
> ---
> 
> (Updated Ноя. 20, 2014, 6:12 д.п.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Dmitro Lisnichenko, and Yurii 
> Shylov.
> 
> 
> Bugs: AMBARI-8392
> https://issues.apache.org/jira/browse/AMBARI-8392
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> From the creation of and upgrade and upgrade items, add the workflow to make 
> request/stages/tasks out of them (even if they're currently incomplete).
> 
> Stages are not completely finished, as this patch was getting too large to 
> include that work.  This addresses using a custom action for tasks (the 
> custom task itself is another effort).  Creating proper RESTART commands is 
> also another effort.
> 
> 
> Diffs
> -
> 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/ActionExecutionContext.java
>  ee64c0d 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariActionExecutionHelper.java
>  006ab9f 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/RequestStageContainer.java
>  512ea14 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java
>  4746155 
>   
> ambari-server/src/main/resources/custom_action_definitions/system_action_definitions.xml
>  fb362cc 
>   ambari-server/src/main/resources/custom_actions/scripts/ru_execute_tasks.py 
> PRE-CREATION 
>   
> ambari-server/src/test/java/org/apache/ambari/server/controller/internal/UpgradeResourceProviderTest.java
>  15db70e 
> 
> Diff: https://reviews.apache.org/r/28277/diff/
> 
> 
> Testing
> ---
> 
> [INFO] 
> 
> [INFO] BUILD SUCCESS
> [INFO] 
> 
> [INFO] Total time: 20:30.942s
> [INFO] Finished at: Thu Nov 20 01:05:35 EST 2014
> [INFO] Final Memory: 32M/611M
> [INFO] 
> 
> 
> 
> Thanks,
> 
> Nate Cole
> 
>



[jira] [Commented] (AMBARI-8353) Repository Version Management - Create subresource for hosts and clusters

2014-11-20 Thread Hudson (JIRA)

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

Hudson commented on AMBARI-8353:


SUCCESS: Integrated in Ambari-trunk-Commit #999 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/999/])
AMBARI-8353. Repository Version Management - Create subresource for hosts and 
clusters (Yurii Shylov via ncole) (ncole: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=2f00656c824390bbebb9a3441d3839c37427f3bc)
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostStackVersionResourceProvider.java
* 
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ClusterVersionEntity.java
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/spi/Resource.java
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractControllerResourceProvider.java
* 
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostVersionEntity.java
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/ResourceProviderFactory.java
* 
ambari-server/src/test/java/org/apache/ambari/server/api/resources/RepositoryVersionResourceDefinitionTest.java
* 
ambari-server/src/test/java/org/apache/ambari/server/api/services/HostStackVersionServiceTest.java
* 
ambari-server/src/test/java/org/apache/ambari/server/api/services/ClusterStackVersionServiceTest.java
* 
ambari-server/src/main/java/org/apache/ambari/server/api/services/ClusterStackVersionService.java
* 
ambari-server/src/main/java/org/apache/ambari/server/api/resources/ClusterResourceDefinition.java
* 
ambari-server/src/test/java/org/apache/ambari/server/orm/dao/HostVersionDAOTest.java
* 
ambari-server/src/main/java/org/apache/ambari/server/api/resources/ComponentStackVersionResourceDefinition.java
* 
ambari-server/src/main/java/org/apache/ambari/server/state/RepositoryVersionState.java
* 
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/ClusterVersionDAO.java
* 
ambari-server/src/main/java/org/apache/ambari/server/api/services/ClusterService.java
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/DefaultProviderModule.java
* 
ambari-server/src/main/java/org/apache/ambari/server/api/resources/HostResourceDefinition.java
* 
ambari-server/src/main/java/org/apache/ambari/server/api/services/HostStackVersionService.java
* 
ambari-server/src/test/java/org/apache/ambari/server/api/resources/HostResourceDefinitionTest.java
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/StackVersionResourceProvider.java
* 
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/HostVersionDAO.java
* 
ambari-server/src/test/java/org/apache/ambari/server/orm/dao/ClusterVersionDAOTest.java
* 
ambari-server/src/test/java/org/apache/ambari/server/api/resources/ClusterResourceDefinitionTest.java
* 
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RepositoryVersionResourceProviderTest.java
* 
ambari-server/src/main/java/org/apache/ambari/server/api/resources/ResourceInstanceFactoryImpl.java
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java
* 
ambari-server/src/main/java/org/apache/ambari/server/state/ClusterVersionState.java
* 
ambari-server/src/test/java/org/apache/ambari/server/api/resources/ComponentStackVersionResourceDefinitionTest.java
* 
ambari-server/src/main/java/org/apache/ambari/server/api/services/HostService.java


> Repository Version Management - Create subresource for hosts and clusters
> -
>
> Key: AMBARI-8353
> URL: https://issues.apache.org/jira/browse/AMBARI-8353
> Project: Ambari
>  Issue Type: Technical task
>  Components: ambari-server
>Affects Versions: 2.0.0
>Reporter: Yurii Shylov
>Assignee: Yurii Shylov
> Fix For: 2.0.0
>
> Attachments: AMBARI-8353.patch
>
>
> {code}
> GET /api/v1/clusters/c1/stack_versions
> {
>   "items": [
> "ClusterStackVersions": {
>   "id": 1,
>   "cluster_name": "c1"
> }
>   ]
> }
> {code}
> {code}
> GET /api/v1/hosts/host1/stack_versions
> {
>   "items": [
> "HostStackVersions": {
>   "id": 1,
>   "host_name": "host1"
> }
>   ]
> }
> {code}
> {code}
> GET /api/v1/clusters/c1/stack_versions/1
> {
>   "ClusterStackVersions": {
> "id": 1,
> "cluster_name": "c1",
> "stack": "HDP",
> "version": "2.2.0.1-885",
> "state": "INSTALLING"
> "installed_hosts": ["host1", "host2"],
> "current_hosts": ["host1"],
> "repositories": [
>   {
> "os": "redhat6",
> "baseurls": [
>   {
> "id": "HDP-2.2.0.1-885",
> "type": "HDP",
> "baseurl": "http://host1/hdp";
>  

[jira] [Created] (AMBARI-8397) Ambari View > Versions > View/Edit Version (w/ mock data)

2014-11-20 Thread Andrii Tkach (JIRA)
Andrii Tkach created AMBARI-8397:


 Summary: Ambari View > Versions > View/Edit Version (w/ mock data)
 Key: AMBARI-8397
 URL: https://issues.apache.org/jira/browse/AMBARI-8397
 Project: Ambari
  Issue Type: New Feature
  Components: ambari-web
Affects Versions: 2.0.0
Reporter: Andrii Tkach
Assignee: Andrii Tkach
 Fix For: 2.0.0


Implement the View/Edit Version page.
This is UI only without E2E integration.



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


[jira] [Updated] (AMBARI-8397) Ambari View > Versions > View/Edit Version (with mock data)

2014-11-20 Thread Andrii Tkach (JIRA)

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

Andrii Tkach updated AMBARI-8397:
-
Summary: Ambari View > Versions > View/Edit Version (with mock data)  (was: 
Ambari View > Versions > View/Edit Version (w/ mock data))

> Ambari View > Versions > View/Edit Version (with mock data)
> ---
>
> Key: AMBARI-8397
> URL: https://issues.apache.org/jira/browse/AMBARI-8397
> Project: Ambari
>  Issue Type: New Feature
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Andrii Tkach
>Assignee: Andrii Tkach
> Fix For: 2.0.0
>
>
> Implement the View/Edit Version page.
> This is UI only without E2E integration.



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


[jira] [Updated] (AMBARI-8397) Ambari View > Versions > View/Edit Version (with mock data)

2014-11-20 Thread Andrii Tkach (JIRA)

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

Andrii Tkach updated AMBARI-8397:
-
Attachment: AMBARI-8397.patch

> Ambari View > Versions > View/Edit Version (with mock data)
> ---
>
> Key: AMBARI-8397
> URL: https://issues.apache.org/jira/browse/AMBARI-8397
> Project: Ambari
>  Issue Type: New Feature
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Andrii Tkach
>Assignee: Andrii Tkach
> Fix For: 2.0.0
>
> Attachments: AMBARI-8397.patch
>
>
> Implement the View/Edit Version page.
> This is UI only without E2E integration.



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


Review Request 28284: Ambari View > Versions > View/Edit Version (with mock data)

2014-11-20 Thread Andrii Tkach

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/28284/
---

Review request for Ambari and Aleksandr Kovalenko.


Bugs: AMBARI-8397
https://issues.apache.org/jira/browse/AMBARI-8397


Repository: ambari


Description
---

Implement the View/Edit Version page.
This is UI only without E2E integration.


Diffs
-

  ambari-admin/src/main/resources/ui/admin-web/app/index.html 7623eb8 
  
ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/stackVersions/StackVersionsEditCtrl.js
 PRE-CREATION 
  
ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/users/UsersShowCtrl.js
 5fb2fc2 
  ambari-admin/src/main/resources/ui/admin-web/app/scripts/routes.js 79ac62e 
  
ambari-admin/src/main/resources/ui/admin-web/app/scripts/services/StackVersions.js
 ba05f4e 
  ambari-admin/src/main/resources/ui/admin-web/app/styles/main.css 5473169 
  
ambari-admin/src/main/resources/ui/admin-web/app/views/stackVersions/create.html
 b13ebdd 
  
ambari-admin/src/main/resources/ui/admin-web/app/views/stackVersions/edit.html 
PRE-CREATION 
  
ambari-admin/src/main/resources/ui/admin-web/app/views/stackVersions/list.html 
f75695f 

Diff: https://reviews.apache.org/r/28284/diff/


Testing
---

Tested manually


Thanks,

Andrii Tkach



[jira] [Commented] (AMBARI-8353) Repository Version Management - Create subresource for hosts and clusters

2014-11-20 Thread Hudson (JIRA)

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

Hudson commented on AMBARI-8353:


SUCCESS: Integrated in Ambari-trunk-Commit-docker #287 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit-docker/287/])
AMBARI-8353. Repository Version Management - Create subresource for hosts and 
clusters (Yurii Shylov via ncole) (ncole: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=2f00656c824390bbebb9a3441d3839c37427f3bc)
* 
ambari-server/src/test/java/org/apache/ambari/server/orm/dao/ClusterVersionDAOTest.java
* 
ambari-server/src/test/java/org/apache/ambari/server/api/resources/RepositoryVersionResourceDefinitionTest.java
* 
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ClusterVersionEntity.java
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostStackVersionResourceProvider.java
* 
ambari-server/src/main/java/org/apache/ambari/server/api/resources/ComponentStackVersionResourceDefinition.java
* 
ambari-server/src/test/java/org/apache/ambari/server/api/resources/ClusterResourceDefinitionTest.java
* 
ambari-server/src/main/java/org/apache/ambari/server/api/resources/ResourceInstanceFactoryImpl.java
* 
ambari-server/src/main/java/org/apache/ambari/server/state/RepositoryVersionState.java
* 
ambari-server/src/test/java/org/apache/ambari/server/api/services/ClusterStackVersionServiceTest.java
* 
ambari-server/src/main/java/org/apache/ambari/server/api/services/ClusterService.java
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/StackVersionResourceProvider.java
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/ResourceProviderFactory.java
* 
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostVersionEntity.java
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/DefaultProviderModule.java
* 
ambari-server/src/main/java/org/apache/ambari/server/api/services/HostStackVersionService.java
* 
ambari-server/src/main/java/org/apache/ambari/server/api/resources/ClusterResourceDefinition.java
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractControllerResourceProvider.java
* 
ambari-server/src/test/java/org/apache/ambari/server/api/services/HostStackVersionServiceTest.java
* 
ambari-server/src/main/java/org/apache/ambari/server/api/services/HostService.java
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/spi/Resource.java
* 
ambari-server/src/main/java/org/apache/ambari/server/state/ClusterVersionState.java
* 
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/ClusterVersionDAO.java
* 
ambari-server/src/test/java/org/apache/ambari/server/api/resources/HostResourceDefinitionTest.java
* 
ambari-server/src/main/java/org/apache/ambari/server/api/services/ClusterStackVersionService.java
* 
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RepositoryVersionResourceProviderTest.java
* 
ambari-server/src/test/java/org/apache/ambari/server/orm/dao/HostVersionDAOTest.java
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java
* 
ambari-server/src/main/java/org/apache/ambari/server/api/resources/HostResourceDefinition.java
* 
ambari-server/src/test/java/org/apache/ambari/server/api/resources/ComponentStackVersionResourceDefinitionTest.java
* 
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/HostVersionDAO.java


> Repository Version Management - Create subresource for hosts and clusters
> -
>
> Key: AMBARI-8353
> URL: https://issues.apache.org/jira/browse/AMBARI-8353
> Project: Ambari
>  Issue Type: Technical task
>  Components: ambari-server
>Affects Versions: 2.0.0
>Reporter: Yurii Shylov
>Assignee: Yurii Shylov
> Fix For: 2.0.0
>
> Attachments: AMBARI-8353.patch
>
>
> {code}
> GET /api/v1/clusters/c1/stack_versions
> {
>   "items": [
> "ClusterStackVersions": {
>   "id": 1,
>   "cluster_name": "c1"
> }
>   ]
> }
> {code}
> {code}
> GET /api/v1/hosts/host1/stack_versions
> {
>   "items": [
> "HostStackVersions": {
>   "id": 1,
>   "host_name": "host1"
> }
>   ]
> }
> {code}
> {code}
> GET /api/v1/clusters/c1/stack_versions/1
> {
>   "ClusterStackVersions": {
> "id": 1,
> "cluster_name": "c1",
> "stack": "HDP",
> "version": "2.2.0.1-885",
> "state": "INSTALLING"
> "installed_hosts": ["host1", "host2"],
> "current_hosts": ["host1"],
> "repositories": [
>   {
> "os": "redhat6",
> "baseurls": [
>   {
> "id": "HDP-2.2.0.1-885",
> "type": "HDP",
> "baseurl": "http://host1/hdp

Re: Review Request 28284: Ambari View > Versions > View/Edit Version (with mock data)

2014-11-20 Thread Aleksandr Kovalenko

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/28284/#review62357
---

Ship it!


Ship It!

- Aleksandr Kovalenko


On Лис. 20, 2014, 3:24 після полудня, Andrii Tkach wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/28284/
> ---
> 
> (Updated Лис. 20, 2014, 3:24 після полудня)
> 
> 
> Review request for Ambari and Aleksandr Kovalenko.
> 
> 
> Bugs: AMBARI-8397
> https://issues.apache.org/jira/browse/AMBARI-8397
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> Implement the View/Edit Version page.
> This is UI only without E2E integration.
> 
> 
> Diffs
> -
> 
>   ambari-admin/src/main/resources/ui/admin-web/app/index.html 7623eb8 
>   
> ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/stackVersions/StackVersionsEditCtrl.js
>  PRE-CREATION 
>   
> ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/users/UsersShowCtrl.js
>  5fb2fc2 
>   ambari-admin/src/main/resources/ui/admin-web/app/scripts/routes.js 79ac62e 
>   
> ambari-admin/src/main/resources/ui/admin-web/app/scripts/services/StackVersions.js
>  ba05f4e 
>   ambari-admin/src/main/resources/ui/admin-web/app/styles/main.css 5473169 
>   
> ambari-admin/src/main/resources/ui/admin-web/app/views/stackVersions/create.html
>  b13ebdd 
>   
> ambari-admin/src/main/resources/ui/admin-web/app/views/stackVersions/edit.html
>  PRE-CREATION 
>   
> ambari-admin/src/main/resources/ui/admin-web/app/views/stackVersions/list.html
>  f75695f 
> 
> Diff: https://reviews.apache.org/r/28284/diff/
> 
> 
> Testing
> ---
> 
> Tested manually
> 
> 
> Thanks,
> 
> Andrii Tkach
> 
>



[jira] [Commented] (AMBARI-8397) Ambari View > Versions > View/Edit Version (with mock data)

2014-11-20 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on AMBARI-8397:
---

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12682666/AMBARI-8397.patch
  against trunk revision .

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:red}-1 tests included{color}.  The patch doesn't appear to include 
any new or modified tests.
Please justify why no new tests are needed for this 
patch.
Also please list what manual steps were performed to 
verify this patch.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in 
ambari-admin.

Test results: 
https://builds.apache.org/job/Ambari-trunk-test-patch/705//testReport/
Console output: 
https://builds.apache.org/job/Ambari-trunk-test-patch/705//console

This message is automatically generated.

> Ambari View > Versions > View/Edit Version (with mock data)
> ---
>
> Key: AMBARI-8397
> URL: https://issues.apache.org/jira/browse/AMBARI-8397
> Project: Ambari
>  Issue Type: New Feature
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Andrii Tkach
>Assignee: Andrii Tkach
> Fix For: 2.0.0
>
> Attachments: AMBARI-8397.patch
>
>
> Implement the View/Edit Version page.
> This is UI only without E2E integration.



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


[jira] [Commented] (AMBARI-8397) Ambari View > Versions > View/Edit Version (with mock data)

2014-11-20 Thread Andrii Tkach (JIRA)

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

Andrii Tkach commented on AMBARI-8397:
--

committed to trunk.

> Ambari View > Versions > View/Edit Version (with mock data)
> ---
>
> Key: AMBARI-8397
> URL: https://issues.apache.org/jira/browse/AMBARI-8397
> Project: Ambari
>  Issue Type: New Feature
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Andrii Tkach
>Assignee: Andrii Tkach
> Fix For: 2.0.0
>
> Attachments: AMBARI-8397.patch
>
>
> Implement the View/Edit Version page.
> This is UI only without E2E integration.



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


[jira] [Commented] (AMBARI-8397) Ambari View > Versions > View/Edit Version (with mock data)

2014-11-20 Thread Hudson (JIRA)

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

Hudson commented on AMBARI-8397:


SUCCESS: Integrated in Ambari-trunk-Commit #1000 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/1000/])
AMBARI-8397 Ambari View > Versions > View/Edit Version (with mock data). 
(atkach) (atkach: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=6f2875cee6e7098bac0d317e560d23c1f3d8be8a)
* ambari-admin/src/main/resources/ui/admin-web/app/scripts/routes.js
* ambari-admin/src/main/resources/ui/admin-web/app/views/stackVersions/list.html
* 
ambari-admin/src/main/resources/ui/admin-web/app/scripts/services/StackVersions.js
* 
ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/stackVersions/StackVersionsEditCtrl.js
* 
ambari-admin/src/main/resources/ui/admin-web/app/views/stackVersions/create.html
* ambari-admin/src/main/resources/ui/admin-web/app/index.html
* ambari-admin/src/main/resources/ui/admin-web/app/styles/main.css
* 
ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/users/UsersShowCtrl.js
* ambari-admin/src/main/resources/ui/admin-web/app/views/stackVersions/edit.html


> Ambari View > Versions > View/Edit Version (with mock data)
> ---
>
> Key: AMBARI-8397
> URL: https://issues.apache.org/jira/browse/AMBARI-8397
> Project: Ambari
>  Issue Type: New Feature
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Andrii Tkach
>Assignee: Andrii Tkach
> Fix For: 2.0.0
>
> Attachments: AMBARI-8397.patch
>
>
> Implement the View/Edit Version page.
> This is UI only without E2E integration.



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


[jira] [Commented] (AMBARI-8397) Ambari View > Versions > View/Edit Version (with mock data)

2014-11-20 Thread Hudson (JIRA)

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

Hudson commented on AMBARI-8397:


SUCCESS: Integrated in Ambari-trunk-Commit-docker #288 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit-docker/288/])
AMBARI-8397 Ambari View > Versions > View/Edit Version (with mock data). 
(atkach) (atkach: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=6f2875cee6e7098bac0d317e560d23c1f3d8be8a)
* ambari-admin/src/main/resources/ui/admin-web/app/styles/main.css
* ambari-admin/src/main/resources/ui/admin-web/app/views/stackVersions/list.html
* 
ambari-admin/src/main/resources/ui/admin-web/app/views/stackVersions/create.html
* 
ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/users/UsersShowCtrl.js
* ambari-admin/src/main/resources/ui/admin-web/app/views/stackVersions/edit.html
* ambari-admin/src/main/resources/ui/admin-web/app/scripts/routes.js
* 
ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/stackVersions/StackVersionsEditCtrl.js
* ambari-admin/src/main/resources/ui/admin-web/app/index.html
* 
ambari-admin/src/main/resources/ui/admin-web/app/scripts/services/StackVersions.js


> Ambari View > Versions > View/Edit Version (with mock data)
> ---
>
> Key: AMBARI-8397
> URL: https://issues.apache.org/jira/browse/AMBARI-8397
> Project: Ambari
>  Issue Type: New Feature
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Andrii Tkach
>Assignee: Andrii Tkach
> Fix For: 2.0.0
>
> Attachments: AMBARI-8397.patch
>
>
> Implement the View/Edit Version page.
> This is UI only without E2E integration.



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


[jira] [Created] (AMBARI-8398) Alerts UI: Details page thresholds API integration

2014-11-20 Thread Aleksandr Kovalenko (JIRA)
Aleksandr Kovalenko created AMBARI-8398:
---

 Summary: Alerts UI: Details page thresholds API integration
 Key: AMBARI-8398
 URL: https://issues.apache.org/jira/browse/AMBARI-8398
 Project: Ambari
  Issue Type: Bug
  Components: ambari-web
Affects Versions: 2.0.0
Reporter: Aleksandr Kovalenko
Assignee: Aleksandr Kovalenko
 Fix For: 2.0.0


Data for Alert Definitions thresholds should be loaded from server and be saved 
to server via API.



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


[jira] [Updated] (AMBARI-8398) Alerts UI: Details page thresholds API integration

2014-11-20 Thread Aleksandr Kovalenko (JIRA)

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

Aleksandr Kovalenko updated AMBARI-8398:

Attachment: AMBARI-8398.patch

> Alerts UI: Details page thresholds API integration
> --
>
> Key: AMBARI-8398
> URL: https://issues.apache.org/jira/browse/AMBARI-8398
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Aleksandr Kovalenko
>Assignee: Aleksandr Kovalenko
> Fix For: 2.0.0
>
> Attachments: AMBARI-8398.patch
>
>
> Data for Alert Definitions thresholds should be loaded from server and be 
> saved to server via API.



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


[jira] [Commented] (AMBARI-8398) Alerts UI: Details page thresholds API integration

2014-11-20 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on AMBARI-8398:
---

{color:green}+1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12682683/AMBARI-8398.patch
  against trunk revision .

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 2 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: 
https://builds.apache.org/job/Ambari-trunk-test-patch/706//testReport/
Console output: 
https://builds.apache.org/job/Ambari-trunk-test-patch/706//console

This message is automatically generated.

> Alerts UI: Details page thresholds API integration
> --
>
> Key: AMBARI-8398
> URL: https://issues.apache.org/jira/browse/AMBARI-8398
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Aleksandr Kovalenko
>Assignee: Aleksandr Kovalenko
> Fix For: 2.0.0
>
> Attachments: AMBARI-8398.patch
>
>
> Data for Alert Definitions thresholds should be loaded from server and be 
> saved to server via API.



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


[jira] [Commented] (AMBARI-8398) Alerts UI: Details page thresholds API integration

2014-11-20 Thread Aleksandr Kovalenko (JIRA)

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

Aleksandr Kovalenko commented on AMBARI-8398:
-

committed to trunk

> Alerts UI: Details page thresholds API integration
> --
>
> Key: AMBARI-8398
> URL: https://issues.apache.org/jira/browse/AMBARI-8398
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Aleksandr Kovalenko
>Assignee: Aleksandr Kovalenko
> Fix For: 2.0.0
>
> Attachments: AMBARI-8398.patch
>
>
> Data for Alert Definitions thresholds should be loaded from server and be 
> saved to server via API.



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


[jira] [Commented] (AMBARI-8398) Alerts UI: Details page thresholds API integration

2014-11-20 Thread Oleg Nechiporenko (JIRA)

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

Oleg Nechiporenko commented on AMBARI-8398:
---

+1 for patch.

> Alerts UI: Details page thresholds API integration
> --
>
> Key: AMBARI-8398
> URL: https://issues.apache.org/jira/browse/AMBARI-8398
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Aleksandr Kovalenko
>Assignee: Aleksandr Kovalenko
> Fix For: 2.0.0
>
> Attachments: AMBARI-8398.patch
>
>
> Data for Alert Definitions thresholds should be loaded from server and be 
> saved to server via API.



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


[jira] [Created] (AMBARI-8399) Alerts UI: Alerts Instances keep storing in DS.Store even after user navigate away

2014-11-20 Thread Oleg Nechiporenko (JIRA)
Oleg Nechiporenko created AMBARI-8399:
-

 Summary: Alerts UI: Alerts Instances keep storing in DS.Store even 
after user navigate away
 Key: AMBARI-8399
 URL: https://issues.apache.org/jira/browse/AMBARI-8399
 Project: Ambari
  Issue Type: Bug
  Components: ambari-web
Affects Versions: 2.0.0
Reporter: Oleg Nechiporenko
Assignee: Oleg Nechiporenko
 Fix For: 2.0.0


There may be huge number of the alert instances. 
In big cluster this may cause performance issues.
Example: 
cluster with 200 nodes.
every node has 10-20 alert instances.

user navigates to {{host1/alerts}}. 20 alerts are saved to DS.Store. 20 overall
user navigates to {{host2/alerts}}. 15 alerts are saved to DS.Store. 35 overall
.
In some moment may be situation when 2000-4000 alerts will be stored on the UI.

*Expected behavior:*
cleanup alert instances models when new list of models is loaded.



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


[jira] [Commented] (AMBARI-8399) Alerts UI: Alerts Instances keep storing in DS.Store even after user navigate away

2014-11-20 Thread Oleg Nechiporenko (JIRA)

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

Oleg Nechiporenko commented on AMBARI-8399:
---

4883 tests complete (7 seconds)
   60 tests pending

> Alerts UI: Alerts Instances keep storing in DS.Store even after user navigate 
> away
> --
>
> Key: AMBARI-8399
> URL: https://issues.apache.org/jira/browse/AMBARI-8399
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Oleg Nechiporenko
>Assignee: Oleg Nechiporenko
> Fix For: 2.0.0
>
> Attachments: AMBARI-8399.patch
>
>
> There may be huge number of the alert instances. 
> In big cluster this may cause performance issues.
> Example: 
> cluster with 200 nodes.
> every node has 10-20 alert instances.
> user navigates to {{host1/alerts}}. 20 alerts are saved to DS.Store. 20 
> overall
> user navigates to {{host2/alerts}}. 15 alerts are saved to DS.Store. 35 
> overall
> .
> In some moment may be situation when 2000-4000 alerts will be stored on the 
> UI.
> *Expected behavior:*
> cleanup alert instances models when new list of models is loaded.



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


[jira] [Commented] (AMBARI-8399) Alerts UI: Alerts Instances keep storing in DS.Store even after user navigate away

2014-11-20 Thread Aleksandr Kovalenko (JIRA)

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

Aleksandr Kovalenko commented on AMBARI-8399:
-

+1 for the patch

> Alerts UI: Alerts Instances keep storing in DS.Store even after user navigate 
> away
> --
>
> Key: AMBARI-8399
> URL: https://issues.apache.org/jira/browse/AMBARI-8399
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Oleg Nechiporenko
>Assignee: Oleg Nechiporenko
> Fix For: 2.0.0
>
> Attachments: AMBARI-8399.patch
>
>
> There may be huge number of the alert instances. 
> In big cluster this may cause performance issues.
> Example: 
> cluster with 200 nodes.
> every node has 10-20 alert instances.
> user navigates to {{host1/alerts}}. 20 alerts are saved to DS.Store. 20 
> overall
> user navigates to {{host2/alerts}}. 15 alerts are saved to DS.Store. 35 
> overall
> .
> In some moment may be situation when 2000-4000 alerts will be stored on the 
> UI.
> *Expected behavior:*
> cleanup alert instances models when new list of models is loaded.



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


[jira] [Updated] (AMBARI-8399) Alerts UI: Alerts Instances keep storing in DS.Store even after user navigate away

2014-11-20 Thread Oleg Nechiporenko (JIRA)

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

Oleg Nechiporenko updated AMBARI-8399:
--
Attachment: AMBARI-8399.patch

> Alerts UI: Alerts Instances keep storing in DS.Store even after user navigate 
> away
> --
>
> Key: AMBARI-8399
> URL: https://issues.apache.org/jira/browse/AMBARI-8399
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Oleg Nechiporenko
>Assignee: Oleg Nechiporenko
> Fix For: 2.0.0
>
> Attachments: AMBARI-8399.patch
>
>
> There may be huge number of the alert instances. 
> In big cluster this may cause performance issues.
> Example: 
> cluster with 200 nodes.
> every node has 10-20 alert instances.
> user navigates to {{host1/alerts}}. 20 alerts are saved to DS.Store. 20 
> overall
> user navigates to {{host2/alerts}}. 15 alerts are saved to DS.Store. 35 
> overall
> .
> In some moment may be situation when 2000-4000 alerts will be stored on the 
> UI.
> *Expected behavior:*
> cleanup alert instances models when new list of models is loaded.



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


[jira] [Assigned] (AMBARI-8400) Alerts: Template Engine for Dispatching

2014-11-20 Thread Jonathan Hurley (JIRA)

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

Jonathan Hurley reassigned AMBARI-8400:
---

Assignee: Jonathan Hurley

> Alerts: Template Engine for Dispatching
> ---
>
> Key: AMBARI-8400
> URL: https://issues.apache.org/jira/browse/AMBARI-8400
> Project: Ambari
>  Issue Type: Bug
>Reporter: Jonathan Hurley
>Assignee: Jonathan Hurley
>
> Ambari's various dispatchers (such as Email and SNMP) can benefit from having 
> a mechanism where a template can be defined for the construction of 
> notification data. This decouples the content that Ambari is sending from the 
> logic to compute the aggregate alerts.
> Apache Velocity is a good choice for this requirement as it includes a 
> maturing template language, VTL. 
> A single XML file that ships with Ambari will contain the default templates 
> for known alert target types. There will be an option to override the use of 
> this file with a user-specified location via ambari.properties. In the event 
> that a user-specific XML file cannot be parsed, appropriate exceptions will 
> be thrown, but the {{AlertNoticeDispatchService}} will attempt to gracefully 
> fallback on other content rendering options (such as the internal XML file).
> The following data should be exposed to VTL:
> - a list of all alert changes
> -- alert name, state, date, label
> -- a list for each state change
> -- lists for all alerts, broke down by service and state 
> - a list of all services with an alert
> - a list of all hosts with an alert
> - total counts of changes separated
> -- one count for each alert state



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


[jira] [Updated] (AMBARI-8400) Alerts: Template Engine for Dispatching

2014-11-20 Thread Jonathan Hurley (JIRA)

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

Jonathan Hurley updated AMBARI-8400:

  Component/s: ambari-server
   alerts
Affects Version/s: 2.0.0
Fix Version/s: 2.0.0
   Issue Type: Task  (was: Bug)

> Alerts: Template Engine for Dispatching
> ---
>
> Key: AMBARI-8400
> URL: https://issues.apache.org/jira/browse/AMBARI-8400
> Project: Ambari
>  Issue Type: Task
>  Components: alerts, ambari-server
>Affects Versions: 2.0.0
>Reporter: Jonathan Hurley
>Assignee: Jonathan Hurley
> Fix For: 2.0.0
>
>
> Ambari's various dispatchers (such as Email and SNMP) can benefit from having 
> a mechanism where a template can be defined for the construction of 
> notification data. This decouples the content that Ambari is sending from the 
> logic to compute the aggregate alerts.
> Apache Velocity is a good choice for this requirement as it includes a 
> maturing template language, VTL. 
> A single XML file that ships with Ambari will contain the default templates 
> for known alert target types. There will be an option to override the use of 
> this file with a user-specified location via ambari.properties. In the event 
> that a user-specific XML file cannot be parsed, appropriate exceptions will 
> be thrown, but the {{AlertNoticeDispatchService}} will attempt to gracefully 
> fallback on other content rendering options (such as the internal XML file).
> The following data should be exposed to VTL:
> - a list of all alert changes
> -- alert name, state, date, label
> -- a list for each state change
> -- lists for all alerts, broke down by service and state 
> - a list of all services with an alert
> - a list of all hosts with an alert
> - total counts of changes separated
> -- one count for each alert state



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


[jira] [Created] (AMBARI-8400) Alerts: Template Engine for Dispatching

2014-11-20 Thread Jonathan Hurley (JIRA)
Jonathan Hurley created AMBARI-8400:
---

 Summary: Alerts: Template Engine for Dispatching
 Key: AMBARI-8400
 URL: https://issues.apache.org/jira/browse/AMBARI-8400
 Project: Ambari
  Issue Type: Bug
Reporter: Jonathan Hurley


Ambari's various dispatchers (such as Email and SNMP) can benefit from having a 
mechanism where a template can be defined for the construction of notification 
data. This decouples the content that Ambari is sending from the logic to 
compute the aggregate alerts.

Apache Velocity is a good choice for this requirement as it includes a maturing 
template language, VTL. 

A single XML file that ships with Ambari will contain the default templates for 
known alert target types. There will be an option to override the use of this 
file with a user-specified location via ambari.properties. In the event that a 
user-specific XML file cannot be parsed, appropriate exceptions will be thrown, 
but the {{AlertNoticeDispatchService}} will attempt to gracefully fallback on 
other content rendering options (such as the internal XML file).

The following data should be exposed to VTL:

- a list of all alert changes
-- alert name, state, date, label
-- a list for each state change
-- lists for all alerts, broke down by service and state 

- a list of all services with an alert
- a list of all hosts with an alert

- total counts of changes separated
-- one count for each alert state



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


[jira] [Commented] (AMBARI-8399) Alerts UI: Alerts Instances keep storing in DS.Store even after user navigate away

2014-11-20 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on AMBARI-8399:
---

{color:green}+1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12682694/AMBARI-8399.patch
  against trunk revision .

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 3 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: 
https://builds.apache.org/job/Ambari-trunk-test-patch/707//testReport/
Console output: 
https://builds.apache.org/job/Ambari-trunk-test-patch/707//console

This message is automatically generated.

> Alerts UI: Alerts Instances keep storing in DS.Store even after user navigate 
> away
> --
>
> Key: AMBARI-8399
> URL: https://issues.apache.org/jira/browse/AMBARI-8399
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Oleg Nechiporenko
>Assignee: Oleg Nechiporenko
> Fix For: 2.0.0
>
> Attachments: AMBARI-8399.patch
>
>
> There may be huge number of the alert instances. 
> In big cluster this may cause performance issues.
> Example: 
> cluster with 200 nodes.
> every node has 10-20 alert instances.
> user navigates to {{host1/alerts}}. 20 alerts are saved to DS.Store. 20 
> overall
> user navigates to {{host2/alerts}}. 15 alerts are saved to DS.Store. 35 
> overall
> .
> In some moment may be situation when 2000-4000 alerts will be stored on the 
> UI.
> *Expected behavior:*
> cleanup alert instances models when new list of models is loaded.



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


[jira] [Commented] (AMBARI-8398) Alerts UI: Details page thresholds API integration

2014-11-20 Thread Hudson (JIRA)

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

Hudson commented on AMBARI-8398:


SUCCESS: Integrated in Ambari-trunk-Commit #1001 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/1001/])
AMBARI-8398. Alerts UI: Details page thresholds API integration. (akovalenko) 
(akovalenko: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=f543cc6c08909b3ed157fda4ba23827a745a7881)
* ambari-web/app/controllers/main/alerts/definition_configs_controller.js
* ambari-web/app/templates/main/alerts/definition_details.hbs
* ambari-web/app/models/alert_definition.js
* ambari-web/test/mappers/alert_definitions_mapper_test.js
* ambari-web/app/models/alert_config.js
* ambari-web/app/controllers/main/alert_definitions_controller.js
* ambari-web/app/mappers/alert_definitions_mapper.js
* ambari-web/test/controllers/main/alerts/definitions_configs_controller_test.js
* ambari-web/app/mappers/alert_definition_summary_mapper.js


> Alerts UI: Details page thresholds API integration
> --
>
> Key: AMBARI-8398
> URL: https://issues.apache.org/jira/browse/AMBARI-8398
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Aleksandr Kovalenko
>Assignee: Aleksandr Kovalenko
> Fix For: 2.0.0
>
> Attachments: AMBARI-8398.patch
>
>
> Data for Alert Definitions thresholds should be loaded from server and be 
> saved to server via API.



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


[jira] [Commented] (AMBARI-8398) Alerts UI: Details page thresholds API integration

2014-11-20 Thread Hudson (JIRA)

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

Hudson commented on AMBARI-8398:


SUCCESS: Integrated in Ambari-trunk-Commit-docker #289 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit-docker/289/])
AMBARI-8398. Alerts UI: Details page thresholds API integration. (akovalenko) 
(akovalenko: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=f543cc6c08909b3ed157fda4ba23827a745a7881)
* ambari-web/test/mappers/alert_definitions_mapper_test.js
* ambari-web/test/controllers/main/alerts/definitions_configs_controller_test.js
* ambari-web/app/mappers/alert_definition_summary_mapper.js
* ambari-web/app/controllers/main/alerts/definition_configs_controller.js
* ambari-web/app/controllers/main/alert_definitions_controller.js
* ambari-web/app/models/alert_definition.js
* ambari-web/app/models/alert_config.js
* ambari-web/app/mappers/alert_definitions_mapper.js
* ambari-web/app/templates/main/alerts/definition_details.hbs


> Alerts UI: Details page thresholds API integration
> --
>
> Key: AMBARI-8398
> URL: https://issues.apache.org/jira/browse/AMBARI-8398
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Aleksandr Kovalenko
>Assignee: Aleksandr Kovalenko
> Fix For: 2.0.0
>
> Attachments: AMBARI-8398.patch
>
>
> Data for Alert Definitions thresholds should be loaded from server and be 
> saved to server via API.



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


Re: Review Request 28277: Upgrade Execute: Create stages and tasks

2014-11-20 Thread Alejandro Fernandez

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/28277/#review62383
---



ambari-server/src/main/resources/custom_actions/scripts/ru_execute_tasks.py


My preference is to use named imports since it makes it easier to find 
where objects are coming from.


- Alejandro Fernandez


On Nov. 20, 2014, 6:12 a.m., Nate Cole wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/28277/
> ---
> 
> (Updated Nov. 20, 2014, 6:12 a.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Dmitro Lisnichenko, and Yurii 
> Shylov.
> 
> 
> Bugs: AMBARI-8392
> https://issues.apache.org/jira/browse/AMBARI-8392
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> From the creation of and upgrade and upgrade items, add the workflow to make 
> request/stages/tasks out of them (even if they're currently incomplete).
> 
> Stages are not completely finished, as this patch was getting too large to 
> include that work.  This addresses using a custom action for tasks (the 
> custom task itself is another effort).  Creating proper RESTART commands is 
> also another effort.
> 
> 
> Diffs
> -
> 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/ActionExecutionContext.java
>  ee64c0d 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariActionExecutionHelper.java
>  006ab9f 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/RequestStageContainer.java
>  512ea14 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java
>  4746155 
>   
> ambari-server/src/main/resources/custom_action_definitions/system_action_definitions.xml
>  fb362cc 
>   ambari-server/src/main/resources/custom_actions/scripts/ru_execute_tasks.py 
> PRE-CREATION 
>   
> ambari-server/src/test/java/org/apache/ambari/server/controller/internal/UpgradeResourceProviderTest.java
>  15db70e 
> 
> Diff: https://reviews.apache.org/r/28277/diff/
> 
> 
> Testing
> ---
> 
> [INFO] 
> 
> [INFO] BUILD SUCCESS
> [INFO] 
> 
> [INFO] Total time: 20:30.942s
> [INFO] Finished at: Thu Nov 20 01:05:35 EST 2014
> [INFO] Final Memory: 32M/611M
> [INFO] 
> 
> 
> 
> Thanks,
> 
> Nate Cole
> 
>



Review Request 28291: Alerts: Template Engine for Dispatching

2014-11-20 Thread Jonathan Hurley

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/28291/
---

Review request for Ambari, Nate Cole, Srimanth Gunturi, and Tom Beerbower.


Bugs: AMBARI-8400
https://issues.apache.org/jira/browse/AMBARI-8400


Repository: ambari


Description
---

Ambari's various dispatchers (such as Email and SNMP) can benefit from having a 
mechanism where a template can be defined for the construction of notification 
data. This decouples the content that Ambari is sending from the logic to 
compute the aggregate alerts.

Apache Velocity is a good choice for this requirement as it includes a maturing 
template language, VTL. 

A single XML file that ships with Ambari will contain the default templates for 
known alert target types. There will be an option to override the use of this 
file with a user-specified location via ambari.properties. In the event that a 
user-specific XML file cannot be parsed, appropriate exceptions will be thrown, 
but the {{AlertNoticeDispatchService}} will attempt to gracefully fallback on 
other content rendering options (such as the internal XML file).

The following data should be exposed to VTL:

- a list of all alert changes
-- alert name, state, date, label
-- a list for each state change
-- lists for all alerts, broke down by service and state 

- a list of all services with an alert
- a list of all hosts with an alert

- total counts of changes separated
-- one count for each alert state


Diffs
-

  ambari-server/src/main/java/org/apache/ambari/server/AmbariService.java 
PRE-CREATION 
  
ambari-server/src/main/java/org/apache/ambari/server/api/query/render/AlertSummaryGroupedRenderer.java
 0dbeb5c 
  
ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java
 0a96193 
  
ambari-server/src/main/java/org/apache/ambari/server/controller/ControllerModule.java
 2d91462 
  
ambari-server/src/main/java/org/apache/ambari/server/notifications/DispatchFactory.java
 13f2da2 
  
ambari-server/src/main/java/org/apache/ambari/server/notifications/dispatchers/EmailDispatcher.java
 a5dad84 
  
ambari-server/src/main/java/org/apache/ambari/server/state/services/AlertNoticeDispatchService.java
 72487b3 
  ambari-server/src/main/resources/alert-templates.xml PRE-CREATION 
  ambari-server/src/main/resources/stacks/BIGTOP/0.8/services/HDFS/alerts.json 
96cb931 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/alerts.json 
11836b3 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/alerts.json 
e58c4a3 
  
ambari-server/src/test/java/org/apache/ambari/server/state/services/AlertNoticeDispatchServiceTest.java
 PRE-CREATION 

Diff: https://reviews.apache.org/r/28291/diff/


Testing
---

New tests written to cover dispatch service.

mvn clean test


Thanks,

Jonathan Hurley



Re: Review Request 28277: Upgrade Execute: Create stages and tasks

2014-11-20 Thread Alejandro Fernandez

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/28277/#review62385
---

Ship it!


Ship It!

- Alejandro Fernandez


On Nov. 20, 2014, 6:12 a.m., Nate Cole wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/28277/
> ---
> 
> (Updated Nov. 20, 2014, 6:12 a.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Dmitro Lisnichenko, and Yurii 
> Shylov.
> 
> 
> Bugs: AMBARI-8392
> https://issues.apache.org/jira/browse/AMBARI-8392
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> From the creation of and upgrade and upgrade items, add the workflow to make 
> request/stages/tasks out of them (even if they're currently incomplete).
> 
> Stages are not completely finished, as this patch was getting too large to 
> include that work.  This addresses using a custom action for tasks (the 
> custom task itself is another effort).  Creating proper RESTART commands is 
> also another effort.
> 
> 
> Diffs
> -
> 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/ActionExecutionContext.java
>  ee64c0d 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariActionExecutionHelper.java
>  006ab9f 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/RequestStageContainer.java
>  512ea14 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java
>  4746155 
>   
> ambari-server/src/main/resources/custom_action_definitions/system_action_definitions.xml
>  fb362cc 
>   ambari-server/src/main/resources/custom_actions/scripts/ru_execute_tasks.py 
> PRE-CREATION 
>   
> ambari-server/src/test/java/org/apache/ambari/server/controller/internal/UpgradeResourceProviderTest.java
>  15db70e 
> 
> Diff: https://reviews.apache.org/r/28277/diff/
> 
> 
> Testing
> ---
> 
> [INFO] 
> 
> [INFO] BUILD SUCCESS
> [INFO] 
> 
> [INFO] Total time: 20:30.942s
> [INFO] Finished at: Thu Nov 20 01:05:35 EST 2014
> [INFO] Final Memory: 32M/611M
> [INFO] 
> 
> 
> 
> Thanks,
> 
> Nate Cole
> 
>



[jira] [Reopened] (AMBARI-8192) [Test] Testing the services configuration fails

2014-11-20 Thread Florian Barca (JIRA)

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

Florian Barca reopened AMBARI-8192:
---

Patch needs to be resubmitted to trunk.

> [Test] Testing the services configuration fails
> ---
>
> Key: AMBARI-8192
> URL: https://issues.apache.org/jira/browse/AMBARI-8192
> Project: Ambari
>  Issue Type: Task
>  Components: ambari-agent, ambari-server
>Affects Versions: branch-windows-dev
> Environment: Windows Server 64-bit
>Reporter: Florian Barca
>Assignee: Florian Barca
> Fix For: branch-windows-dev
>
> Attachments: AMBARI-8192.0.patch
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> Issues detected during configuration testing:
> - HBase configuration doesn't load correctly
> - Hive/WebHCat installation fails



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


[jira] [Updated] (AMBARI-8192) [Test] Testing the services configuration fails

2014-11-20 Thread Florian Barca (JIRA)

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

Florian Barca updated AMBARI-8192:
--
Attachment: AMBARI-8192.1.patch

Updated patch, for check-in into trunk.

> [Test] Testing the services configuration fails
> ---
>
> Key: AMBARI-8192
> URL: https://issues.apache.org/jira/browse/AMBARI-8192
> Project: Ambari
>  Issue Type: Task
>  Components: ambari-agent, ambari-server
>Affects Versions: branch-windows-dev
> Environment: Windows Server 64-bit
>Reporter: Florian Barca
>Assignee: Florian Barca
> Fix For: branch-windows-dev
>
> Attachments: AMBARI-8192.0.patch, AMBARI-8192.1.patch
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> Issues detected during configuration testing:
> - HBase configuration doesn't load correctly
> - Hive/WebHCat installation fails



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


Re: Review Request 28291: Alerts: Template Engine for Dispatching

2014-11-20 Thread Jonathan Hurley

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/28291/
---

(Updated Nov. 20, 2014, 2:16 p.m.)


Review request for Ambari, Nate Cole, Srimanth Gunturi, and Tom Beerbower.


Bugs: AMBARI-8400
https://issues.apache.org/jira/browse/AMBARI-8400


Repository: ambari


Description
---

Ambari's various dispatchers (such as Email and SNMP) can benefit from having a 
mechanism where a template can be defined for the construction of notification 
data. This decouples the content that Ambari is sending from the logic to 
compute the aggregate alerts.

Apache Velocity is a good choice for this requirement as it includes a maturing 
template language, VTL. 

A single XML file that ships with Ambari will contain the default templates for 
known alert target types. There will be an option to override the use of this 
file with a user-specified location via ambari.properties. In the event that a 
user-specific XML file cannot be parsed, appropriate exceptions will be thrown, 
but the {{AlertNoticeDispatchService}} will attempt to gracefully fallback on 
other content rendering options (such as the internal XML file).

The following data should be exposed to VTL:

- a list of all alert changes
-- alert name, state, date, label
-- a list for each state change
-- lists for all alerts, broke down by service and state 

- a list of all services with an alert
- a list of all hosts with an alert

- total counts of changes separated
-- one count for each alert state


Diffs
-

  ambari-server/src/main/java/org/apache/ambari/server/AmbariService.java 
PRE-CREATION 
  
ambari-server/src/main/java/org/apache/ambari/server/api/query/render/AlertSummaryGroupedRenderer.java
 0dbeb5c 
  
ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java
 0a96193 
  
ambari-server/src/main/java/org/apache/ambari/server/controller/ControllerModule.java
 2d91462 
  
ambari-server/src/main/java/org/apache/ambari/server/notifications/DispatchFactory.java
 13f2da2 
  
ambari-server/src/main/java/org/apache/ambari/server/notifications/dispatchers/EmailDispatcher.java
 a5dad84 
  
ambari-server/src/main/java/org/apache/ambari/server/state/services/AlertNoticeDispatchService.java
 72487b3 
  ambari-server/src/main/resources/alert-templates.xml PRE-CREATION 
  ambari-server/src/main/resources/stacks/BIGTOP/0.8/services/HDFS/alerts.json 
96cb931 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/alerts.json 
11836b3 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/alerts.json 
e58c4a3 
  
ambari-server/src/test/java/org/apache/ambari/server/state/services/AlertNoticeDispatchServiceTest.java
 PRE-CREATION 

Diff: https://reviews.apache.org/r/28291/diff/


Testing (updated)
---

New tests written to cover dispatch service.

mvn clean test

[INFO] 
[INFO] BUILD SUCCESS
[INFO] 
[INFO] Total time: 12:35 min
[INFO] Finished at: 2014-11-20T14:16:02-05:00
[INFO] Final Memory: 33M/617M
[INFO] 


Thanks,

Jonathan Hurley



[jira] [Updated] (AMBARI-8400) Alerts: Template Engine for Dispatching

2014-11-20 Thread Jonathan Hurley (JIRA)

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

Jonathan Hurley updated AMBARI-8400:

Attachment: AMBARI-8400.patch

> Alerts: Template Engine for Dispatching
> ---
>
> Key: AMBARI-8400
> URL: https://issues.apache.org/jira/browse/AMBARI-8400
> Project: Ambari
>  Issue Type: Task
>  Components: alerts, ambari-server
>Affects Versions: 2.0.0
>Reporter: Jonathan Hurley
>Assignee: Jonathan Hurley
> Fix For: 2.0.0
>
> Attachments: AMBARI-8400.patch
>
>
> Ambari's various dispatchers (such as Email and SNMP) can benefit from having 
> a mechanism where a template can be defined for the construction of 
> notification data. This decouples the content that Ambari is sending from the 
> logic to compute the aggregate alerts.
> Apache Velocity is a good choice for this requirement as it includes a 
> maturing template language, VTL. 
> A single XML file that ships with Ambari will contain the default templates 
> for known alert target types. There will be an option to override the use of 
> this file with a user-specified location via ambari.properties. In the event 
> that a user-specific XML file cannot be parsed, appropriate exceptions will 
> be thrown, but the {{AlertNoticeDispatchService}} will attempt to gracefully 
> fallback on other content rendering options (such as the internal XML file).
> The following data should be exposed to VTL:
> - a list of all alert changes
> -- alert name, state, date, label
> -- a list for each state change
> -- lists for all alerts, broke down by service and state 
> - a list of all services with an alert
> - a list of all hosts with an alert
> - total counts of changes separated
> -- one count for each alert state



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


[jira] [Created] (AMBARI-8401) Alerts UI: make changes to the service left nav and top nav

2014-11-20 Thread Xi Wang (JIRA)
Xi Wang created AMBARI-8401:
---

 Summary: Alerts UI: make changes to the service left nav and top 
nav
 Key: AMBARI-8401
 URL: https://issues.apache.org/jira/browse/AMBARI-8401
 Project: Ambari
  Issue Type: Task
  Components: ambari-web
Affects Versions: 2.0.0
Reporter: Xi Wang
Assignee: Xi Wang
 Fix For: 2.0.0






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


[jira] [Updated] (AMBARI-8401) Alerts UI: make changes to the service left nav and top nav

2014-11-20 Thread Xi Wang (JIRA)

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

Xi Wang updated AMBARI-8401:

Attachment: AMBARI-8401.patch

> Alerts UI: make changes to the service left nav and top nav
> ---
>
> Key: AMBARI-8401
> URL: https://issues.apache.org/jira/browse/AMBARI-8401
> Project: Ambari
>  Issue Type: Task
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Xi Wang
>Assignee: Xi Wang
> Fix For: 2.0.0
>
> Attachments: AMBARI-8401.patch
>
>




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


[jira] [Commented] (AMBARI-8399) Alerts UI: Alerts Instances keep storing in DS.Store even after user navigate away

2014-11-20 Thread Hudson (JIRA)

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

Hudson commented on AMBARI-8399:


SUCCESS: Integrated in Ambari-trunk-Commit #1002 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/1002/])
AMBARI-8399. Alerts UI: Alerts Instances keep storing in DS.Store even after 
user navigate away (onechiporenko) (onechiporenko: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=beccf117a3e002afe39c7f75abdc553b55486d1c)
* ambari-web/test/mappers/alert_instances_mapper_test.js
* ambari-web/test/controllers/main/alerts/alert_instances_controller_test.js
* ambari-web/app/assets/test/tests.js
* ambari-web/app/mappers/alert_instances_mapper.js
* ambari-web/app/controllers/main/alerts/alert_instances_controller.js


> Alerts UI: Alerts Instances keep storing in DS.Store even after user navigate 
> away
> --
>
> Key: AMBARI-8399
> URL: https://issues.apache.org/jira/browse/AMBARI-8399
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Oleg Nechiporenko
>Assignee: Oleg Nechiporenko
> Fix For: 2.0.0
>
> Attachments: AMBARI-8399.patch
>
>
> There may be huge number of the alert instances. 
> In big cluster this may cause performance issues.
> Example: 
> cluster with 200 nodes.
> every node has 10-20 alert instances.
> user navigates to {{host1/alerts}}. 20 alerts are saved to DS.Store. 20 
> overall
> user navigates to {{host2/alerts}}. 15 alerts are saved to DS.Store. 35 
> overall
> .
> In some moment may be situation when 2000-4000 alerts will be stored on the 
> UI.
> *Expected behavior:*
> cleanup alert instances models when new list of models is loaded.



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


[jira] [Created] (AMBARI-8402) View: Pig ui updates + flow changes

2014-11-20 Thread Erik Bergenholtz (JIRA)
Erik Bergenholtz created AMBARI-8402:


 Summary: View: Pig ui updates + flow changes
 Key: AMBARI-8402
 URL: https://issues.apache.org/jira/browse/AMBARI-8402
 Project: Ambari
  Issue Type: Improvement
  Components: ambari-views
Affects Versions: 1.7.0
Reporter: Erik Bergenholtz
 Fix For: 2.0.0


Popup tabs should be name 

[jira] [Created] (AMBARI-8403) Views: Files download of ZIP fails on folder with no permissions

2014-11-20 Thread Erik Bergenholtz (JIRA)
Erik Bergenholtz created AMBARI-8403:


 Summary: Views: Files download of ZIP fails on folder with no 
permissions
 Key: AMBARI-8403
 URL: https://issues.apache.org/jira/browse/AMBARI-8403
 Project: Ambari
  Issue Type: Improvement
  Components: ambari-views
Affects Versions: 1.7.0
Reporter: Erik Bergenholtz
 Fix For: 2.0.0


Attempted to download a folder as a ZIP by clicking on the filebox icon on the 
folder row in the table.
This fails. But for this folder, I don't have read access, so it should fail...
Is see the POST worked to get the
{"requestId":"56b0e03a123f4b2da97b5caa3beefe13"}
http://c6401.ambari.apache.org:8080/api/v1/views/FILES/versions/0.1.0/instances/FILES_1/resources/files/download/zip/generate-link
It gets a 500 on this GET call:
http://c6401.ambari.apache.org:8080/api/v1/views/FILES/versions/0.1.0/instances/FILES_1/resources/files/download/zip?requestId=56b0e03a123f4b2da97b5caa3beefe13




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


[jira] [Created] (AMBARI-8404) View: CapScheduler enhancements, cleanup

2014-11-20 Thread Erik Bergenholtz (JIRA)
Erik Bergenholtz created AMBARI-8404:


 Summary: View: CapScheduler enhancements, cleanup
 Key: AMBARI-8404
 URL: https://issues.apache.org/jira/browse/AMBARI-8404
 Project: Ambari
  Issue Type: Improvement
  Components: ambari-views
Affects Versions: 1.7.0
Reporter: Erik Bergenholtz
 Fix For: 2.0.0


Enhancements that are needed:

- if not operator, disable save/refresh/restart control in the UI
- if not operator, disable add queue in the UI
- if not operator, remove the "show edit" links in the UI
- if not operator, disable delete queue in the UI
- Also, Delete Queue does not work in Firefox (control does not render properly 
after clicking)
- basically, the view is just for viewing the queues at that point when the 
user isOperator == false




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


Re: Review Request 28277: Upgrade Execute: Create stages and tasks

2014-11-20 Thread Dmitro Lisnichenko


> On Nov. 20, 2014, 7:02 p.m., Alejandro Fernandez wrote:
> > ambari-server/src/main/resources/custom_actions/scripts/ru_execute_tasks.py,
> >  line 26
> > 
> >
> > My preference is to use named imports since it makes it easier to find 
> > where objects are coming from.

I also like this approach (especially because IDEA is not able to perform 
dynamic imports properly).


- Dmitro


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/28277/#review62383
---


On Nov. 20, 2014, 6:12 a.m., Nate Cole wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/28277/
> ---
> 
> (Updated Nov. 20, 2014, 6:12 a.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Dmitro Lisnichenko, and Yurii 
> Shylov.
> 
> 
> Bugs: AMBARI-8392
> https://issues.apache.org/jira/browse/AMBARI-8392
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> From the creation of and upgrade and upgrade items, add the workflow to make 
> request/stages/tasks out of them (even if they're currently incomplete).
> 
> Stages are not completely finished, as this patch was getting too large to 
> include that work.  This addresses using a custom action for tasks (the 
> custom task itself is another effort).  Creating proper RESTART commands is 
> also another effort.
> 
> 
> Diffs
> -
> 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/ActionExecutionContext.java
>  ee64c0d 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariActionExecutionHelper.java
>  006ab9f 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/RequestStageContainer.java
>  512ea14 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java
>  4746155 
>   
> ambari-server/src/main/resources/custom_action_definitions/system_action_definitions.xml
>  fb362cc 
>   ambari-server/src/main/resources/custom_actions/scripts/ru_execute_tasks.py 
> PRE-CREATION 
>   
> ambari-server/src/test/java/org/apache/ambari/server/controller/internal/UpgradeResourceProviderTest.java
>  15db70e 
> 
> Diff: https://reviews.apache.org/r/28277/diff/
> 
> 
> Testing
> ---
> 
> [INFO] 
> 
> [INFO] BUILD SUCCESS
> [INFO] 
> 
> [INFO] Total time: 20:30.942s
> [INFO] Finished at: Thu Nov 20 01:05:35 EST 2014
> [INFO] Final Memory: 32M/611M
> [INFO] 
> 
> 
> 
> Thanks,
> 
> Nate Cole
> 
>



[jira] [Commented] (AMBARI-8392) Upgrade Execute: Create stages and tasks

2014-11-20 Thread Hudson (JIRA)

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

Hudson commented on AMBARI-8392:


SUCCESS: Integrated in Ambari-trunk-Commit-docker #290 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit-docker/290/])
AMBARI-8392. Upgrade Execute: create request/stage/tasks out of upgrade items 
(ncole) (ncole: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=6adc6a500b43bcf0fccb00cb44b439e7bb8cd722)
* 
ambari-server/src/main/resources/custom_action_definitions/system_action_definitions.xml
* ambari-server/src/main/resources/custom_actions/scripts/ru_execute_tasks.py
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/RequestStageContainer.java
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/ActionExecutionContext.java
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariActionExecutionHelper.java
* 
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/UpgradeResourceProviderTest.java
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java


> Upgrade Execute: Create stages and tasks
> 
>
> Key: AMBARI-8392
> URL: https://issues.apache.org/jira/browse/AMBARI-8392
> Project: Ambari
>  Issue Type: Task
>  Components: ambari-server
>Reporter: Nate Cole
>Assignee: Nate Cole
> Fix For: 2.0.0
>
> Attachments: AMBARI-8392.patch
>
>
> From the creation of and upgrade and upgrade items, add the workflow to make 
> request/stages/tasks out of them (even if they're currently incomplete)



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


[jira] [Commented] (AMBARI-8399) Alerts UI: Alerts Instances keep storing in DS.Store even after user navigate away

2014-11-20 Thread Hudson (JIRA)

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

Hudson commented on AMBARI-8399:


SUCCESS: Integrated in Ambari-trunk-Commit-docker #290 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit-docker/290/])
AMBARI-8399. Alerts UI: Alerts Instances keep storing in DS.Store even after 
user navigate away (onechiporenko) (onechiporenko: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=beccf117a3e002afe39c7f75abdc553b55486d1c)
* ambari-web/test/controllers/main/alerts/alert_instances_controller_test.js
* ambari-web/app/mappers/alert_instances_mapper.js
* ambari-web/test/mappers/alert_instances_mapper_test.js
* ambari-web/app/assets/test/tests.js
* ambari-web/app/controllers/main/alerts/alert_instances_controller.js


> Alerts UI: Alerts Instances keep storing in DS.Store even after user navigate 
> away
> --
>
> Key: AMBARI-8399
> URL: https://issues.apache.org/jira/browse/AMBARI-8399
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Oleg Nechiporenko
>Assignee: Oleg Nechiporenko
> Fix For: 2.0.0
>
> Attachments: AMBARI-8399.patch
>
>
> There may be huge number of the alert instances. 
> In big cluster this may cause performance issues.
> Example: 
> cluster with 200 nodes.
> every node has 10-20 alert instances.
> user navigates to {{host1/alerts}}. 20 alerts are saved to DS.Store. 20 
> overall
> user navigates to {{host2/alerts}}. 15 alerts are saved to DS.Store. 35 
> overall
> .
> In some moment may be situation when 2000-4000 alerts will be stored on the 
> UI.
> *Expected behavior:*
> cleanup alert instances models when new list of models is loaded.



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


[jira] [Updated] (AMBARI-8401) Alerts UI: make changes to the service left nav and top nav

2014-11-20 Thread Xi Wang (JIRA)

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

Xi Wang updated AMBARI-8401:

Attachment: (was: AMBARI-8401.patch)

> Alerts UI: make changes to the service left nav and top nav
> ---
>
> Key: AMBARI-8401
> URL: https://issues.apache.org/jira/browse/AMBARI-8401
> Project: Ambari
>  Issue Type: Task
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Xi Wang
>Assignee: Xi Wang
> Fix For: 2.0.0
>
>




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


[jira] [Updated] (AMBARI-8401) Alerts UI: make changes to the service left nav and top nav

2014-11-20 Thread Xi Wang (JIRA)

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

Xi Wang updated AMBARI-8401:

Attachment: AMBARI-8401.patch

> Alerts UI: make changes to the service left nav and top nav
> ---
>
> Key: AMBARI-8401
> URL: https://issues.apache.org/jira/browse/AMBARI-8401
> Project: Ambari
>  Issue Type: Task
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Xi Wang
>Assignee: Xi Wang
> Fix For: 2.0.0
>
> Attachments: AMBARI-8401.patch
>
>




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


[jira] [Commented] (AMBARI-8401) Alerts UI: make changes to the service left nav and top nav

2014-11-20 Thread Srimanth Gunturi (JIRA)

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

Srimanth Gunturi commented on AMBARI-8401:
--

+1 for patch.

> Alerts UI: make changes to the service left nav and top nav
> ---
>
> Key: AMBARI-8401
> URL: https://issues.apache.org/jira/browse/AMBARI-8401
> Project: Ambari
>  Issue Type: Task
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Xi Wang
>Assignee: Xi Wang
> Fix For: 2.0.0
>
> Attachments: AMBARI-8401.patch
>
>




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


[jira] [Commented] (AMBARI-8401) Alerts UI: make changes to the service left nav and top nav

2014-11-20 Thread Xi Wang (JIRA)

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

Xi Wang commented on AMBARI-8401:
-

Committed to trunk

> Alerts UI: make changes to the service left nav and top nav
> ---
>
> Key: AMBARI-8401
> URL: https://issues.apache.org/jira/browse/AMBARI-8401
> Project: Ambari
>  Issue Type: Task
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Xi Wang
>Assignee: Xi Wang
> Fix For: 2.0.0
>
> Attachments: AMBARI-8401.patch
>
>




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


[jira] [Commented] (AMBARI-8392) Upgrade Execute: Create stages and tasks

2014-11-20 Thread Hudson (JIRA)

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

Hudson commented on AMBARI-8392:


SUCCESS: Integrated in Ambari-trunk-Commit #1003 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/1003/])
AMBARI-8392. Upgrade Execute: create request/stage/tasks out of upgrade items 
(ncole) (ncole: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=6adc6a500b43bcf0fccb00cb44b439e7bb8cd722)
* ambari-server/src/main/resources/custom_actions/scripts/ru_execute_tasks.py
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/RequestStageContainer.java
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/ActionExecutionContext.java
* 
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/UpgradeResourceProviderTest.java
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariActionExecutionHelper.java
* 
ambari-server/src/main/resources/custom_action_definitions/system_action_definitions.xml
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java


> Upgrade Execute: Create stages and tasks
> 
>
> Key: AMBARI-8392
> URL: https://issues.apache.org/jira/browse/AMBARI-8392
> Project: Ambari
>  Issue Type: Task
>  Components: ambari-server
>Reporter: Nate Cole
>Assignee: Nate Cole
> Fix For: 2.0.0
>
> Attachments: AMBARI-8392.patch
>
>
> From the creation of and upgrade and upgrade items, add the workflow to make 
> request/stages/tasks out of them (even if they're currently incomplete)



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


[jira] [Updated] (AMBARI-8388) Remove legacy Nagios alerts code from Ambari Web

2014-11-20 Thread Xi Wang (JIRA)

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

Xi Wang updated AMBARI-8388:

Attachment: AMBARI-8388.patch

> Remove legacy Nagios alerts code from Ambari Web
> 
>
> Key: AMBARI-8388
> URL: https://issues.apache.org/jira/browse/AMBARI-8388
> Project: Ambari
>  Issue Type: Task
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Xi Wang
>Assignee: Xi Wang
>Priority: Critical
> Fix For: 2.0.0
>
> Attachments: AMBARI-8388.patch, AMBARI-8388.patch
>
>
> Nagios is no longer available as a service in trunk.
> Ambari Web needs to remove calls to get legacy_alerts, as this will no longer 
> work once the server code removes the provider for Nagios alerts.
> As part of this ticket, remove legacy_alerts from being requested and make 
> sure that the general UI does not break.



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


Re: Review Request 28259: Remove legacy Nagios alerts code from Ambari Web

2014-11-20 Thread Xi Wang

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/28259/
---

(Updated Nov. 20, 2014, 12:22 p.m.)


Review request for Ambari, Srimanth Gunturi and Yusaku Sako.


Bugs: AMBARI-8388
https://issues.apache.org/jira/browse/AMBARI-8388


Repository: ambari


Description
---

Nagios is no longer available as a service in trunk.
Ambari Web needs to remove calls to get legacy_alerts, as this will no longer 
work once the server code removes the provider for Nagios alerts.
As part of this ticket, remove legacy_alerts from being requested and make sure 
that the general UI does not break.


Diffs (updated)
-

  ambari-web/app/assets/test/tests.js c831716 
  ambari-web/app/controllers.js c4385ce 
  ambari-web/app/controllers/global/update_controller.js bfb625c 
  ambari-web/app/controllers/main/alerts_controller.js b28f711 
  ambari-web/app/controllers/main/host.js dc966db 
  ambari-web/app/messages.js 9943582 
  ambari-web/app/routes/main.js 361312b 
  ambari-web/app/templates/main/dashboard/alert_notification_popup.hbs 8a37e23 
  ambari-web/app/templates/main/host/alerts_popup.hbs 247753a 
  ambari-web/app/templates/main/service/info/summary.hbs 8ccc64e 
  ambari-web/app/utils/ajax/ajax.js d4a8402 
  ambari-web/app/views/main/dashboard/widgets.js 29b7063 
  ambari-web/app/views/main/service/info/summary.js 99c049b 
  ambari-web/test/controllers/main/alerts_controller_test.js aee782a 
  ambari-web/test/views/main/service/info/summary_test.js f64ee18 

Diff: https://reviews.apache.org/r/28259/diff/


Testing
---

tested


Thanks,

Xi Wang



[jira] [Updated] (AMBARI-8388) Remove legacy Nagios alerts code from Ambari Web

2014-11-20 Thread Xi Wang (JIRA)

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

Xi Wang updated AMBARI-8388:

Description: 
Nagios is no longer available as a service in trunk.
Ambari Web needs to remove calls to get legacy_alerts, as this will no longer 
work once the server code removes the provider for Nagios alerts.
As part of this ticket, remove legacy_alerts from being requested and make sure 
that the general UI does not break.

In this patch, legacy_alerts calls, controller, and related unit tests have 
been removed.
Totally removed from UI side.

  was:
Nagios is no longer available as a service in trunk.
Ambari Web needs to remove calls to get legacy_alerts, as this will no longer 
work once the server code removes the provider for Nagios alerts.
As part of this ticket, remove legacy_alerts from being requested and make sure 
that the general UI does not break.


> Remove legacy Nagios alerts code from Ambari Web
> 
>
> Key: AMBARI-8388
> URL: https://issues.apache.org/jira/browse/AMBARI-8388
> Project: Ambari
>  Issue Type: Task
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Xi Wang
>Assignee: Xi Wang
>Priority: Critical
> Fix For: 2.0.0
>
> Attachments: AMBARI-8388.patch, AMBARI-8388.patch
>
>
> Nagios is no longer available as a service in trunk.
> Ambari Web needs to remove calls to get legacy_alerts, as this will no longer 
> work once the server code removes the provider for Nagios alerts.
> As part of this ticket, remove legacy_alerts from being requested and make 
> sure that the general UI does not break.
> In this patch, legacy_alerts calls, controller, and related unit tests have 
> been removed.
> Totally removed from UI side.



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


[jira] [Commented] (AMBARI-8388) Remove legacy Nagios alerts code from Ambari Web

2014-11-20 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on AMBARI-8388:
---

{color:green}+1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12682732/AMBARI-8388.patch
  against trunk revision .

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 2 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: 
https://builds.apache.org/job/Ambari-trunk-test-patch/708//testReport/
Console output: 
https://builds.apache.org/job/Ambari-trunk-test-patch/708//console

This message is automatically generated.

> Remove legacy Nagios alerts code from Ambari Web
> 
>
> Key: AMBARI-8388
> URL: https://issues.apache.org/jira/browse/AMBARI-8388
> Project: Ambari
>  Issue Type: Task
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Xi Wang
>Assignee: Xi Wang
>Priority: Critical
> Fix For: 2.0.0
>
> Attachments: AMBARI-8388.patch, AMBARI-8388.patch
>
>
> Nagios is no longer available as a service in trunk.
> Ambari Web needs to remove calls to get legacy_alerts, as this will no longer 
> work once the server code removes the provider for Nagios alerts.
> As part of this ticket, remove legacy_alerts from being requested and make 
> sure that the general UI does not break.
> In this patch, legacy_alerts calls, controller, and related unit tests have 
> been removed.
> Totally removed from UI side.



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


[jira] [Commented] (AMBARI-8401) Alerts UI: make changes to the service left nav and top nav

2014-11-20 Thread Hudson (JIRA)

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

Hudson commented on AMBARI-8401:


SUCCESS: Integrated in Ambari-trunk-Commit #1004 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/1004/])
AMBARI-8401. Alerts UI: make changes to the service left nav and top 
nav.(xiwang) (xiwang: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=9a8752573653bacd9f293cf9bb790f655920cd83)
* ambari-web/app/views/main/alerts/manage_alert_groups_view.js
* ambari-web/app/controllers/main/alert_definitions_controller.js
* ambari-web/app/templates/main/service/menu_item.hbs
* ambari-web/app/styles/application.less
* ambari-web/app/models/service.js
* ambari-web/app/messages.js
* ambari-web/app/templates/common/alerts_popup.hbs
* ambari-web/app/templates/application.hbs
* ambari-web/app/models/alert_definition.js


> Alerts UI: make changes to the service left nav and top nav
> ---
>
> Key: AMBARI-8401
> URL: https://issues.apache.org/jira/browse/AMBARI-8401
> Project: Ambari
>  Issue Type: Task
>  Components: ambari-web
>Affects Versions: 2.0.0
>Reporter: Xi Wang
>Assignee: Xi Wang
> Fix For: 2.0.0
>
> Attachments: AMBARI-8401.patch
>
>




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


Re: Review Request 28095: Add Kerberos State to Ambari database

2014-11-20 Thread Robert Levas

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/28095/
---

(Updated Nov. 20, 2014, 4:21 p.m.)


Review request for Ambari, dilli dorai, Jonathan Hurley, John Speidel, Robert 
Nettleton, Sid Wagle, and Tom Beerbower.


Bugs: AMBARI-8336
https://issues.apache.org/jira/browse/AMBARI-8336


Repository: ambari


Description
---

In order to track which services and components have been or need to be 
_Kerberized_ several tables need to be updated with a {{kerberos_state}} column 
to contain one the following values:

* `UNKNOWN` - Indicates the state is unknown
* `OFF` - Indicates the service or component is not or should not be Kerberized
* `ON` - Indicates the service or component is or should be Kerberized
* `IN_PROGRESS` - Indicates the component is in the process of being Kerberized 
* `ERROR` - Indicates the component cannot or failed to be Kerberized

The following tables need to be updated:

* hostcomponentdesiredstate - To indicate whether the component needs Kerberos 
added or removed (`OFF`, `ON`)
* hostcomponentstate - To indicate whether the component is currently 
configured for Kerberos or not (`OFF`, `IN_PROGRESS`, `ON`, `ERROR`, `UNKNOWN`)
* servicedesiredstate - To indicate whether the service (and it components) 
should or should not be Kerberized (`OFF`, `ON`)


Diffs
-

  
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostComponentDesiredStateEntity.java
 610f77f 
  
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostComponentStateEntity.java
 81de777 
  
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ServiceDesiredStateEntity.java
 a74b021 
  
ambari-server/src/main/java/org/apache/ambari/server/state/ComponentKerberosState.java
 PRE-CREATION 
  ambari-server/src/main/java/org/apache/ambari/server/state/Service.java 
4a18c69 
  
ambari-server/src/main/java/org/apache/ambari/server/state/ServiceComponentHost.java
 3142974 
  ambari-server/src/main/java/org/apache/ambari/server/state/ServiceImpl.java 
4b4a305 
  
ambari-server/src/main/java/org/apache/ambari/server/state/ServiceKerberosState.java
 PRE-CREATION 
  
ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java
 606751d 
  
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog200.java
 45e7813 
  ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql b2d9221 
  ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql 50f02b8 
  ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql d865161 
  ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql 
2e110ce 
  ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql d1b6435 
  ambari-server/src/test/java/org/apache/ambari/server/state/ServiceTest.java 
493291d 
  
ambari-server/src/test/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostTest.java
 5410ee3 
  
ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog200Test.java
 6a5bab7 

Diff: https://reviews.apache.org/r/28095/diff/


Testing
---

Java Unit Tests:
Tests run: 2250, Failures: 0, Errors: 0, Skipped: 14

Manual tests to verifty tables are altered and values are updated.


Thanks,

Robert Levas



Re: Review Request 28095: Add Kerberos State to Ambari database

2014-11-20 Thread Alejandro Fernandez

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/28095/#review62429
---



ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostComponentDesiredStateEntity.java


Kerberos isn't the only type of authentication protocol, Windows often uses 
NTLM. I suggest making DB fields be agnostic to the implementation.


- Alejandro Fernandez


On Nov. 20, 2014, 9:21 p.m., Robert Levas wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/28095/
> ---
> 
> (Updated Nov. 20, 2014, 9:21 p.m.)
> 
> 
> Review request for Ambari, dilli dorai, Jonathan Hurley, John Speidel, Robert 
> Nettleton, Sid Wagle, and Tom Beerbower.
> 
> 
> Bugs: AMBARI-8336
> https://issues.apache.org/jira/browse/AMBARI-8336
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> In order to track which services and components have been or need to be 
> _Kerberized_ several tables need to be updated with a {{kerberos_state}} 
> column to contain one the following values:
> 
> * `UNKNOWN` - Indicates the state is unknown
> * `OFF` - Indicates the service or component is not or should not be 
> Kerberized
> * `ON` - Indicates the service or component is or should be Kerberized
> * `IN_PROGRESS` - Indicates the component is in the process of being 
> Kerberized 
> * `ERROR` - Indicates the component cannot or failed to be Kerberized
> 
> The following tables need to be updated:
> 
> * hostcomponentdesiredstate - To indicate whether the component needs 
> Kerberos added or removed (`OFF`, `ON`)
> * hostcomponentstate - To indicate whether the component is currently 
> configured for Kerberos or not (`OFF`, `IN_PROGRESS`, `ON`, `ERROR`, 
> `UNKNOWN`)
> * servicedesiredstate - To indicate whether the service (and it components) 
> should or should not be Kerberized (`OFF`, `ON`)
> 
> 
> Diffs
> -
> 
>   
> ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostComponentDesiredStateEntity.java
>  610f77f 
>   
> ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostComponentStateEntity.java
>  81de777 
>   
> ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ServiceDesiredStateEntity.java
>  a74b021 
>   
> ambari-server/src/main/java/org/apache/ambari/server/state/ComponentKerberosState.java
>  PRE-CREATION 
>   ambari-server/src/main/java/org/apache/ambari/server/state/Service.java 
> 4a18c69 
>   
> ambari-server/src/main/java/org/apache/ambari/server/state/ServiceComponentHost.java
>  3142974 
>   ambari-server/src/main/java/org/apache/ambari/server/state/ServiceImpl.java 
> 4b4a305 
>   
> ambari-server/src/main/java/org/apache/ambari/server/state/ServiceKerberosState.java
>  PRE-CREATION 
>   
> ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java
>  606751d 
>   
> ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog200.java
>  45e7813 
>   ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql b2d9221 
>   ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql 50f02b8 
>   ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql d865161 
>   ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql 
> 2e110ce 
>   ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql d1b6435 
>   ambari-server/src/test/java/org/apache/ambari/server/state/ServiceTest.java 
> 493291d 
>   
> ambari-server/src/test/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostTest.java
>  5410ee3 
>   
> ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog200Test.java
>  6a5bab7 
> 
> Diff: https://reviews.apache.org/r/28095/diff/
> 
> 
> Testing
> ---
> 
> Java Unit Tests:
> Tests run: 2250, Failures: 0, Errors: 0, Skipped: 14
> 
> Manual tests to verifty tables are altered and values are updated.
> 
> 
> Thanks,
> 
> Robert Levas
> 
>



[jira] [Updated] (AMBARI-8149) Rolling Upgrade Bootstrap - Allow creating Cluster and adding Host - needs to populate *_version tables

2014-11-20 Thread Alejandro Fernandez (JIRA)

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

Alejandro Fernandez updated AMBARI-8149:

Attachment: AMBARI-8149.patch

> Rolling Upgrade Bootstrap - Allow creating Cluster and adding Host - needs to 
> populate *_version tables
> ---
>
> Key: AMBARI-8149
> URL: https://issues.apache.org/jira/browse/AMBARI-8149
> Project: Ambari
>  Issue Type: Sub-task
>  Components: ambari-server
>Affects Versions: 2.0.0
>Reporter: Alejandro Fernandez
>Assignee: Alejandro Fernandez
> Fix For: 2.0.0
>
> Attachments: AMBARI-8149.patch, AMBARI-8149.patch
>
>
> See parent story AMBARI-8147
> Creating a Cluster by using the Install Wizard or Blueprints needs to 
> populate the cluster_version table
> Adding a host needs to populate the host_version table with the stack version 
> that is currently applied to the cluster



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


  1   2   >