Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4FAF5114FF for ; Tue, 26 Aug 2014 07:21:00 +0000 (UTC) Received: (qmail 38984 invoked by uid 500); 26 Aug 2014 07:20:59 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 38906 invoked by uid 500); 26 Aug 2014 07:20:59 -0000 Mailing-List: contact dev-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 dev@hive.apache.org Received: (qmail 38747 invoked by uid 500); 26 Aug 2014 07:20:59 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 38732 invoked by uid 99); 26 Aug 2014 07:20:59 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Aug 2014 07:20:59 +0000 Date: Tue, 26 Aug 2014 07:20:58 +0000 (UTC) From: "Navis (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-7845) "Failed to locate the winutils binary" when loading JDBC driver on Windows MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-7845?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Navis updated HIVE-7845: ------------------------ Status: Patch Available (was: Open) > "Failed to locate the winutils binary" when loading JDBC driver on Window= s > -------------------------------------------------------------------------= - > > Key: HIVE-7845 > URL: https://issues.apache.org/jira/browse/HIVE-7845 > Project: Hive > Issue Type: Bug > Components: JDBC > Affects Versions: 0.12.0 > Reporter: Ben White > Assignee: Navis > Attachments: HIVE-7845.1.patch.txt > > > This ERROR is thrown on Windows platforms when loading the JDBC driver, s= ubsequent attempts will succeed. The Hadoop binaries are indeed not availa= ble, but shouldn't be required when just using JDBC. > 13:20:00 [ERROR pool-2-thread-4 Shell.getWinUtilsPath] Failed to locate t= he winutils binary in the hadoop binary path > java.io.IOException: Could not locate executable null\bin\winutils.exe in= the Hadoop binaries. > at org.apache.hadoop.util.Shell.getQualifiedBinPath(Shell.= java:324) > at org.apache.hadoop.util.Shell.getWinUtilsPath(Shell.java= :339) > at org.apache.hadoop.util.Shell.(Shell.java:332) > at org.apache.hadoop.hive.conf.HiveConf$ConfVars.findHadoo= pBinary(HiveConf.java:918) > at org.apache.hadoop.hive.conf.HiveConf$ConfVars.(= HiveConf.java:228) > at org.apache.hive.jdbc.HiveConnection.isHttpTransportMode= (HiveConnection.java:304) > at org.apache.hive.jdbc.HiveConnection.openTransport(HiveC= onnection.java:181) > at org.apache.hive.jdbc.HiveConnection.(HiveConnecti= on.java:164) > at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java= :105) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Met= hod) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Sou= rce) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown= Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at com.onseven.dbvis.d.B.D.=C4=81(Z:1548) > at com.onseven.dbvis.d.B.F$A.call(Z:278) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown S= ource) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor.runWorker(Unkno= wn Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unkn= own Source) > at java.lang.Thread.run(Unknown Source) -- This message was sent by Atlassian JIRA (v6.2#6252)