Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-1878

Unable to start Drillbit in distributed mode on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.7.0
    • 0.7.0
    • Metadata

    Description

      Attempts to run Drillbit on Windows fails and Drillbit shutdowns with the following error.

      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.
      

      The manually built URI at FilePStore.java:76 can not be parsed correctly by Hadoop FileSystem class.

      Attachments

        Activity

          People

            adityakishore Aditya Kishore
            adityakishore Aditya Kishore
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: