You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Krystal (JIRA)" <ji...@apache.org> on 2015/02/25 19:38:05 UTC

[jira] [Commented] (DRILL-2310) Drill fails to start in embedded mode on windows

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

Krystal commented on DRILL-2310:
--------------------------------

If I remove the "/tmp/drill" then run the embedded sqlline command again, I see the following error:

10:32:08.835 [main] DEBUG org.apache.hadoop.security.Groups -  Creating new Groups object
10:32:08.838 [main] DEBUG o.a.hadoop.util.NativeCodeLoader - Trying to load the custom-built native-hadoop library...
10:32:08.842 [main] DEBUG o.a.hadoop.util.NativeCodeLoader - Failed to load native-hadoop with error: java.lang.Unsatisf
iedLinkError: no hadoop in java.library.path
10:32:08.842 [main] DEBUG o.a.hadoop.util.NativeCodeLoader - java.library.path=C:\Program Files\Java\jre7\bin;C:\Windows
\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32
\WindowsPowerShell\v1.0\;C:\Program Files\MIT\Kerberos\bin;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Prog
ram Files\Microsoft SQL Server\100\DTS\Binn\;c:\Program Files\Microsoft SQL Server\110\Tools\Binn\;c:\Program Files\Micr
osoft SQL Server\110\DTS\Binn\;c:\Program Files\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\;C:\Dwimperl\perl\b
in;C:\Dwimperl\perl\site\bin;C:\Dwimperl\c\bin;;.
10:32:08.844 [main] WARN  o.a.hadoop.util.NativeCodeLoader - Unable to load native-hadoop library for your platform... u
sing builtin-java classes where applicable
10:32:08.844 [main] DEBUG o.a.h.s.JniBasedUnixGroupsMappingWithFallback - Falling back to shell based
10:32:08.845 [main] DEBUG o.a.h.s.JniBasedUnixGroupsMappingWithFallback - Group mapping impl=org.apache.hadoop.security.
ShellBasedUnixGroupsMapping
10:32:08.939 [main] DEBUG org.apache.hadoop.security.Groups - Group mapping impl=org.apache.hadoop.security.JniBasedUnix
GroupsMappingWithFallback; cacheTimeout=300000; warningDeltaMs=5000
10:32:08.955 [main] DEBUG o.a.h.security.UserGroupInformation - hadoop login
10:32:08.956 [main] DEBUG o.a.h.security.UserGroupInformation - hadoop login commit
10:32:08.963 [main] DEBUG o.a.h.security.UserGroupInformation - using local user:NTUserPrincipal: knguyen
10:32:08.965 [main] DEBUG o.a.h.security.UserGroupInformation - UGI loginUser:knguyen (auth:SIMPLE)
10:32:09.105 [main] DEBUG i.n.util.internal.ThreadLocalRandom - -Dio.netty.initialSeedUniquifier: 0x5a743e3ed1a26dab (to
ok 9 ms)
10:32:09.134 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.allocator.type: unpooled
10:32:09.134 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.threadLocalDirectBufferSize: 65536
10:32:09.171 [main] DEBUG io.netty.util.NetUtil - Loopback interface: lo (Software Loopback Interface 1, 127.0.0.1)
10:32:09.172 [main] DEBUG io.netty.util.NetUtil - \proc\sys\net\core\somaxconn: 200 (non-existent)
Error: Failure while attempting to start Drillbit in embedded mode. (state=,code=0) 


If I run the same sqlline command again, I would get the original error of "java.io.EOFException: null".

