hive-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/HIVE-7845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14110570#comment-14110570
] 

Hive QA commented on HIVE-7845:
-------------------------------



{color:red}Overall{color}: -1 at least one tests failed

Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12664340/HIVE-7845.1.patch.txt

{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 6115 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_dynpart_sort_opt_vectorization
org.apache.hive.jdbc.miniHS2.TestHiveServer2.testConnection
{noformat}

Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/498/testReport
Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/498/console
Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-498/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 2 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12664340

> "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