Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 68D2F1747F for ; Fri, 1 May 2015 03:19:06 +0000 (UTC) Received: (qmail 64338 invoked by uid 500); 1 May 2015 03:19:06 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 64313 invoked by uid 500); 1 May 2015 03:19:06 -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 64298 invoked by uid 99); 1 May 2015 03:19:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2015 03:19:06 +0000 Date: Fri, 1 May 2015 03:19:06 +0000 (UTC) From: "Hari Sankar Sivarama Subramaniyan (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-10544) Beeline/Hive JDBC Driver fails in HTTP mode on Windows with java.lang.NoSuchFieldError: INSTANCE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-10544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14522712#comment-14522712 ] Hari Sankar Sivarama Subramaniyan commented on HIVE-10544: ---------------------------------------------------------- [~thejas] Noticed sometime back that bin/beeline.cmd in the repo follows Windows convention for text file (i.e., M^ at the end of each line). So in order to apply the patch, you will need to do : $ tr -d '\r' < bin/beeline.cmd > temp; rm bin/beeline.cmd; mv temp bin/beeline.cmd $ patch -p1 < HIVE-10544.2.patch Thanks Hari > Beeline/Hive JDBC Driver fails in HTTP mode on Windows with java.lang.NoSuchFieldError: INSTANCE > ------------------------------------------------------------------------------------------------ > > Key: HIVE-10544 > URL: https://issues.apache.org/jira/browse/HIVE-10544 > Project: Hive > Issue Type: Bug > Reporter: Hari Sankar Sivarama Subramaniyan > Assignee: Hari Sankar Sivarama Subramaniyan > Attachments: HIVE-10544.1.patch, HIVE-10544.2.patch > > > NO PRECOMMIT TESTS > This appears to be caused by a dependency version mispatch with httpcore on Beeline's classpath. > We need to change beeline.cmd as well I guess to include the equivalent of export HADOOP_USER_CLASSPATH_FIRST=true. -- This message was sent by Atlassian JIRA (v6.3.4#6332)