> Drill fails to start in embedded mode on windows
> ------------------------------------------------
>
>                 Key: DRILL-2310
>                 URL: https://issues.apache.org/jira/browse/DRILL-2310
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Tools, Build & Test
>    Affects Versions: 0.8.0
>            Reporter: Krystal
>            Assignee: Steven Phillips
>
> git.commit.id.abbrev=c8d2fe1
> I installed it on windows 7
> I invoked sqlline in embedded mode via:
> C:\drill\apache-drill-0.8.0-SNAPSHOT\bin>sqlline.bat -u "jdbc:drill:zk=local"
> I got the following error:
> Error: Failure while attempting to start Drillbit in embedded mode. (state=,code=0)
> With debug turned on, the following error is displayed:
> 15:36:53.608 [main] WARN  org.apache.hadoop.fs.FSInputChecker - Problem opening checksum file: /tmp/drill/sys.storage_
> ugins/hbase.sys.drill.  Ignoring exception:
> java.io.EOFException: null
>         at java.io.DataInputStream.readFully(Unknown Source) ~[na:1.7.0_10]
>         at java.io.DataInputStream.readFully(Unknown Source) ~[na:1.7.0_10]
>         at org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSInputChecker.<init>(ChecksumFileSystem.java:146) ~[hadoop
> ommon-2.4.1.jar:na]
>         at org.apache.hadoop.fs.ChecksumFileSystem.open(ChecksumFileSystem.java:339) [hadoop-common-2.4.1.jar:na]
>         at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:764) [hadoop-common-2.4.1.jar:na]
>         at org.apache.drill.exec.store.dfs.DrillFileSystem.open(DrillFileSystem.java:145) [drill-java-exec-0.8.0-SNAPS
> T-rebuffed.jar:0.8.0-SNAPSHOT]
>         at org.apache.drill.exec.store.sys.local.FilePStore.get(FilePStore.java:136) [drill-java-exec-0.8.0-SNAPSHOT-r
> uffed.jar:0.8.0-SNAPSHOT]
>         at org.apache.drill.exec.store.sys.local.FilePStore$Iter$DeferredEntry.getValue(FilePStore.java:218) [drill-ja
> -exec-0.8.0-SNAPSHOT-rebuffed.jar:0.8.0-SNAPSHOT]
>         at org.apache.drill.exec.store.StoragePluginRegistry.createPlugins(StoragePluginRegistry.java:166) [drill-java
> xec-0.8.0-SNAPSHOT-rebuffed.jar:0.8.0-SNAPSHOT]
>         at org.apache.drill.exec.store.StoragePluginRegistry.init(StoragePluginRegistry.java:130) [drill-java-exec-0.8
> -SNAPSHOT-rebuffed.jar:0.8.0-SNAPSHOT]
>         at org.apache.drill.exec.server.Drillbit.run(Drillbit.java:155) [drill-java-exec-0.8.0-SNAPSHOT-rebuffed.jar:0
> .0-SNAPSHOT]
>         at org.apache.drill.jdbc.DrillConnectionImpl.<init>(DrillConnectionImpl.java:79) [drill-jdbc-0.8.0-SNAPSHOT.ja
> 0.8.0-SNAPSHOT]
>         at org.apache.drill.jdbc.DrillJdbc41Factory$DrillJdbc41Connection.<init>(DrillJdbc41Factory.java:94) [drill-jd
> -0.8.0-SNAPSHOT.jar:0.8.0-SNAPSHOT]
>         at org.apache.drill.jdbc.DrillJdbc41Factory.newDrillConnection(DrillJdbc41Factory.java:57) [drill-jdbc-0.8.0-S
> PSHOT.jar:0.8.0-SNAPSHOT]
>         at org.apache.drill.jdbc.DrillJdbc41Factory.newDrillConnection(DrillJdbc41Factory.java:43) [drill-jdbc-0.8.0-S
> PSHOT.jar:0.8.0-SNAPSHOT]
>         at org.apache.drill.jdbc.DrillFactory.newConnection(DrillFactory.java:54) [drill-jdbc-0.8.0-SNAPSHOT.jar:0.8.0
> NAPSHOT]
>         at net.hydromatic.avatica.UnregisteredDriver.connect(UnregisteredDriver.java:126) [optiq-avatica-0.9-drill-r20
> ar:na]
>         at sqlline.SqlLine$DatabaseConnection.connect(SqlLine.java:4732) [sqlline-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.jar:na]
>         at sqlline.SqlLine$Commands.connect(SqlLine.java:3935) [sqlline-1.1.6.jar:na]
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_10]
>         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7.0_10]
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7.0_10]
>         at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.7.0_10]
>         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.initArgs(SqlLine.java:693) [sqlline-1.1.6.jar:na]
>         at sqlline.SqlLine.begin(SqlLine.java:745) [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]
> Drill successfully created the /tmp/drill/sys.storage_
> ugins/hbase.sys.drill file so not sure why it can't access it.  The file/directory has appropriate permissions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)