Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 15659200BA1 for ; Mon, 17 Oct 2016 20:58:01 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 13F86160AE2; Mon, 17 Oct 2016 18:58:01 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 896F0160AFB for ; Mon, 17 Oct 2016 20:58:00 +0200 (CEST) Received: (qmail 65162 invoked by uid 500); 17 Oct 2016 18:57:59 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 64917 invoked by uid 99); 17 Oct 2016 18:57:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Oct 2016 18:57:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 2B74A2C4C8A for ; Mon, 17 Oct 2016 18:57:59 +0000 (UTC) Date: Mon, 17 Oct 2016 18:57:59 +0000 (UTC) From: "Gopal V (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-14837) JDBC: standalone jar is missing hadoop core dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 17 Oct 2016 18:58:01 -0000 [ https://issues.apache.org/jira/browse/HIVE-14837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15583112#comment-15583112 ] Gopal V commented on HIVE-14837: -------------------------------- The sample code from - https://cwiki.apache.org/confluence/display/Hive/HiveServer2+Clients#HiveServer2Clients-RunningtheJDBCSampleCode With just hive-jdbc-standalone jar as a dependency without explicitly copying the extraneous jars from the hive build dirs (the docs describe the missing jars). > JDBC: standalone jar is missing hadoop core dependencies > -------------------------------------------------------- > > Key: HIVE-14837 > URL: https://issues.apache.org/jira/browse/HIVE-14837 > Project: Hive > Issue Type: Bug > Components: JDBC > Affects Versions: 2.2.0 > Reporter: Gopal V > > {code} > 2016/09/24 00:31:57 ERROR - jmeter.threads.JMeterThread: Test failed! java.lang.NoClassDefFoundError: org/apache/hadoop/conf/Configuration > at org.apache.hive.jdbc.HiveConnection.createUnderlyingTransport(HiveConnection.java:418) > at org.apache.hive.jdbc.HiveConnection.createBinaryTransport(HiveConnection.java:438) > at org.apache.hive.jdbc.HiveConnection.openTransport(HiveConnection.java:225) > at org.apache.hive.jdbc.HiveConnection.(HiveConnection.java:182) > at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:107) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)