Return-Path: X-Original-To: apmail-incubator-drill-user-archive@minotaur.apache.org Delivered-To: apmail-incubator-drill-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 559FF17B7E for ; Thu, 23 Oct 2014 17:44:26 +0000 (UTC) Received: (qmail 49113 invoked by uid 500); 23 Oct 2014 17:44:25 -0000 Delivered-To: apmail-incubator-drill-user-archive@incubator.apache.org Received: (qmail 49056 invoked by uid 500); 23 Oct 2014 17:44:25 -0000 Mailing-List: contact drill-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: drill-user@incubator.apache.org Delivered-To: mailing list drill-user@incubator.apache.org Received: (qmail 49041 invoked by uid 99); 23 Oct 2014 17:44:25 -0000 Received: from ec2-54-191-145-13.us-west-2.compute.amazonaws.com (HELO mx1-us-west.apache.org) (54.191.145.13) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Oct 2014 17:44:25 +0000 Received: from mx1-us-west.apache.org (localhost [127.0.0.1]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTP id CDB1B26EA7 for ; Thu, 23 Oct 2014 17:44:24 +0000 (UTC) Received: by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org, from userid 114) id C310226EE4; Thu, 23 Oct 2014 17:44:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mx1-us-west.apache.org X-Spam-Level: X-Spam-Status: No, score=1.0 required=10.0 tests=HTML_MESSAGE, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_PASS,T_DKIM_INVALID,WEIRD_PORT autolearn=disabled version=3.4.0 Received: from mail-ie0-f179.google.com (mail-ie0-f179.google.com [209.85.223.179]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 76E3026EA7 for ; Thu, 23 Oct 2014 17:44:24 +0000 (UTC) Received: by mail-ie0-f179.google.com with SMTP id ar1so1446298iec.10 for ; Thu, 23 Oct 2014 10:43:33 -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=poJepK/lh1ecYLXrbKssxadWxk2ztMl/ythRwK59Dn4=; b=wFdWAA61jQoTgEO3uRTNwPeHTG9F/oC04F/Q6oyIAt9Taia4LQ+wtbf8G5sqjNUMw/ SVFezdSQSA7dm9uwVi60KYmcPbBpx8gSVWm0uqjXa2Skrhe8bdwP17Tu3Z01dNfJIAPp imax1lrdRBiPDT1p78o2D0fdCfdaG8OJ3VQl48GII8G3xN3klDUGzl2J/h02HtU5LXQV F4f40CP1F/iBKbKuKJbXNJpUOy6uA2M3HCguQMg5WvK2oTx3hIgQnzllMYbjasiJ5zRE tk5PJ6KdydF+Y4rkeX0xCvIeft4PpRjH+Be/ujKhihVlNzYybn/XCGJ5mSk58q6Ru6rB /9tQ== MIME-Version: 1.0 X-Received: by 10.107.150.213 with SMTP id y204mr3982931iod.59.1414086212951; Thu, 23 Oct 2014 10:43:32 -0700 (PDT) Received: by 10.64.166.134 with HTTP; Thu, 23 Oct 2014 10:43:32 -0700 (PDT) In-Reply-To: References: Date: Thu, 23 Oct 2014 10:43:32 -0700 Message-ID: Subject: Re: Error in running select over hdfs From: Mohit Anchlia To: drill-user@incubator.apache.org Content-Type: multipart/alternative; boundary=001a1141bd5867a45b05061a9ae8 X-Virus-Scanned: ClamAV using ClamSMTP --001a1141bd5867a45b05061a9ae8 Content-Type: text/plain; charset=UTF-8 Could somebody look at this error and advise what might be wrong? It seems I am doing everything that's documented. On Wed, Oct 22, 2014 at 2:20 PM, Mohit Anchlia wrote: > I am getting the following error even though that file exists in hdfs > > 0: jdbc:drill:zk=local> select * from > hdfs.`/user/train/xd/tweets/tmp/tweets-0.txt`; > Oct 22, 2014 5:16:31 PM org.eigenbase.sql.validate.SqlValidatorException > > SEVERE: org.eigenbase.sql.validate.SqlValidatorException: Table > 'hdfs./user/train/xd/tweets/tmp/tweets-0.txt' not found > Oct 22, 2014 5:16:31 PM org.eigenbase.util.EigenbaseException > SEVERE: org.eigenbase.util.EigenbaseContextException: From line 1, column > 15 to line 1, column 18: Table > 'hdfs./user/train/xd/tweets/tmp/tweets-0.txt' not found > Query failed: Failure while parsing sql. Table > 'hdfs./user/train/xd/tweets/tmp/tweets-0.txt' not found > [7e1d5c73-0521-480e-b74b-a4fa50e3f4a7] > Error: exception while executing query: Failure while trying to get next > result batch. (state=,code=0) > > > I created new plugin called hdfs. > > { > "type": "file", > "enabled": true, > "connection": "hdfs://10.225.156.201:9000/", > "workspaces": { > "json": { > "location": "/user/train/xd/tweets/tmp", > "writable": false, > "storageformat": "json" > } > }, > "formats": { > "json": { > "type": "json" > } > } > } > --001a1141bd5867a45b05061a9ae8--