Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 487AC1088A for ; Wed, 25 Sep 2013 15:08:50 +0000 (UTC) Received: (qmail 55130 invoked by uid 500); 25 Sep 2013 15:08:42 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 54546 invoked by uid 500); 25 Sep 2013 15:08:36 -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 54538 invoked by uid 99); 25 Sep 2013 15:08:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Sep 2013 15:08:35 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mohajeri@gmail.com designates 209.85.214.170 as permitted sender) Received: from [209.85.214.170] (HELO mail-ob0-f170.google.com) (209.85.214.170) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Sep 2013 15:08:29 +0000 Received: by mail-ob0-f170.google.com with SMTP id va2so6857141obc.15 for ; Wed, 25 Sep 2013 08:08:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=k2pp1YCxORHg2sfo4oJ246TdUjID96zI2354Kqo83SA=; b=fOULtOcVC5f5MswJNQ7dizd8ZEhAZ6enO4lLxh8CxLSulR3hkaxlMedZnKyUN8UQ2j Pk47Fq2GCnzWYGDfKXQ3S4VH3OxUOAIXCsVYNjtYBeoqf3lBrLc4NcfMvjo04JFZHKnI 5hYb4cQZKqen+ih4oenfgo/GKLTP34wDYnEeL3QnDvkvD9PspV89bvmudZMrGr7ICX4V UVmZ6Z0TyKcRNlbaeb88uMOhNtG+UQO4D38NLxXQ4ztrmqVRpQQCTCTsrmoBR84z37Te mjxJ9OY8K3W+amcrGaq6ra7q672d4t26Zl3Jn/GWuwQjdlRx4MdNc25p21TGkFuHb0zZ Bykg== MIME-Version: 1.0 X-Received: by 10.60.17.136 with SMTP id o8mr30729396oed.7.1380121688227; Wed, 25 Sep 2013 08:08:08 -0700 (PDT) Received: by 10.182.153.39 with HTTP; Wed, 25 Sep 2013 08:08:08 -0700 (PDT) In-Reply-To: References: Date: Wed, 25 Sep 2013 08:08:08 -0700 Message-ID: Subject: Re: issue about invisible data in haoop file From: Peyman Mohajerian To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=089e0122a79af94eed04e7369ec3 X-Virus-Checked: Checked by ClamAV on apache.org --089e0122a79af94eed04e7369ec3 Content-Type: text/plain; charset=ISO-8859-1 In my experience with Flume and this issue, it occurs when the file is not properly closed. If it was then it would show you the correct size and Hive will read the content. On Wed, Sep 25, 2013 at 12:30 AM, ch huang wrote: > hi,all: > i have a question,i start pump data into hadoop file,but i find > the file size is zero,but if i use hadoop fs -cat file ,i can see the data > ,if i query hive table(which connect with the file) ,i can not read > anything ,why? > --089e0122a79af94eed04e7369ec3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
In my experience with Flume and this issue, it occurs when= the file is not properly closed. If it was then it would show you the corr= ect size and Hive will read the content.=A0


On Wed, Sep 25, 2013 at 12:30 AM, ch huang <= span dir=3D"ltr"><justlooks@gmail.com> wrote:
hi,all:
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 i have a question,i start=A0pump data i= nto=A0hadoop file,but i find the file size is zero,but if i use hadoop fs -= cat file ,i can see the data
,if i=A0query hive table(which connect with the file) ,i can not read = anything ,why?

--089e0122a79af94eed04e7369ec3--