One reason I can think of is that "%HADOOP_HOME%" is not set to point to
"%DRILL_HOME%\winutils" or a valid Hadoop home directory.

If it is not the case, please check if you are able to run
"d:\apache-drill\winutils\bin\winutils.exe" in a command prompt without any
error.

On Thu, Sep 8, 2016 at 10:41 AM, Holy Alexander <
[email protected]> wrote:

> Today I tried installing Drill 1.8 (in embedded mode) on a production
> Windows 2012R2 Server, using the identical setup that is working find on my
> Windows 10 Development workstation.
> Disk layout is identical on the production machine.
>
> For reasons I can't figure, drill fails to write to /tmp/drill/sys.storage_
> plugins/hbase.sys.drill
> (I'm positively sure the file system permission are totally fine on my
> production system and drill has the right to write there.
> In fact, it creates the /tmp/drill/sys.storage_plugins directory, but the
> hbase.sys.drill file has 0 bytes site.
> )
>
> Any clues?
>
> Best regards,
> Alexander
>
> Stack trace is:
>
> DRILL_ARGS - " -u jdbc:drill:zk=local"
> HADOOP_HOME not detected...
> HBASE_HOME not detected...
> Calculating Drill classpath...
> Error: Failure in starting embedded Drillbit: java.lang.RuntimeException:
> ExitCodeException exitCode=-1073741515: (state=,code=0)
> java.sql.SQLException: Failure in starting embedded Drillbit:
> java.lang.RuntimeException: ExitCodeException exitCode=-1073741515:
>         at org.apache.drill.jdbc.impl.DrillConnectionImpl.<init>(
> DrillConnectionImpl.java:130)
>         at org.apache.drill.jdbc.impl.DrillJdbc41Factory.
> newDrillConnection(DrillJdbc41Factory.java:64)
>         at org.apache.drill.jdbc.impl.DrillFactory.newConnection(
> DrillFactory.java:69)
>         at net.hydromatic.avatica.UnregisteredDriver.connect(
> UnregisteredDriver.java:126)
>         at org.apache.drill.jdbc.Driver.connect(Driver.java:72)
>         at sqlline.DatabaseConnection.connect(DatabaseConnection.java:167)
>         at sqlline.DatabaseConnection.getConnection(
> DatabaseConnection.java:213)
>
>         at sqlline.Commands.connect(Commands.java:1083)
>         at sqlline.Commands.connect(Commands.java:1015)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:62)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>         at sqlline.ReflectiveCommandHandler.execute(
> ReflectiveCommandHandler.java:36)
>         at sqlline.SqlLine.dispatch(SqlLine.java:742)
>         at sqlline.SqlLine.initArgs(SqlLine.java:528)
>         at sqlline.SqlLine.begin(SqlLine.java:596)
>         at sqlline.SqlLine.start(SqlLine.java:375)
>         at sqlline.SqlLine.main(SqlLine.java:268)
> Caused by: java.lang.RuntimeException: ExitCodeException
> exitCode=-1073741515:
>         at org.apache.drill.exec.store.sys.store.LocalPersistentStore.put(
> LocalPersistentStore.java:165)
>         at org.apache.drill.exec.store.sys.store.LocalPersistentStore.
> putIfAbsent(LocalPersistentStore.java:176)
>         at org.apache.drill.exec.store.StoragePluginRegistryImpl.
> createPlugins(StoragePluginRegistryImpl.java:146)
>         at org.apache.drill.exec.store.StoragePluginRegistryImpl.init(
> StoragePluginRegistryImpl.java:126)
>         at org.apache.drill.exec.server.Drillbit.run(Drillbit.java:123)
>         at org.apache.drill.jdbc.impl.DrillConnectionImpl.<init>(
> DrillConnectionImpl.java:121)
>         ... 18 more
> Caused by: ExitCodeException exitCode=-1073741515:
>         at org.apache.hadoop.util.Shell.runCommand(Shell.java:545)
>         at org.apache.hadoop.util.Shell.run(Shell.java:456)
>         at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(
> Shell.java:722)
>         at org.apache.hadoop.util.Shell.execCommand(Shell.java:815)
>         at org.apache.hadoop.util.Shell.execCommand(Shell.java:798)
>         at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(
> RawLocalFileSystem.java:728)
>         at org.apache.hadoop.fs.RawLocalFileSystem$
> LocalFSFileOutputStream.<init>(RawLocalFileSystem.java:225)
>         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.store.LocalPersistentStore.put(
> LocalPersistentStore.java:162)
>         ... 23 more
> apache drill 1.8.0
> "drill baby drill"
> 0: jdbc:drill:zk=local> !quit
> Error: Failure in starting embedded Drillbit: java.lang.RuntimeException:
> Unable
> to deserialize "/tmp/drill/sys.storage_plugins/hbase.sys.drill"
> (state=,code=0)
>
> Error: Failure in starting embedded Drillbit: java.lang.RuntimeException:
> Unable
> to deserialize "/tmp/drill/sys.storage_plugins/hbase.sys.drill"
> (state=,code=0)
>
> d:\apache-drill>
>

Reply via email to