hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Navis (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-7845) "Failed to locate the winutils binary" when loading JDBC driver on Windows
Date Tue, 26 Aug 2014 07:20:58 GMT

     [ https://issues.apache.org/jira/browse/HIVE-7845?page=com.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 Windows
> --------------------------------------------------------------------------
>
>                 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, subsequent attempts
will succeed.  The Hadoop binaries are indeed not available, but shouldn't be required when
just using JDBC.
> 13:20:00 [ERROR pool-2-thread-4 Shell.getWinUtilsPath] Failed to locate the 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.<clinit>(Shell.java:332)
>                at org.apache.hadoop.hive.conf.HiveConf$ConfVars.findHadoopBinary(HiveConf.java:918)
>                at org.apache.hadoop.hive.conf.HiveConf$ConfVars.<clinit>(HiveConf.java:228)
>                at org.apache.hive.jdbc.HiveConnection.isHttpTransportMode(HiveConnection.java:304)
>                at org.apache.hive.jdbc.HiveConnection.openTransport(HiveConnection.java:181)
>                at org.apache.hive.jdbc.HiveConnection.<init>(HiveConnection.java:164)
>                at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:105)
>                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>                at java.lang.reflect.Method.invoke(Unknown Source)
>                at com.onseven.dbvis.d.B.D.ā(Z:1548)
>                at com.onseven.dbvis.d.B.F$A.call(Z:278)
>                at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
>                at java.util.concurrent.FutureTask.run(Unknown Source)
>                at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
>                at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>                at java.lang.Thread.run(Unknown Source)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message