[jira] [Comment Edited] (DRILL-5280) Error during udf area creation due to NullPointerException during drillbit startup

2017-02-24 Thread Arina Ielchiieva (JIRA)

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

Arina Ielchiieva edited comment on DRILL-5280 at 2/24/17 4:11 PM:
--

Now I get it, thanks for clarification. Yes, the issue might be with spaces: 
likely with with $JAVA. What value it has on your environment?



was (Author: arina):
Now I get it, thanks for clarification. Yes, the issue might be with spaces: 
likely with with $JAVA. What value it has on your environment?
If I am correct, the solution can be to add in drillbit.sh (line 388) 
*JAVA=`cygpath -w "$JAVA"`*:
{code}
# Adjust paths for CYGWIN
if $is_cygwin; then
  JAVA=`cygpath -w "$JAVA"`
  DRILL_HOME=`cygpath -w "$DRILL_HOME"`
  DRILL_CONF_DIR=`cygpath -w "$DRILL_CONF_DIR"`
  DRILL_LOG_DIR=`cygpath -w "$DRILL_LOG_DIR"`
  DRILL_TMP_DIR=`cygpath -w "$DRILL_TMP_DIR"`
  CP=`cygpath -w -p "$CP"`
  if [ -z "$HADOOP_HOME" ]; then
export HADOOP_HOME=${DRILL_HOME}/winutils
  fi
fi
{code}
Can you please check if it helps?

> Error during udf area creation due to NullPointerException during drillbit 
> startup
> --
>
> Key: DRILL-5280
> URL: https://issues.apache.org/jira/browse/DRILL-5280
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.10.0
> Environment: Windows 7 64-bit
> Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
>Reporter: Usman Shahid
>
> I tried to start drill in distributed mode but ran into this:
> {code}Exception in thread "main" 
> org.apache.drill.exec.exception.DrillbitStartupException: Failure during 
> initial startup of Drillbit.
>   at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:296)
>   at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:272)
>   at org.apache.drill.exec.server.Drillbit.main(Drillbit.java:268)
> Caused by: org.apache.drill.common.exceptions.DrillRuntimeException: Error 
> during udf area creation [/C:/Users/Usman.Shahid/drill/udf/registry] on file 
> system [file:///]
>   at 
> org.apache.drill.common.exceptions.DrillRuntimeException.format(DrillRuntimeException.java:49)
>   at 
> org.apache.drill.exec.expr.fn.registry.RemoteFunctionRegistry.createArea(RemoteFunctionRegistry.java:251)
>   at 
> org.apache.drill.exec.expr.fn.registry.RemoteFunctionRegistry.prepareAreas(RemoteFunctionRegistry.java:208)
>   at 
> org.apache.drill.exec.expr.fn.registry.RemoteFunctionRegistry.init(RemoteFunctionRegistry.java:105)
>   at org.apache.drill.exec.server.Drillbit.run(Drillbit.java:126)
>   at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:292)
>   ... 2 more
> Caused by: java.lang.NullPointerException
>   at java.lang.ProcessBuilder.start(ProcessBuilder.java:1012)
>   at org.apache.hadoop.util.Shell.runCommand(Shell.java:483)
>   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.FileUtil.execCommand(FileUtil.java:1097)
>   at 
> org.apache.hadoop.fs.RawLocalFileSystem$DeprecatedRawLocalFileStatus.loadPermissionInfo(RawLocalFileSystem.java:654)
>   at 
> org.apache.hadoop.fs.RawLocalFileSystem$DeprecatedRawLocalFileStatus.getPermission(RawLocalFileSystem.java:629)
>   at 
> org.apache.drill.exec.expr.fn.registry.RemoteFunctionRegistry.createArea(RemoteFunctionRegistry.java:232)
>   ... 6 more
> {code}
> The complete stack trace for the `NullPointerException` is:
> {code}
> Thread [main] (Suspended (exception NullPointerException))
>   owns: Object  (id=57)   
>   ProcessBuilder.start() line: 1012   
>   Shell$ShellCommandExecutor(Shell).runCommand() line: 483
>   Shell$ShellCommandExecutor(Shell).run() line: 456   
>   Shell$ShellCommandExecutor.execute() line: 722  
>   Shell.execCommand(Map, String[], long) line: 815 
>   Shell.execCommand(String...) line: 798  
>   FileUtil.execCommand(File, String...) line: 1097
>   RawLocalFileSystem$DeprecatedRawLocalFileStatus.loadPermissionInfo() 
> line: 654  
>   RawLocalFileSystem$DeprecatedRawLocalFileStatus.getPermission() line: 
> 629   
>   RemoteFunctionRegistry.createArea(FileSystem, String, String) line: 232 
>   RemoteFunctionRegistry.prepareAreas(DrillConfig) line: 208  
>   RemoteFunctionRegistry.init(DrillConfig, PersistentStoreProvider, 
> ClusterCoordinator) line: 105 
>   Drillbit.run() line: 126
>   Drillbit.start(DrillConfig, RemoteServiceSet) line: 292 
>   Drillbit.start(StartupOptions) line: 

[jira] [Comment Edited] (DRILL-5280) Error during udf area creation due to NullPointerException during drillbit startup

2017-02-24 Thread Usman Shahid (JIRA)

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

Usman Shahid edited comment on DRILL-5280 at 2/24/17 2:41 PM:
--

[~arina]
It's not the script that doesn't work, the script runs perfectly. It's the 
drillbit that doesn't run. The above line is logged in drillbit.out. Restating:
{code}C:\apache-drill-1.9.0/bin/runbit: line 107: exec: c:\Program: not 
found{code}
I believe it's coming from runbit? Line 107 is the exec command and I can only 
deduce that one of the path being calculated contains a space.


was (Author: usmanshahid92):
[~arina]
It's not the script that doesn't work, the script runs perfectly. It's the 
drillbit that doesn't run. The above line is logged in drillbit.out. Restating:
{code}C:\apache-drill-1.9.0/bin/runbit: line 107: exec: c:\Program: not 
found{code}
I believe it's coming from runbit? Line 107 is the exec command and I can only 
assume that one of the path being calculated contains a space.

> Error during udf area creation due to NullPointerException during drillbit 
> startup
> --
>
> Key: DRILL-5280
> URL: https://issues.apache.org/jira/browse/DRILL-5280
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.10.0
> Environment: Windows 7 64-bit
> Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
>Reporter: Usman Shahid
>
> I tried to start drill in distributed mode but ran into this:
> {code}Exception in thread "main" 
> org.apache.drill.exec.exception.DrillbitStartupException: Failure during 
> initial startup of Drillbit.
>   at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:296)
>   at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:272)
>   at org.apache.drill.exec.server.Drillbit.main(Drillbit.java:268)
> Caused by: org.apache.drill.common.exceptions.DrillRuntimeException: Error 
> during udf area creation [/C:/Users/Usman.Shahid/drill/udf/registry] on file 
> system [file:///]
>   at 
> org.apache.drill.common.exceptions.DrillRuntimeException.format(DrillRuntimeException.java:49)
>   at 
> org.apache.drill.exec.expr.fn.registry.RemoteFunctionRegistry.createArea(RemoteFunctionRegistry.java:251)
>   at 
> org.apache.drill.exec.expr.fn.registry.RemoteFunctionRegistry.prepareAreas(RemoteFunctionRegistry.java:208)
>   at 
> org.apache.drill.exec.expr.fn.registry.RemoteFunctionRegistry.init(RemoteFunctionRegistry.java:105)
>   at org.apache.drill.exec.server.Drillbit.run(Drillbit.java:126)
>   at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:292)
>   ... 2 more
> Caused by: java.lang.NullPointerException
>   at java.lang.ProcessBuilder.start(ProcessBuilder.java:1012)
>   at org.apache.hadoop.util.Shell.runCommand(Shell.java:483)
>   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.FileUtil.execCommand(FileUtil.java:1097)
>   at 
> org.apache.hadoop.fs.RawLocalFileSystem$DeprecatedRawLocalFileStatus.loadPermissionInfo(RawLocalFileSystem.java:654)
>   at 
> org.apache.hadoop.fs.RawLocalFileSystem$DeprecatedRawLocalFileStatus.getPermission(RawLocalFileSystem.java:629)
>   at 
> org.apache.drill.exec.expr.fn.registry.RemoteFunctionRegistry.createArea(RemoteFunctionRegistry.java:232)
>   ... 6 more
> {code}
> The complete stack trace for the `NullPointerException` is:
> {code}
> Thread [main] (Suspended (exception NullPointerException))
>   owns: Object  (id=57)   
>   ProcessBuilder.start() line: 1012   
>   Shell$ShellCommandExecutor(Shell).runCommand() line: 483
>   Shell$ShellCommandExecutor(Shell).run() line: 456   
>   Shell$ShellCommandExecutor.execute() line: 722  
>   Shell.execCommand(Map, String[], long) line: 815 
>   Shell.execCommand(String...) line: 798  
>   FileUtil.execCommand(File, String...) line: 1097
>   RawLocalFileSystem$DeprecatedRawLocalFileStatus.loadPermissionInfo() 
> line: 654  
>   RawLocalFileSystem$DeprecatedRawLocalFileStatus.getPermission() line: 
> 629   
>   RemoteFunctionRegistry.createArea(FileSystem, String, String) line: 232 
>   RemoteFunctionRegistry.prepareAreas(DrillConfig) line: 208  
>   RemoteFunctionRegistry.init(DrillConfig, PersistentStoreProvider, 
> ClusterCoordinator) line: 105 
>   Drillbit.run() line: 126
>   Drillbit.start(DrillConfig, RemoteServiceSet) line: 292 
>   Drillbit.start(StartupOptions) line: 272
>  

[jira] [Comment Edited] (DRILL-5280) Error during udf area creation due to NullPointerException during drillbit startup

2017-02-24 Thread Usman Shahid (JIRA)

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

Usman Shahid edited comment on DRILL-5280 at 2/24/17 2:39 PM:
--

[~arina]
It's not the script that doesn't work, the script runs perfectly. It's the 
drillbit that doesn't run. The above line is logged in drillbit.out. Restating:
{code}C:\apache-drill-1.9.0/bin/runbit: line 107: exec: c:\Program: not 
found{code}
I believe it's coming from runbit? Line 107 is the exec command and I can only 
assume that one of the path being calculated contains a space.


was (Author: usmanshahid92):
It's not the script that doesn't work, the script runs perfectly. It's the 
drillbit that doesn't run. The above line is logged in drillbit.out. Restating:
{code}C:\apache-drill-1.9.0/bin/runbit: line 107: exec: c:\Program: not 
found{code}
I believe it's coming from runbit? Line 107 is the exec command and I can only 
assume that one of the path being calculated contains a space.

> Error during udf area creation due to NullPointerException during drillbit 
> startup
> --
>
> Key: DRILL-5280
> URL: https://issues.apache.org/jira/browse/DRILL-5280
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.10.0
> Environment: Windows 7 64-bit
> Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
>Reporter: Usman Shahid
>
> I tried to start drill in distributed mode but ran into this:
> {code}Exception in thread "main" 
> org.apache.drill.exec.exception.DrillbitStartupException: Failure during 
> initial startup of Drillbit.
>   at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:296)
>   at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:272)
>   at org.apache.drill.exec.server.Drillbit.main(Drillbit.java:268)
> Caused by: org.apache.drill.common.exceptions.DrillRuntimeException: Error 
> during udf area creation [/C:/Users/Usman.Shahid/drill/udf/registry] on file 
> system [file:///]
>   at 
> org.apache.drill.common.exceptions.DrillRuntimeException.format(DrillRuntimeException.java:49)
>   at 
> org.apache.drill.exec.expr.fn.registry.RemoteFunctionRegistry.createArea(RemoteFunctionRegistry.java:251)
>   at 
> org.apache.drill.exec.expr.fn.registry.RemoteFunctionRegistry.prepareAreas(RemoteFunctionRegistry.java:208)
>   at 
> org.apache.drill.exec.expr.fn.registry.RemoteFunctionRegistry.init(RemoteFunctionRegistry.java:105)
>   at org.apache.drill.exec.server.Drillbit.run(Drillbit.java:126)
>   at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:292)
>   ... 2 more
> Caused by: java.lang.NullPointerException
>   at java.lang.ProcessBuilder.start(ProcessBuilder.java:1012)
>   at org.apache.hadoop.util.Shell.runCommand(Shell.java:483)
>   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.FileUtil.execCommand(FileUtil.java:1097)
>   at 
> org.apache.hadoop.fs.RawLocalFileSystem$DeprecatedRawLocalFileStatus.loadPermissionInfo(RawLocalFileSystem.java:654)
>   at 
> org.apache.hadoop.fs.RawLocalFileSystem$DeprecatedRawLocalFileStatus.getPermission(RawLocalFileSystem.java:629)
>   at 
> org.apache.drill.exec.expr.fn.registry.RemoteFunctionRegistry.createArea(RemoteFunctionRegistry.java:232)
>   ... 6 more
> {code}
> The complete stack trace for the `NullPointerException` is:
> {code}
> Thread [main] (Suspended (exception NullPointerException))
>   owns: Object  (id=57)   
>   ProcessBuilder.start() line: 1012   
>   Shell$ShellCommandExecutor(Shell).runCommand() line: 483
>   Shell$ShellCommandExecutor(Shell).run() line: 456   
>   Shell$ShellCommandExecutor.execute() line: 722  
>   Shell.execCommand(Map, String[], long) line: 815 
>   Shell.execCommand(String...) line: 798  
>   FileUtil.execCommand(File, String...) line: 1097
>   RawLocalFileSystem$DeprecatedRawLocalFileStatus.loadPermissionInfo() 
> line: 654  
>   RawLocalFileSystem$DeprecatedRawLocalFileStatus.getPermission() line: 
> 629   
>   RemoteFunctionRegistry.createArea(FileSystem, String, String) line: 232 
>   RemoteFunctionRegistry.prepareAreas(DrillConfig) line: 208  
>   RemoteFunctionRegistry.init(DrillConfig, PersistentStoreProvider, 
> ClusterCoordinator) line: 105 
>   Drillbit.run() line: 126
>   Drillbit.start(DrillConfig, RemoteServiceSet) line: 292 
>   Drillbit.start(StartupOptions) line: 272
>   

[jira] [Comment Edited] (DRILL-5280) Error during udf area creation due to NullPointerException during drillbit startup

2017-02-24 Thread Usman Shahid (JIRA)

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

Usman Shahid edited comment on DRILL-5280 at 2/24/17 2:39 PM:
--

It's not the script that doesn't work, the script runs perfectly. It's the 
drillbit that doesn't run. The above line is logged in drillbit.out. Restating:
{code}C:\apache-drill-1.9.0/bin/runbit: line 107: exec: c:\Program: not 
found{code}
I believe it's coming from runbit? Line 107 is the exec command and I can only 
assume that one of the path being calculated contains a space.


was (Author: usmanshahid92):
It's not the script that doesn't work, the script runs perfectly. It's the 
drillbit that doesn't run. The above line is logged in drillbit.out. Restating:
{code}C:\apache-drill-1.9.0/bin/runbit: line 107: exec: c:\Program: not 
found{code}
I believe it's coming from runbit?

> Error during udf area creation due to NullPointerException during drillbit 
> startup
> --
>
> Key: DRILL-5280
> URL: https://issues.apache.org/jira/browse/DRILL-5280
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.10.0
> Environment: Windows 7 64-bit
> Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
>Reporter: Usman Shahid
>
> I tried to start drill in distributed mode but ran into this:
> {code}Exception in thread "main" 
> org.apache.drill.exec.exception.DrillbitStartupException: Failure during 
> initial startup of Drillbit.
>   at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:296)
>   at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:272)
>   at org.apache.drill.exec.server.Drillbit.main(Drillbit.java:268)
> Caused by: org.apache.drill.common.exceptions.DrillRuntimeException: Error 
> during udf area creation [/C:/Users/Usman.Shahid/drill/udf/registry] on file 
> system [file:///]
>   at 
> org.apache.drill.common.exceptions.DrillRuntimeException.format(DrillRuntimeException.java:49)
>   at 
> org.apache.drill.exec.expr.fn.registry.RemoteFunctionRegistry.createArea(RemoteFunctionRegistry.java:251)
>   at 
> org.apache.drill.exec.expr.fn.registry.RemoteFunctionRegistry.prepareAreas(RemoteFunctionRegistry.java:208)
>   at 
> org.apache.drill.exec.expr.fn.registry.RemoteFunctionRegistry.init(RemoteFunctionRegistry.java:105)
>   at org.apache.drill.exec.server.Drillbit.run(Drillbit.java:126)
>   at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:292)
>   ... 2 more
> Caused by: java.lang.NullPointerException
>   at java.lang.ProcessBuilder.start(ProcessBuilder.java:1012)
>   at org.apache.hadoop.util.Shell.runCommand(Shell.java:483)
>   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.FileUtil.execCommand(FileUtil.java:1097)
>   at 
> org.apache.hadoop.fs.RawLocalFileSystem$DeprecatedRawLocalFileStatus.loadPermissionInfo(RawLocalFileSystem.java:654)
>   at 
> org.apache.hadoop.fs.RawLocalFileSystem$DeprecatedRawLocalFileStatus.getPermission(RawLocalFileSystem.java:629)
>   at 
> org.apache.drill.exec.expr.fn.registry.RemoteFunctionRegistry.createArea(RemoteFunctionRegistry.java:232)
>   ... 6 more
> {code}
> The complete stack trace for the `NullPointerException` is:
> {code}
> Thread [main] (Suspended (exception NullPointerException))
>   owns: Object  (id=57)   
>   ProcessBuilder.start() line: 1012   
>   Shell$ShellCommandExecutor(Shell).runCommand() line: 483
>   Shell$ShellCommandExecutor(Shell).run() line: 456   
>   Shell$ShellCommandExecutor.execute() line: 722  
>   Shell.execCommand(Map, String[], long) line: 815 
>   Shell.execCommand(String...) line: 798  
>   FileUtil.execCommand(File, String...) line: 1097
>   RawLocalFileSystem$DeprecatedRawLocalFileStatus.loadPermissionInfo() 
> line: 654  
>   RawLocalFileSystem$DeprecatedRawLocalFileStatus.getPermission() line: 
> 629   
>   RemoteFunctionRegistry.createArea(FileSystem, String, String) line: 232 
>   RemoteFunctionRegistry.prepareAreas(DrillConfig) line: 208  
>   RemoteFunctionRegistry.init(DrillConfig, PersistentStoreProvider, 
> ClusterCoordinator) line: 105 
>   Drillbit.run() line: 126
>   Drillbit.start(DrillConfig, RemoteServiceSet) line: 292 
>   Drillbit.start(StartupOptions) line: 272
>   Drillbit.main(String[]) line: 268   
> {code}
> To further pinpoint it, the call to 

