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

Drill fails to start in embedded mode on windows

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 1.1.0
    • Component/s: Tools, Build & Test
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              knguyen Krystal
              Reporter:
              knguyen Krystal
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: