hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Bentsen ...@bentzn.com>
Subject Re: Hive install under hadoop
Date Mon, 14 Apr 2014 11:10:37 GMT
Seems like an ordinary Linux file permission thing.
Are you logged in as user 'software'
Does your user have permission to create dirs in /home/software?

/th


On Mon, 2014-04-14 at 16:12 +0800, EdwardKing wrote:
> I want to use hive in hadoop2.2.0, so I execute following steps:
>  
> [hadoop@master /]$ tar –xzf  hive-0.11.0.tar.gz
> [hadoop@master /]$ export HIVE_HOME=/home/software/hive
> [hadoop@master /]$ export PATH=${HIVE_HOME}/bin:${PATH}
> [hadoop@master /]$ hadoop fs -mkdir /tmp
> [hadoop@master /]$ hadoop fs -mkdir /user/hive/warehouse
> [hadoop@master /]$ hadoop fs -chmod g+w /tmp
> [hadoop@master /]$ hadoop fs -chmod g+w /user/hive/warehouse
> [hadoop@master /]$ hive
> Error creating temp dir in hadoop.tmp.dir file:/home/software/temp due
> to Permission denied
>  
> How to make hive install success? Thanks.
> ---------------------------------------------------------------------------------------------------
> Confidentiality Notice: The information contained in this e-mail and
> any accompanying attachment(s) 
> is intended only for the use of the intended recipient and may be
> confidential and/or privileged of 
> Neusoft Corporation, its subsidiaries and/or its affiliates. If any
> reader of this communication is 
> not the intended recipient, unauthorized use, forwarding, printing,
> storing, disclosure or copying 
> is strictly prohibited, and may be unlawful.If you have received this
> communication in error,please 
> immediately notify the sender by return e-mail, and delete the
> original message and all copies from 
> your system. Thank you. 
> ---------------------------------------------------------------------------------------------------
> 



Mime
View raw message