Re: Review Request 50606: Move masters can't succeed with Service admin user as it requires "Delete component" that is not allowed for it

2016-07-29 Thread Alejandro Fernandez

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


Ship it!




Ship It!

- Alejandro Fernandez


On July 29, 2016, 4:16 p.m., Dmytro Sen wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/50606/
> ---
> 
> (Updated July 29, 2016, 4:16 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Dmitro Lisnichenko, Myroslav 
> Papirkovskyy, and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-17960
> https://issues.apache.org/jira/browse/AMBARI-17960
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> 1) Create a service admin user
> 2) Log in using service admin user
> 3) Move to HCAT service
> 4) At step4 it will fail to "Delete WebHCAT service"
> On looking at the network for Chrome, looks like service admin is not allowed 
> to delete the component and throws 403 and the page reloads.
> PS : This may be failing from some time but was blocked due to other issues
> 
> 
> Diffs
> -
> 
>   
> ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog240.java
>  d0f8aa8 
>   ambari-server/src/main/resources/Ambari-DDL-Derby-CREATE.sql 0a456eb 
>   ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql 3e2e144 
>   ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql c0f2368 
>   ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql c4f9dfc 
>   ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql 
> d42445d 
>   ambari-server/src/main/resources/Ambari-DDL-SQLAnywhere-CREATE.sql 1300746 
>   ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql 8f0dae0 
> 
> Diff: https://reviews.apache.org/r/50606/diff/
> 
> 
> Testing
> ---
> 
> Unit tests passed
> 
> 
> Thanks,
> 
> Dmytro Sen
> 
>



Re: Review Request 50606: Move masters can't succeed with Service admin user as it requires "Delete component" that is not allowed for it

2016-07-29 Thread Dmytro Grinenko

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


Ship it!




Ship It!

- Dmytro Grinenko


On July 29, 2016, 4:16 p.m., Dmytro Sen wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/50606/
> ---
> 
> (Updated July 29, 2016, 4:16 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Dmitro Lisnichenko, Myroslav 
> Papirkovskyy, and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-17960
> https://issues.apache.org/jira/browse/AMBARI-17960
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> 1) Create a service admin user
> 2) Log in using service admin user
> 3) Move to HCAT service
> 4) At step4 it will fail to "Delete WebHCAT service"
> On looking at the network for Chrome, looks like service admin is not allowed 
> to delete the component and throws 403 and the page reloads.
> PS : This may be failing from some time but was blocked due to other issues
> 
> 
> Diffs
> -
> 
>   
> ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog240.java
>  d0f8aa8 
>   ambari-server/src/main/resources/Ambari-DDL-Derby-CREATE.sql 0a456eb 
>   ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql 3e2e144 
>   ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql c0f2368 
>   ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql c4f9dfc 
>   ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql 
> d42445d 
>   ambari-server/src/main/resources/Ambari-DDL-SQLAnywhere-CREATE.sql 1300746 
>   ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql 8f0dae0 
> 
> Diff: https://reviews.apache.org/r/50606/diff/
> 
> 
> Testing
> ---
> 
> Unit tests passed
> 
> 
> Thanks,
> 
> Dmytro Sen
> 
>



Re: Review Request 50606: Move masters can't succeed with Service admin user as it requires "Delete component" that is not allowed for it

2016-07-29 Thread Dmitro Lisnichenko

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


Ship it!




Ship It!

- Dmitro Lisnichenko


On July 29, 2016, 7:16 p.m., Dmytro Sen wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/50606/
> ---
> 
> (Updated July 29, 2016, 7:16 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Dmitro Lisnichenko, Myroslav 
> Papirkovskyy, and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-17960
> https://issues.apache.org/jira/browse/AMBARI-17960
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> 1) Create a service admin user
> 2) Log in using service admin user
> 3) Move to HCAT service
> 4) At step4 it will fail to "Delete WebHCAT service"
> On looking at the network for Chrome, looks like service admin is not allowed 
> to delete the component and throws 403 and the page reloads.
> PS : This may be failing from some time but was blocked due to other issues
> 
> 
> Diffs
> -
> 
>   
> ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog240.java
>  d0f8aa8 
>   ambari-server/src/main/resources/Ambari-DDL-Derby-CREATE.sql 0a456eb 
>   ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql 3e2e144 
>   ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql c0f2368 
>   ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql c4f9dfc 
>   ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql 
> d42445d 
>   ambari-server/src/main/resources/Ambari-DDL-SQLAnywhere-CREATE.sql 1300746 
>   ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql 8f0dae0 
> 
> Diff: https://reviews.apache.org/r/50606/diff/
> 
> 
> Testing
> ---
> 
> Unit tests passed
> 
> 
> Thanks,
> 
> Dmytro Sen
> 
>



Re: Review Request 50606: Move masters can't succeed with Service admin user as it requires "Delete component" that is not allowed for it

2016-07-29 Thread Vitalyi Brodetskyi

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


Ship it!




Ship It!

- Vitalyi Brodetskyi


On Липень 29, 2016, 4:16 після полудня, Dmytro Sen wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/50606/
> ---
> 
> (Updated Липень 29, 2016, 4:16 після полудня)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Dmitro Lisnichenko, Myroslav 
> Papirkovskyy, and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-17960
> https://issues.apache.org/jira/browse/AMBARI-17960
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> 1) Create a service admin user
> 2) Log in using service admin user
> 3) Move to HCAT service
> 4) At step4 it will fail to "Delete WebHCAT service"
> On looking at the network for Chrome, looks like service admin is not allowed 
> to delete the component and throws 403 and the page reloads.
> PS : This may be failing from some time but was blocked due to other issues
> 
> 
> Diffs
> -
> 
>   
> ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog240.java
>  d0f8aa8 
>   ambari-server/src/main/resources/Ambari-DDL-Derby-CREATE.sql 0a456eb 
>   ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql 3e2e144 
>   ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql c0f2368 
>   ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql c4f9dfc 
>   ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql 
> d42445d 
>   ambari-server/src/main/resources/Ambari-DDL-SQLAnywhere-CREATE.sql 1300746 
>   ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql 8f0dae0 
> 
> Diff: https://reviews.apache.org/r/50606/diff/
> 
> 
> Testing
> ---
> 
> Unit tests passed
> 
> 
> Thanks,
> 
> Dmytro Sen
> 
>



Review Request 50606: Move masters can't succeed with Service admin user as it requires "Delete component" that is not allowed for it

2016-07-29 Thread Dmytro Sen

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

Review request for Ambari, Alejandro Fernandez, Dmitro Lisnichenko, Myroslav 
Papirkovskyy, and Vitalyi Brodetskyi.


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


Repository: ambari


Description
---

1) Create a service admin user
2) Log in using service admin user
3) Move to HCAT service
4) At step4 it will fail to "Delete WebHCAT service"
On looking at the network for Chrome, looks like service admin is not allowed 
to delete the component and throws 403 and the page reloads.
PS : This may be failing from some time but was blocked due to other issues


Diffs
-

  
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog240.java
 d0f8aa8 
  ambari-server/src/main/resources/Ambari-DDL-Derby-CREATE.sql 0a456eb 
  ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql 3e2e144 
  ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql c0f2368 
  ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql c4f9dfc 
  ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql 
d42445d 
  ambari-server/src/main/resources/Ambari-DDL-SQLAnywhere-CREATE.sql 1300746 
  ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql 8f0dae0 

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


Testing
---

Unit tests passed


Thanks,

Dmytro Sen