Return-Path: X-Original-To: apmail-hadoop-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-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 7EEE4187D7 for ; Thu, 30 Apr 2015 22:00:44 +0000 (UTC) Received: (qmail 96673 invoked by uid 500); 30 Apr 2015 22:00:38 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 96546 invoked by uid 500); 30 Apr 2015 22:00:38 -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 96536 invoked by uid 99); 30 Apr 2015 22:00:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Apr 2015 22:00:38 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: message received from 54.191.145.13 which is an MX secondary for user@hadoop.apache.org) Received: from [54.191.145.13] (HELO mx1-us-west.apache.org) (54.191.145.13) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Apr 2015 22:00:31 +0000 Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com [209.85.217.177]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id D25AC24F8C for ; Thu, 30 Apr 2015 22:00:10 +0000 (UTC) Received: by lbbqq2 with SMTP id qq2so54760310lbb.3 for ; Thu, 30 Apr 2015 15:00:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=nB4QP8zNrzuYVvVSNp07Omgq//x76NqlCNU4M8lwHAc=; b=QRdVZKAuCyw4kqX6ZecmweKR7PRPNPkNxcrSZxtQEDI+KkiLT+QJo6IqUitFeLPbAx N4NhhNkbzAVAYaXk+ArWWgypY0H1ZJaUHBoIfPfhfm8F6ewR59TwMOJJQ95BGhv6pFbl Alb4H81YAdweADn9YjnaCn2dkCZSna7TG0CJbH+9VKwzDvrf+nw+A9OAfpKb3x8u60JL jxAje+KWQZmuQBxfH40mO9ClZeKXvmFnH86vzTsDvrG6enJbKZZTJDGnrnd1+JmTyqDp mTGljvTEmuRmA6TE3lSvc0LMMwhqFd7x0I3y3W2cmnFOTygsp6nMGH7iGqXAwa2QFj8R 6Wyg== X-Received: by 10.152.243.9 with SMTP id wu9mr5653483lac.63.1430431209373; Thu, 30 Apr 2015 15:00:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.206.201 with HTTP; Thu, 30 Apr 2015 14:59:49 -0700 (PDT) In-Reply-To: References: From: Alexander Pivovarov Date: Thu, 30 Apr 2015 14:59:49 -0700 Message-ID: Subject: Re: How to move back to .gz file from hive to hdfs To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=001a11342c2c1c448c0514f8385f X-Virus-Checked: Checked by ClamAV on apache.org --001a11342c2c1c448c0514f8385f Content-Type: text/plain; charset=UTF-8 try desc formatted ; it shows you table location on hdfs On Thu, Apr 30, 2015 at 2:43 PM, Kumar Jayapal wrote: > I did not find it in .Trash file is moved to hive table I want to move it > back to hdfs. > > On Thu, Apr 30, 2015 at 2:20 PM, Alexander Pivovarov > wrote: > >> Try to find the file in hdfs trash >> On Apr 30, 2015 2:14 PM, "Kumar Jayapal" wrote: >> >>> Hi, >>> >>> I loaded one file to hive table it is in .gz extension. file is >>> moved/deleted from hdfs. >>> >>> when I execute select command I get an error. >>> >>> Error: Error while processing statement: FAILED: Execution Error, return >>> code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask >>> (state=08S01,code=2) >>> >>> how can I move back the file to HDFS. how can I do it. >>> >>> Thanks >>> Jay >>> >> > --001a11342c2c1c448c0514f8385f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
try
desc formatted <table_name>;<= br>
it shows you table location on hdfs

On Thu, Apr 30, 2015 at 2:43 PM, Kumar= Jayapal <kjayapal17@gmail.com> wrote:
I did not find it in .Trash file is moved = to hive table I want to move it back to hdfs.

O= n Thu, Apr 30, 2015 at 2:20 PM, Alexander Pivovarov <<= a href=3D"mailto:apivovarov@gmail.com" target=3D"_blank">apivovarov@gmail.c= om> wrote:

T= ry to find the file in hdfs trash

On Apr 30, 2015 2:14 PM, "Kumar Jayapal&quo= t; <kjayapal17= @gmail.com> wrote:
Hi,

I loaded one file = to hive table=C2=A0it is in .gz extension. file is moved/deleted from hdfs.=

when I execute select command I get an error.

Error: Error while processing statement: FAILED: Exec= ution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTas= k (state=3D08S01,code=3D2)

how can I move back the= file to HDFS. how can I do it.

Thanks
J= ay


--001a11342c2c1c448c0514f8385f--