Return-Path: X-Original-To: apmail-hive-user-archive@www.apache.org Delivered-To: apmail-hive-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B198118FB8 for ; Wed, 15 Jul 2015 17:18:58 +0000 (UTC) Received: (qmail 97394 invoked by uid 500); 15 Jul 2015 17:18:57 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 97326 invoked by uid 500); 15 Jul 2015 17:18:57 -0000 Mailing-List: contact user-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hive.apache.org Delivered-To: mailing list user@hive.apache.org Received: (qmail 97316 invoked by uid 99); 15 Jul 2015 17:18:57 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jul 2015 17:18:57 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 9324DD4D2E for ; Wed, 15 Jul 2015 17:18:56 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.1 X-Spam-Level: X-Spam-Status: No, score=-0.1 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-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 (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 9LF-jzZbV8rn for ; Wed, 15 Jul 2015 17:18:48 +0000 (UTC) Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 0F20043DF1 for ; Wed, 15 Jul 2015 17:18:48 +0000 (UTC) Received: by wgmn9 with SMTP id n9so39031442wgm.0 for ; Wed, 15 Jul 2015 10:17:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:from:subject:message-id:date:user-agent:mime-version :content-type:content-transfer-encoding; bh=XaRtACcXWaOc5/iOqNwOekg3NZwftpgCjrCCzqrkxIs=; b=aQJkVdxvCQP5QmFDueL6e+vjLI/tNyQSD+YyIX2SNq8zDapCcZm5fHIPwJIn0zWd/K K+GbalivrJey7hTLq+zKxAn66P8z0gABpRmNuC0aL0gENLqYAy0F1Ra41Bv3ysnkRT4o 7j/DohTeGIjo2ahnWTOIfWYgi0OmCO8YP5M+4Q2vgnnsPSPzWNUT/HfSXZSglRoxwe6y xHGDFr9knfd3ppa2RP4Gvjj7VeZFezIRSPK18FAWi7BpLS+fUwo1N9XXQ2VQ+Bweq1R0 3DxL2GTi8JY5jpEGrvwQfOx/qI72VTTjHGCOrjrxmlnWGVKDl1ao2cJ+tpEWPizDe3hf y7PA== X-Received: by 10.180.94.35 with SMTP id cz3mr919723wib.85.1436980675797; Wed, 15 Jul 2015 10:17:55 -0700 (PDT) Received: from [127.0.0.1] ([46.238.12.171]) by smtp.googlemail.com with ESMTPSA id hn2sm8825396wjc.45.2015.07.15.10.17.53 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Jul 2015 10:17:54 -0700 (PDT) To: "user@hive.apache.org" From: peter 2 Subject: org.apache.hadoop.hive.serde2.lazy.objectinspector.primitive.LazyDateObjectInspector Message-ID: <55A695C6.6000105@gmail.com> Date: Wed, 15 Jul 2015 20:17:58 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 150715-0, 07/15/2015), Outbound message X-Antivirus-Status: Clean HI Guys, I am running hive on top of Hbase. I am using the jdbc driver to insert and read data. Inserts work fine. The data is present in hbase , as I can see it using the Hbase shell. When I try to retrieve the data I get this exception Hive Internal Error: no LazyObject for org.apache.hadoop.hive.serde2.lazy.objectinspector.primitive.LazyDateObjectInspector The sql I use to create my table is as follows CREATE TABLE IF NOT EXISTS `scheduled_job`(`job_id` STRING, `name` STRING, `status` STRING, `original _configuration` STRING, `start_time` DATE, `end_time` DATE, `created_on` DATE, `error_text` STRING, `current_run_id` STRING, `current_run` INT, `config_file` STRING, `project_id` STRING, `user` STRING, `config_file_name` STRING) STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler' WITH SERDEPROPERTIES ('hbase.key.factory.class' = 'org.apache.hadoop.hive.hbase.BinarySortableKeyFactory', 'hbase.table.name' ='scheduled_job', 'hbase.table.default.storage.type' = 'binary', 'hbase.value.factory.class' = 'org.apache.hadoop.hive.hbase.BinarySortableValueFactory', 'hbase.columns.mapping' = '0:name, 0:status, 0:original_configuration, 0:start_time, 0:end_time, 0:created_on,0:error_text, 0:current_run_id, 0:current_run, 0:config_file, 0:project_id, 0:user, 0:config_file_name') I find it odd that inserts would work and data is obviously in Hbase, but reading it fails. It fails using the hive cli and jdbc, always with the same exception Regards, Peter --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus