Re: Review Request 50961: Permission denied issue during hive service check

2016-08-11 Thread Andrew Onischuk

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


Ship it!




Ship It!

- Andrew Onischuk


On Aug. 11, 2016, 10:30 a.m., Vitalyi Brodetskyi wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/50961/
> ---
> 
> (Updated Aug. 11, 2016, 10:30 a.m.)
> 
> 
> Review request for Ambari, Andrew Onischuk, Dmytro Sen, and Sumit Mohanty.
> 
> 
> Bugs: AMBARI-18107
> https://issues.apache.org/jira/browse/AMBARI-18107
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> In hive service check we have code for templeton which creates few files 
> like: show_db.post.txt and pig_post.txt. One thing is that these files will 
> not be removed, so next service check should rewrite this files. In case when 
> user changed some permissions/users/umask we will have permission problems 
> like:
> {code}
> /var/lib/ambari-agent/tmp/show_db.post.txt: Permission denied
> {code}
> 
> 
> Diffs
> -
> 
>   
> ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/files/templetonSmoke.sh
>  8d763cb 
> 
> Diff: https://reviews.apache.org/r/50961/diff/
> 
> 
> Testing
> ---
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Vitalyi Brodetskyi
> 
>



Re: Review Request 50961: Permission denied issue during hive service check

2016-08-11 Thread Vitalyi Brodetskyi

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

(Updated Сер. 11, 2016, 10:30 до полудня)


Review request for Ambari, Andrew Onischuk, Dmytro Sen, and Sumit Mohanty.


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


Repository: ambari


Description
---

In hive service check we have code for templeton which creates few files like: 
show_db.post.txt and pig_post.txt. One thing is that these files will not be 
removed, so next service check should rewrite this files. In case when user 
changed some permissions/users/umask we will have permission problems like:
{code}
/var/lib/ambari-agent/tmp/show_db.post.txt: Permission denied
{code}


Diffs
-

  
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/files/templetonSmoke.sh
 8d763cb 

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


Testing
---

mvn clean test


Thanks,

Vitalyi Brodetskyi



Re: Review Request 50961: Permission denied issue during hive service check

2016-08-10 Thread Vitalyi Brodetskyi

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

(Updated Сер. 10, 2016, 6:21 після полудня)


Review request for Ambari, Andrew Onischuk, Dmytro Sen, and Sumit Mohanty.


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


Repository: ambari


Description
---

In hive service check we have code for templeton which creates few files like: 
show_db.post.txt and pig_post.txt. One thing is that these files will not be 
removed, so next service check should rewrite this files. In case when user 
changed some permissions/users/umask we will have permission problems like:
{code}
/var/lib/ambari-agent/tmp/show_db.post.txt: Permission denied
{code}


Diffs
-

  
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/files/templetonSmoke.sh
 8d763cb 

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


Testing
---

mvn clean test


Thanks,

Vitalyi Brodetskyi



Review Request 50961: Permission denied issue during hive service check

2016-08-10 Thread Vitalyi Brodetskyi

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

Review request for Ambari, Andrew Onischuk, Dmytro Sen, and Sumit Mohanty.


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


Repository: ambari


Description
---

In hive service check we have code for templeton which creates few files like: 
show_db.post.txt and pig_post.txt. One thing is that these files will not be 
removed, so next service check should rewrite this files. In case when user 
changed some permissions/users/umask we will have permission problems like:
{code}
/var/lib/ambari-agent/tmp/show_db.post.txt: Permission denied
{code}


Diffs
-

  
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/files/templetonSmoke.sh
 8d763cb 

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


Testing
---

mvn clean test


Thanks,

Vitalyi Brodetskyi