Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A6A701170D for ; Mon, 14 Apr 2014 11:11:17 +0000 (UTC) Received: (qmail 20767 invoked by uid 500); 14 Apr 2014 11:11:09 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 20315 invoked by uid 500); 14 Apr 2014 11:11:09 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 20308 invoked by uid 99); 14 Apr 2014 11:11:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Apr 2014 11:11:08 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [194.150.112.202] (HELO mail02.dandomain.dk) (194.150.112.202) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Apr 2014 11:11:01 +0000 Received: from ([85.242.167.211]) by mail02.dandomain.dk (DanDomain Mailserver) with ASMTP id APY58338 for ; Mon, 14 Apr 2014 13:10:38 +0200 Message-ID: <1397473837.2589.4.camel@localhost.lan> Subject: Re: Hive install under hadoop From: Thomas Bentsen To: user@hadoop.apache.org Date: Mon, 14 Apr 2014 12:10:37 +0100 In-Reply-To: <1A86C59EB5AF41E182E48F3DD45FF255@neusofte4edc94> References: <1A86C59EB5AF41E182E48F3DD45FF255@neusofte4edc94> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4 (3.10.4-2.fc20) Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Flag: NO 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. > --------------------------------------------------------------------------------------------------- >