[jira] [Comment Edited] (DRILL-5280) Error during udf area creation due to NullPointerException during drillbit startup

2017-02-24 Thread Usman Shahid (JIRA)

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

Usman Shahid edited comment on DRILL-5280 at 2/24/17 2:37 PM:
--

It's not the script that doesn't work, the script runs perfectly. It's the 
drillbit that doesn't run. The above line is logged in drillbit.out. Restating:
{code}C:\apache-drill-1.9.0/bin/runbit: line 107: exec: c:\Program: not 
found{code}
I believe it's coming from runbit?


was (Author: usmanshahid92):
It's not the script that doesn't work, the script runs perfectly. It's the 
drillbit that doesn't run. The above line is logged in drillbit.out. Restating:
{code}C:\apache-drill-1.9.0/bin/runbit: line 107: exec: c:\Program: not 
found{code}


> Error during udf area creation due to NullPointerException during drillbit 
> startup
> --
>
> Key: DRILL-5280
> URL: https://issues.apache.org/jira/browse/DRILL-5280
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.10.0
> Environment: Windows 7 64-bit
> Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
>Reporter: Usman Shahid
>
> I tried to start drill in distributed mode but ran into this:
> {code}Exception in thread "main" 
> org.apache.drill.exec.exception.DrillbitStartupException: Failure during 
> initial startup of Drillbit.
>   at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:296)
>   at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:272)
>   at org.apache.drill.exec.server.Drillbit.main(Drillbit.java:268)
> Caused by: org.apache.drill.common.exceptions.DrillRuntimeException: Error 
> during udf area creation [/C:/Users/Usman.Shahid/drill/udf/registry] on file 
> system [file:///]
>   at 
> org.apache.drill.common.exceptions.DrillRuntimeException.format(DrillRuntimeException.java:49)
>   at 
> org.apache.drill.exec.expr.fn.registry.RemoteFunctionRegistry.createArea(RemoteFunctionRegistry.java:251)
>   at 
> org.apache.drill.exec.expr.fn.registry.RemoteFunctionRegistry.prepareAreas(RemoteFunctionRegistry.java:208)
>   at 
> org.apache.drill.exec.expr.fn.registry.RemoteFunctionRegistry.init(RemoteFunctionRegistry.java:105)
>   at org.apache.drill.exec.server.Drillbit.run(Drillbit.java:126)
>   at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:292)
>   ... 2 more
> Caused by: java.lang.NullPointerException
>   at java.lang.ProcessBuilder.start(ProcessBuilder.java:1012)
>   at org.apache.hadoop.util.Shell.runCommand(Shell.java:483)
>   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.FileUtil.execCommand(FileUtil.java:1097)
>   at 
> org.apache.hadoop.fs.RawLocalFileSystem$DeprecatedRawLocalFileStatus.loadPermissionInfo(RawLocalFileSystem.java:654)
>   at 
> org.apache.hadoop.fs.RawLocalFileSystem$DeprecatedRawLocalFileStatus.getPermission(RawLocalFileSystem.java:629)
>   at 
> org.apache.drill.exec.expr.fn.registry.RemoteFunctionRegistry.createArea(RemoteFunctionRegistry.java:232)
>   ... 6 more
> {code}
> The complete stack trace for the `NullPointerException` is:
> {code}
> Thread [main] (Suspended (exception NullPointerException))
>   owns: Object  (id=57)   
>   ProcessBuilder.start() line: 1012   
>   Shell$ShellCommandExecutor(Shell).runCommand() line: 483
>   Shell$ShellCommandExecutor(Shell).run() line: 456   
>   Shell$ShellCommandExecutor.execute() line: 722  
>   Shell.execCommand(Map, String[], long) line: 815 
>   Shell.execCommand(String...) line: 798  
>   FileUtil.execCommand(File, String...) line: 1097
>   RawLocalFileSystem$DeprecatedRawLocalFileStatus.loadPermissionInfo() 
> line: 654  
>   RawLocalFileSystem$DeprecatedRawLocalFileStatus.getPermission() line: 
> 629   
>   RemoteFunctionRegistry.createArea(FileSystem, String, String) line: 232 
>   RemoteFunctionRegistry.prepareAreas(DrillConfig) line: 208  
>   RemoteFunctionRegistry.init(DrillConfig, PersistentStoreProvider, 
> ClusterCoordinator) line: 105 
>   Drillbit.run() line: 126
>   Drillbit.start(DrillConfig, RemoteServiceSet) line: 292 
>   Drillbit.start(StartupOptions) line: 272
>   Drillbit.main(String[]) line: 268   
> {code}
> To further pinpoint it, the call to _Shell.getGetPermissionCommand()_ at 
> _RawLocalFileSystem$DeprecatedRawLocalFileStatus.loadPermissionInfo()_ 
> returns a new String[] { WINUTILS, "ls", "-F" }. It's this