You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Aditya Kishore (JIRA)" <ji...@apache.org> on 2015/11/06 23:18:11 UTC

[jira] [Commented] (DRILL-4042) Unable to run sqlline in embedded mode on Windows

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

Aditya Kishore commented on DRILL-4042:
---------------------------------------

I'll take up the task of reviewing, testing and committing it.

> Unable to run sqlline in embedded mode on Windows
> -------------------------------------------------
>
>                 Key: DRILL-4042
>                 URL: https://issues.apache.org/jira/browse/DRILL-4042
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Client - CLI
>    Affects Versions: 1.3.0
>            Reporter: Aditya Kishore
>            Assignee: Zelaine Fong
>            Priority: Blocker
>         Attachments: DRILL-4042.1.patch.txt
>
>
> Hadoop binaries ({{hadoop.dll}}, {{winutils.exe}}) bundled with Drill are out of date and needs to be rebuilt with Hadoop 2.7.
> Running sqlline in embedded mode hangs after any command.
> {noformat}
> $ ./bin/sqlline -u jdbc:drill:zk=local
> Nov 05, 2015 3:23:19 PM org.glassfish.jersey.server.ApplicationHandler initialize
> INFO: Initiating Jersey application, version Jersey: 2.8 2014-04-29 01:25:26...
> apache drill 1.3.0-SNAPSHOT
> "drill baby drill"
> 0: jdbc:drill:zk=local> use dfs;
> Exception in thread "drill-executor-2" java.lang.UnsatisfiedLinkError: org.apache.hadoop.io.nativeio.NativeIO$Windows.createFileWithMode0(Ljava/lang/String;JJJI)Ljava/io/FileDescriptor;
>         at org.apache.hadoop.io.nativeio.NativeIO$Windows.createFileWithMode0(Native Method)
>         at org.apache.hadoop.io.nativeio.NativeIO$Windows.createFileOutputStreamWithMode(NativeIO.java:559)
>         at org.apache.hadoop.fs.RawLocalFileSystem$LocalFSFileOutputStream.<init>(RawLocalFileSystem.java:219)
>         at org.apache.hadoop.fs.RawLocalFileSystem$LocalFSFileOutputStream.<init>(RawLocalFileSystem.java:209)
>         at org.apache.hadoop.fs.RawLocalFileSystem.createOutputStreamWithMode(RawLocalFileSystem.java:305)
>         at org.apache.hadoop.fs.RawLocalFileSystem.create(RawLocalFileSystem.java:294)
>         at org.apache.hadoop.fs.RawLocalFileSystem.create(RawLocalFileSystem.java:326)
>         at org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSOutputSummer.<init>(ChecksumFileSystem.java:393)
>         at org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:456)
>         at org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:435)
>         at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:909)
>         at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:890)
>         at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:787)
>         at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:776)
>         at org.apache.drill.exec.store.dfs.DrillFileSystem.create(DrillFileSystem.java:159)
>         at org.apache.drill.exec.store.sys.local.FilePStore.put(FilePStore.java:145)
>         at org.apache.drill.exec.work.foreman.QueryManager.writeFinalProfile(QueryManager.java:307)
>         at org.apache.drill.exec.work.foreman.Foreman$ForemanResult.close(Foreman.java:749)
>         at org.apache.drill.exec.work.foreman.Foreman$StateSwitch.processEvent(Foreman.java:841)
>         at org.apache.drill.exec.work.foreman.Foreman$StateSwitch.processEvent(Foreman.java:786)
>         at org.apache.drill.common.EventProcessor.sendEvent(EventProcessor.java:73)
>         at org.apache.drill.exec.work.foreman.Foreman$StateSwitch.moveToState(Foreman.java:788)
>         at org.apache.drill.exec.work.foreman.Foreman.moveToState(Foreman.java:894)
>         at org.apache.drill.exec.work.foreman.Foreman.run(Foreman.java:255)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:745)
> {noformat}



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