Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-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 5EF2317D40 for ; Wed, 28 Jan 2015 03:08:34 +0000 (UTC) Received: (qmail 8886 invoked by uid 500); 28 Jan 2015 03:08:34 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 8850 invoked by uid 500); 28 Jan 2015 03:08:34 -0000 Mailing-List: contact issues-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list issues@drill.apache.org Received: (qmail 8839 invoked by uid 99); 28 Jan 2015 03:08:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jan 2015 03:08:34 +0000 Date: Wed, 28 Jan 2015 03:08:34 +0000 (UTC) From: "Orrin Edenfield (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-1907) "Failure while attempting to start Drillbit in embedded mode" on Windows 2012 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/DRILL-1907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14294643#comment-14294643 ] Orrin Edenfield commented on DRILL-1907: ---------------------------------------- I tried downloading the binaries and creating the %HADOOP_HOME% variable - now the error doesn't occur but I'm still unable to query anything, I only get the "No current connection" message. I also tried copying conf\drill-override-example.conf to conf\drill-override.conf and modifying all occurrences of /tmp/ to be c:\\temp\. I to see that c:\temp\drill is created - so I don't see any permissions issues on my c: disk when it comes to Drill creating necessary storage files\directories. > "Failure while attempting to start Drillbit in embedded mode" on Windows 2012 > ----------------------------------------------------------------------------- > > Key: DRILL-1907 > URL: https://issues.apache.org/jira/browse/DRILL-1907 > Project: Apache Drill > Issue Type: Improvement > Affects Versions: 0.7.0 > Environment: Windows Server 2012 > java version "1.7.0_60" > Java(TM) SE Runtime Environment (build 1.7.0_60-b19) > Java HotSpot(TM) Client VM (build 24.60-b09, mixed mode) > Reporter: Geoffrey Cleaves > Assignee: Patrick Wong > Priority: Minor > Fix For: 0.8.0 > > > I am following the Apache Drill in 10 minutes tut on running on Windows. I double click on sqlline.bat, enter "!connect jdbc:drill:zk=local" then "admin" and "admin". This results in the following errors: > 17:30:35.668 [main] ERROR org.apache.hadoop.util.Shell - Failed to locate the wi > nutils binary in the hadoop binary path > java.io.IOException: Could not locate executable null\bin\winutils.exe in the Ha > doop binaries. > at org.apache.hadoop.util.Shell.getQualifiedBinPath(Shell.java:318) [had > oop-common-2.4.1.jar:na] > at org.apache.hadoop.util.Shell.getWinUtilsPath(Shell.java:333) [hadoop- > common-2.4.1.jar:na] > at org.apache.hadoop.util.Shell.(Shell.java:326) [hadoop-common- > 2.4.1.jar:na] > at org.apache.hadoop.util.StringUtils.(StringUtils.java:76) [had > oop-common-2.4.1.jar:na] > at org.apache.hadoop.security.Groups.parseStaticMapping(Groups.java:93) > [hadoop-common-2.4.1.jar:na] > at org.apache.hadoop.security.Groups.(Groups.java:77) [hadoop-comm > on-2.4.1.jar:na] > at org.apache.hadoop.security.Groups.getUserToGroupsMappingService(Group > s.java:240) [hadoop-common-2.4.1.jar:na] > at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupI > nformation.java:255) [hadoop-common-2.4.1.jar:na] > at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(Use > rGroupInformation.java:232) [hadoop-common-2.4.1.jar:na] > at org.apache.hadoop.security.UserGroupInformation.loginUserFromSubject( > UserGroupInformation.java:718) [hadoop-common-2.4.1.jar:na] > at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGrou > pInformation.java:703) [hadoop-common-2.4.1.jar:na] > at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGr > oupInformation.java:605) [hadoop-common-2.4.1.jar:na] > at org.apache.hadoop.fs.FileSystem$Cache$Key.(FileSystem.java:2554 > ) [hadoop-common-2.4.1.jar:na] > at org.apache.hadoop.fs.FileSystem$Cache$Key.(FileSystem.java:2546 > ) [hadoop-common-2.4.1.jar:na] > at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2412) [hado > op-common-2.4.1.jar:na] > at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:368) [hadoop-comm > on-2.4.1.jar:na] > at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:167) [hadoop-comm > on-2.4.1.jar:na] > at org.apache.drill.exec.store.dfs.shim.FileSystemCreator.getFileSystem( > FileSystemCreator.java:31) [drill-java-exec-0.7.0-rebuffed.jar:0.7.0] > at org.apache.drill.exec.store.sys.local.FilePStore.getFileSystem(FilePS > tore.java:87) [drill-java-exec-0.7.0-rebuffed.jar:0.7.0] > at org.apache.drill.exec.store.sys.local.LocalPStoreProvider.(Loca > lPStoreProvider.java:51) [drill-java-exec-0.7.0-rebuffed.jar:0.7.0] > at org.apache.drill.exec.server.Drillbit.(Drillbit.java:109) [dril > l-java-exec-0.7.0-rebuffed.jar:0.7.0] > at org.apache.drill.jdbc.DrillConnectionImpl.(DrillConnectionImpl. > java:78) [drill-jdbc-0.7.0.jar:0.7.0] > at org.apache.drill.jdbc.DrillJdbc41Factory$DrillJdbc41Connection. > (DrillJdbc41Factory.java:88) [drill-jdbc-0.7.0.jar:0.7.0] > at org.apache.drill.jdbc.DrillJdbc41Factory.newDrillConnection(DrillJdbc > 41Factory.java:57) [drill-jdbc-0.7.0.jar:0.7.0] > at org.apache.drill.jdbc.DrillJdbc41Factory.newDrillConnection(DrillJdbc > 41Factory.java:43) [drill-jdbc-0.7.0.jar:0.7.0] > at org.apache.drill.jdbc.DrillFactory.newConnection(DrillFactory.java:51 > ) [drill-jdbc-0.7.0.jar:0.7.0] > at net.hydromatic.avatica.UnregisteredDriver.connect(UnregisteredDriver. > java:126) [optiq-avatica-0.9-drill-r12.jar:na] > at sqlline.SqlLine$DatabaseConnection.connect(SqlLine.java:4732) [sqllin > e-1.1.6.jar:na] > at sqlline.SqlLine$DatabaseConnection.getConnection(SqlLine.java:4786) [ > sqlline-1.1.6.jar:na] > at sqlline.SqlLine$Commands.connect(SqlLine.java:4026) [sqlline-1.1.6.ja > r:na] > at sqlline.SqlLine$Commands.connect(SqlLine.java:3935) [sqlline-1.1.6.ja > r:na] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7. > 0_60] > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7. > 0_60] > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na: > 1.7.0_60] > at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.7.0_60] > at sqlline.SqlLine$ReflectiveCommandHandler.execute(SqlLine.java:2884) [ > sqlline-1.1.6.jar:na] > at sqlline.SqlLine.dispatch(SqlLine.java:885) [sqlline-1.1.6.jar:na] > at sqlline.SqlLine.begin(SqlLine.java:763) [sqlline-1.1.6.jar:na] > at sqlline.SqlLine.start(SqlLine.java:498) [sqlline-1.1.6.jar:na] > at sqlline.SqlLine.main(SqlLine.java:460) [sqlline-1.1.6.jar:na] > Error: Failure while attempting to start Drillbit in embedded mode. (state=,code > =0) > 0: jdbc:drill:zk=local> -- This message was sent by Atlassian JIRA (v6.3.4#6332)