Oh, I set wrong HIVE_HOME,now I correct it and hive can run. Thanks. 
  ----- Original Message ----- 
  From: Shengjun Xin 
  To: user@hive.apache.org 
  Sent: Monday, April 14, 2014 4:48 PM
  Subject: Re: Hive install under hadoop


  Do you install hadoop correctly?




  On Mon, Apr 14, 2014 at 4:22 PM, EdwardKing <zhan...@neusoft.com> 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. 
    
---------------------------------------------------------------------------------------------------






  -- 

  Regards 

  Shengjun
---------------------------------------------------------------------------------------------------
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. 
---------------------------------------------------------------------------------------------------

Reply via email to