Return-Path: Delivered-To: apmail-hadoop-hive-user-archive@minotaur.apache.org Received: (qmail 28606 invoked from network); 29 Sep 2010 12:01:21 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Sep 2010 12:01:21 -0000 Received: (qmail 54444 invoked by uid 500); 29 Sep 2010 12:01:21 -0000 Delivered-To: apmail-hadoop-hive-user-archive@hadoop.apache.org Received: (qmail 54106 invoked by uid 500); 29 Sep 2010 12:01:18 -0000 Mailing-List: contact hive-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-user@hadoop.apache.org Delivered-To: mailing list hive-user@hadoop.apache.org Received: (qmail 54091 invoked by uid 99); 29 Sep 2010 12:01:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Sep 2010 12:01:17 +0000 X-ASF-Spam-Status: No, hits=3.3 required=10.0 tests=FREEMAIL_FROM,FROM_LOCAL_NOVOWEL,HK_RANDOM_ENVFROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sssssssenator@gmail.com designates 74.125.82.176 as permitted sender) Received: from [74.125.82.176] (HELO mail-wy0-f176.google.com) (74.125.82.176) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Sep 2010 12:01:10 +0000 Received: by wyg36 with SMTP id 36so771888wyg.35 for ; Wed, 29 Sep 2010 05:00:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=/e58WF9lh6AUjUfYRO7O+X/19CJqK6+fipZ2ZDDpWZU=; b=V8ysTnCkZ2WtISLzvCX7R3HyJwJOTlUHVaxLtNktbbO4MEwQLxxEC0FQR5adUHW3py oWHnjwL2KyUpNDTha/lyMxTIeh2r9nliFW/Ll/rolwRGeGYhX857SsuVEofZN6xoKIxz qj8h4JTuSlT0j1OkyBS0jQ+dHVl1dFrNkFZ0s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=drR6rDxY5NNUcAJOqzHr03/ghZdQ9aqsfSmjgYz1pR/ixQi1gRuvMkcJCwIK0+Sf71 Nx3eHWWtil8QrkkyMIc94mkET/qCoN1ExhU0XEBCxvHmZ7G0FyMn3ve3JxZdAwwWt5mz 35D7QVhZzGdSRFxtV9qm4N/qSkZBv5ir8Ng4A= MIME-Version: 1.0 Received: by 10.216.234.93 with SMTP id r71mr2393631weq.104.1285761649354; Wed, 29 Sep 2010 05:00:49 -0700 (PDT) Received: by 10.216.170.202 with HTTP; Wed, 29 Sep 2010 05:00:49 -0700 (PDT) Date: Wed, 29 Sep 2010 17:30:49 +0530 Message-ID: Subject: Error: java.lang.NullPointerException From: vaibhav negi To: hive-user@hadoop.apache.org, general@hadoop.apache.org Content-Type: multipart/alternative; boundary=00151758a95e6028a6049164b610 --00151758a95e6028a6049164b610 Content-Type: text/plain; charset=ISO-8859-1 Hi, I am using hadoop version 0.20.2 While running query "select count(*) from table;" on Hive,i am getting this error FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql. exec.MapRedTask Error in task tracker logs says :- Error: java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:768) at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$GetMapEventsThread.getMapCompletionEvents(ReduceTask.java:2683) at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$GetMapEventsThread.run(ReduceTask.java:2605) How to debug and correct it?? Vaibhav Negi --00151758a95e6028a6049164b610 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

I am using hadoop version 0.20.2

While running query &quo= t;select count(*) from table;" on Hive,i am getting this error

= FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.
exec.MapRedTask

Error in task tracker logs says :-

Error: java.lang.NullPointerE= xception
=A0at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHash= Map.java:768)
at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$GetMap= EventsThread.getMapCompletionEvents(ReduceTask.java:2683)
at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$GetMapEventsThread.run(= ReduceTask.java:2605)


How to debug and correct it??

Vaibhav Negi
--00151758a95e6028a6049164b610--