You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Aditya Kishore (JIRA)" <ji...@apache.org> on 2014/12/17 02:05:08 UTC

[jira] [Created] (DRILL-1878) Unable to start Drillbit in distributed mode on Windows

Aditya Kishore created DRILL-1878:
-------------------------------------

             Summary: Unable to start Drillbit in distributed mode on Windows
                 Key: DRILL-1878
                 URL: https://issues.apache.org/jira/browse/DRILL-1878
             Project: Apache Drill
          Issue Type: Bug
          Components: Metadata
    Affects Versions: 0.7.0
            Reporter: Aditya Kishore
            Assignee: Aditya Kishore
            Priority: Critical
             Fix For: 0.7.0


Attempts to run Drillbit on Windows fails and Drillbit shutdowns with the following error.
{noformat}
2014-12-16 13:26:07,808 [main] INFO  o.a.d.exec.store.sys.PStoreRegistry - Using the configured PStoreProvider class: 'org.apache.drill.exec.store.sys.zk.ZkPStoreProvider'.
2014-12-16 13:26:08,289 [main] ERROR o.a.d.exec.store.sys.PStoreRegistry - null
java.lang.reflect.InvocationTargetException: null
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_67]
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[na:1.7.0_67]
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.7.0_67]
	at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[na:1.7.0_67]
	at org.apache.drill.exec.store.sys.PStoreRegistry.newPStoreProvider(PStoreRegistry.java:56) ~[drill-java-exec-0.7.0-rebuffed.jar:0.7.0]
	at org.apache.drill.exec.server.Drillbit.<init>(Drillbit.java:113) [drill-java-exec-0.7.0-rebuffed.jar:0.7.0]
	at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:66) [drill-java-exec-0.7.0-rebuffed.jar:0.7.0]
	at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:59) [drill-java-exec-0.7.0-rebuffed.jar:0.7.0]
	at org.apache.drill.exec.server.Drillbit.main(Drillbit.java:82) [drill-java-exec-0.7.0-rebuffed.jar:0.7.0]
Caused by: java.lang.IllegalArgumentException: Wrong FS: file://C:\cygwin\var\log\drill, expected: file:///
	at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:643) ~[hadoop-common-2.4.1.jar:na]
	at org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:79) ~[hadoop-common-2.4.1.jar:na]
	at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:405) ~[hadoop-common-2.4.1.jar:na]
	at org.apache.hadoop.fs.ChecksumFileSystem.mkdirs(ChecksumFileSystem.java:584) ~[hadoop-common-2.4.1.jar:na]
	at org.apache.drill.exec.store.sys.local.FilePStore.getFileSystem(FilePStore.java:88) ~[drill-java-exec-0.7.0-rebuffed.jar:0.7.0]
	at org.apache.drill.exec.store.sys.zk.ZkPStoreProvider.<init>(ZkPStoreProvider.java:64) ~[drill-java-exec-0.7.0-rebuffed.jar:0.7.0]
	... 9 common frames omitted
2014-12-16 13:26:08,299 [ShutdownHook] INFO  o.apache.drill.exec.server.Drillbit - Received shutdown request.
{noformat}

The manually built URI at [FilePStore.java:76|https://github.com/apache/drill/blob/fc58c693ae0cd9234e5e62a7602b4cc216b8549d/exec/java-exec/src/main/java/org/apache/drill/exec/store/sys/local/FilePStore.java#L76] can not be parsed correctly by Hadoop FileSystem class.



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