You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2015/09/23 18:39:50 UTC

Review Request 38681: There is no need to put 700 for /user/hive directory, or at least make it configurable

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

Review request for Ambari and Vitalyi Brodetskyi.


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


Repository: ambari


Description
-------

PROBLEM: When starting HS2 from Ambari, Ambari try to modify the permission of
/user/

{hive_user}

to 0700, check with vgumashta and smohanty, there is no need for Ambari or
hive to have this directory /user/hive to be 700. Expedia put hive warehouse
under this directory, so it require to have permission 0755.

EXPECTED BEHAVIOR: Ambari should not manage this directory, or at least make
this configurable.


Diffs
-----

  ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py 51ba9af 
  ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_server.py 275d1d4 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Re: Review Request 38681: There is no need to put 700 for /user/hive directory, or at least make it configurable

Posted by Vitalyi Brodetskyi <vb...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38681/#review100213
-----------------------------------------------------------

Ship it!


Ship It!

- Vitalyi Brodetskyi


On Вер. 23, 2015, 4:42 після полудня, Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/38681/
> -----------------------------------------------------------
> 
> (Updated Вер. 23, 2015, 4:42 після полудня)
> 
> 
> Review request for Ambari and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-13212
>     https://issues.apache.org/jira/browse/AMBARI-13212
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> When starting HS2 from Ambari, Ambari try to modify the permission of
> /user/
> 
> {hive_user}
> 
> to 0700, check with vgumashta and smohanty, there is no need for Ambari or
> hive to have this directory /user/hive to be 700. 
> 
> Ambari should not manage this directory, or at least make
> this configurable.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py 51ba9af 
>   ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_server.py 275d1d4 
> 
> Diff: https://reviews.apache.org/r/38681/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>


Re: Review Request 38681: There is no need to put 700 for /user/hive directory, or at least make it configurable

Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38681/#review100215
-----------------------------------------------------------

Ship it!


Ship It!

- Dmitro Lisnichenko


On Sept. 23, 2015, 4:42 p.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/38681/
> -----------------------------------------------------------
> 
> (Updated Sept. 23, 2015, 4:42 p.m.)
> 
> 
> Review request for Ambari and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-13212
>     https://issues.apache.org/jira/browse/AMBARI-13212
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> When starting HS2 from Ambari, Ambari try to modify the permission of
> /user/
> 
> {hive_user}
> 
> to 0700, check with vgumashta and smohanty, there is no need for Ambari or
> hive to have this directory /user/hive to be 700. 
> 
> Ambari should not manage this directory, or at least make
> this configurable.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py 51ba9af 
>   ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_server.py 275d1d4 
> 
> Diff: https://reviews.apache.org/r/38681/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>


Re: Review Request 38681: There is no need to put 700 for /user/hive directory, or at least make it configurable

Posted by Andrew Onischuk <ao...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38681/
-----------------------------------------------------------

(Updated Sept. 23, 2015, 4:42 p.m.)


Review request for Ambari and Vitalyi Brodetskyi.


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


Repository: ambari


Description (updated)
-------

When starting HS2 from Ambari, Ambari try to modify the permission of
/user/

{hive_user}

to 0700, check with vgumashta and smohanty, there is no need for Ambari or
hive to have this directory /user/hive to be 700. 

Ambari should not manage this directory, or at least make
this configurable.


Diffs
-----

  ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py 51ba9af 
  ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_server.py 275d1d4 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk