You are right this is related to Windows. I am using Windows8.

Placed the WinUtils.exe in HADOOP_HOME/bin.

Issue does not occur anymore.



On Mon, Oct 5, 2015 at 3:30 PM, Steve Loughran <ste...@hortonworks.com>
wrote:

> this is windows, isn't it? you're missing a winutils.exe in the right
> place, and hadoop core isn't providing anything meaningful. Hadoop 2.8 will
> provide more diagnostics, including a link to this wiki page:
>
>
> https://wiki.apache.org/hadoop/WindowsProblems
>
>
>
> On 5 Oct 2015, at 05:26, Julius Fernandes <julius.oli...@gmail.com> wrote:
>
>
> Caused by: java.lang.NullPointerException
>         at java.lang.ProcessBuilder.start(ProcessBuilder.java:1010)
>         at org.apache.hadoop.util.Shell.runCommand(Shell.java:482)
>         at org.apache.hadoop.util.Shell.run(Shell.java:455)
>         at
> org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:715)
>         at org.apache.hadoop.util.Shell.execCommand(Shell.java:808)
>         at org.apache.hadoop.util.Shell.execCommand(Shell.java:791)
>         at org.apache.hadoop.fs.FileUtil.execCommand(FileUtil.java:1097)
>         at
> org.apache.hadoop.fs.RawLocalFileSystem$DeprecatedRawLocalFileStatus.loadPermissionInfo(RawLocalFileSystem.java:582)
>         at
> org.apache.hadoop.fs.RawLocalFileSystem$DeprecatedRawLocalFileStatus.getPermission(RawLocalFileSystem.java:557)
>         at
> org.apache.hadoop.hive.ql.session.SessionState.createRootHDFSDir(SessionState.java:599)
>         at
> org.apache.hadoop.hive.ql.session.SessionState.createSessionDirs(SessionState.java:554)
>         at
> org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:508)
>         ... 56 more
>
>
>

Reply via email to