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 E181F18F96 for ; Fri, 11 Sep 2015 07:10:00 +0000 (UTC) Received: (qmail 32902 invoked by uid 500); 11 Sep 2015 07:09:52 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 32787 invoked by uid 500); 11 Sep 2015 07:09:52 -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 32777 invoked by uid 99); 11 Sep 2015 07:09:52 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Sep 2015 07:09:52 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id E85BD1A171E for ; Fri, 11 Sep 2015 07:09:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.898 X-Spam-Level: ** X-Spam-Status: No, score=2.898 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id wNE_Vv6G8BaC for ; Fri, 11 Sep 2015 07:09:50 +0000 (UTC) Received: from mail-io0-f175.google.com (mail-io0-f175.google.com [209.85.223.175]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 3F4DF4457B for ; Fri, 11 Sep 2015 07:09:48 +0000 (UTC) Received: by ioiz6 with SMTP id z6so88026616ioi.2 for ; Fri, 11 Sep 2015 00:09:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=5DQGFQ6eB9fn+ho4YneLaUkG+pntZ7y1Kbl2mOEexOw=; b=MOZj+wlUYY5rdufkfxG/4tBylMAnNjhWyhV9qhlFVfkDB61KElwKK/vhU2jytxHNXj uovTK42SvitdijiHB8Q4/zWzeRVwwJS6s2wm2/O1I/TTzDRJ0Ht6HUAWPiWUS1w1lzAM KR+OoKkVXzvN3LULE31OxxGlqqSahzqaERG92QILS4c9S8CXYeGXCSQWUIxENEEkgrVG S2VCYFWcA3tON9jaBOy6yucKFW9o3RGQCLPzN6qTzMXYhTq/72r4zAa4GjxGTAlhHiQz u3INRRrgZZbomagigb4ETW+AlusvFgy4ohjNPukzrGC26fQTF5afxN4bZBcOL+m94uBt I00A== MIME-Version: 1.0 X-Received: by 10.107.19.70 with SMTP id b67mr1094369ioj.144.1441955387816; Fri, 11 Sep 2015 00:09:47 -0700 (PDT) Received: by 10.36.48.80 with HTTP; Fri, 11 Sep 2015 00:09:47 -0700 (PDT) Date: Fri, 11 Sep 2015 12:39:47 +0530 Message-ID: Subject: Hive Server Load Data InPath Fails From: Vineet Mishra To: cdh-user@cloudera.org, user@hadoop.apache.org Content-Type: multipart/alternative; boundary=001a113dea22ac4025051f73668d --001a113dea22ac4025051f73668d Content-Type: text/plain; charset=UTF-8 Hi All, I am making a Hive Thrift connection to Hive Server and with load data inpath command to one of my table I am landing into some bizzare exception. Other queries seems out to be working fine, but this is the only query which is getting failed 15/09/11 11:40:32 ERROR utils.HCatalogUtil: Executing Query: load data inpath '/data/mount/si/piu/' overwrite into table scnrt2.piu HiveServerException(message:Query returned non-zero code: 10001, cause: FAILED: SemanticException [Error 10001]: Line 1:130 Table not found 'piu', errorCode:10001, SQLState:42S02) The table is created in the scnrt2 database and exist before the command is invoked. I have even tried executing the same query using the query "use scnrt2" before firing the load data but still not luck, while the same query is executing fine from the hive command line. Any quick feedback would be appreciated! Thanks! --001a113dea22ac4025051f73668d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi All,

I am making a Hive Thrift conne= ction to Hive Server and with load data inpath command to one of my table I= am landing into some bizzare exception.

Other que= ries seems out to be working fine, but this is the only query which is gett= ing failed

15/09/11 11:40:32 ERROR utils.HCat= alogUtil: Executing Query: load data inpath '/data/mount/si/piu/' o= verwrite into table scnrt2.piu
HiveServerException(message:Query = returned non-zero code: 10001, cause: FAILED: SemanticException [Error 1000= 1]: Line 1:130 Table not found 'piu', errorCode:10001, SQLState:42S= 02)

The table is created in the scnrt2 datab= ase and exist before the command is invoked.

I hav= e even tried executing the same query using the query "use scnrt2"= ; before firing the load data but still not luck, while the same query is e= xecuting fine from the hive command line.

Any quic= k feedback would be appreciated!

Thanks!
--001a113dea22ac4025051f73668d--