views:

82

answers:

1

I'm trying to run a hadoop job (version 18.3) on my windows machine but I get the following error:

Caused by: javax.security.auth.login.LoginException: Login failed: CreateProcess: bash -c groups error=2
        at org.apache.hadoop.security.UnixUserGroupInformation.login(UnixUserGroupInformation.java:250)
        at org.apache.hadoop.security.UnixUserGroupInformation.login(UnixUserGroupInformation.java:275)
        at org.apache.hadoop.mapred.JobClient.configureCommandLineOptions(JobClient.java:557)
        ... 3 more

The same job works fine in an another windows machine. Do I have may be something wrong in the settings variabls? How can I fix this problem?

A: 

Maybe bash is not available on your PATH?

Do you have Cygwin installed correctly?

I really like this tutorial by Vlad Korolev to set up Hadoop on Windows.

Carl Rosenberger
Thanks, installing cygwin helps.