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/06/25 15:39:50 UTC

Review Request 35873: Running hive jobs via webhcat goes into error "/usr/hdp/current/tez-client/conf/tez-env.sh (Permission denied)"

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

Review request for Ambari and Vitalyi Brodetskyi.


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


Repository: ambari


Description
-------

Error while creating table in Hcatalog via creating manually from file:  
*HCatClient error executing hive query: 

{"error":"/usr/hdp/current/tez-client/conf/tez-env.sh (Permission denied)"}

(error 500)*,  
but table being created  
Permissions for the file:

    
    
    
    [root@ip-172-31-42-112 ~]# ll /usr/hdp/current/tez-client/conf/tez-env.sh
    -rw-r-----. 1 tez root 245 ??? 23 12:19 /usr/hdp/current/tez-client/conf/tez-env.sh
    

Log attached

UPD: Security - both, Secure and unsecure


Diffs
-----

  ambari-server/src/main/resources/common-services/TEZ/0.4.0.2.1/package/scripts/tez.py 0901120 
  ambari-server/src/test/python/stacks/2.1/TEZ/test_tez_client.py 63f85d0 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Re: Review Request 35873: Running hive jobs via webhcat goes into error "/usr/hdp/current/tez-client/conf/tez-env.sh (Permission denied)"

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

Ship it!


Ship It!

- Vitalyi Brodetskyi


On Червень 25, 2015, 1:39 після полудня, Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/35873/
> -----------------------------------------------------------
> 
> (Updated Червень 25, 2015, 1:39 після полудня)
> 
> 
> Review request for Ambari and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-12144
>     https://issues.apache.org/jira/browse/AMBARI-12144
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Error while creating table in Hcatalog via creating manually from file:  
> *HCatClient error executing hive query: 
> 
> {"error":"/usr/hdp/current/tez-client/conf/tez-env.sh (Permission denied)"}
> 
> (error 500)*,  
> but table being created  
> Permissions for the file:
> 
>     
>     
>     
>     [root@ip-172-31-42-112 ~]# ll /usr/hdp/current/tez-client/conf/tez-env.sh
>     -rw-r-----. 1 tez root 245 ??? 23 12:19 /usr/hdp/current/tez-client/conf/tez-env.sh
>     
> 
> Log attached
> 
> UPD: Security - both, Secure and unsecure
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/TEZ/0.4.0.2.1/package/scripts/tez.py 0901120 
>   ambari-server/src/test/python/stacks/2.1/TEZ/test_tez_client.py 63f85d0 
> 
> Diff: https://reviews.apache.org/r/35873/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>