Error 'failure to login: No LoginModules configured for hadoop_default' when validating MapR Tickets connectivity


When connecting to a MapReduce cluster and validating MapR Tickets connectivity, you may get the following error:

org.talend.designer.hdfsbrowse.exceptions.HadoopServerException: org.talend.designer.hdfsbrowse.exceptions.HadoopServerException: java.util.concurrent.ExecutionException: java.lang.reflect.InvocationTargetException at org.talend.designer.hdfsbrowse.hadoop.service.check.AbstractCheckedServiceProvider.checkService
Caused by: org.talend.designer.hdfsbrowse.exceptions.HadoopServerException: java.util.concurrent.ExecutionException: java.lang.reflect.InvocationTargetException 
Caused by: java.util.concurrent.ExecutionException: java.lang.reflect.InvocationTargetException 
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.util.ServiceConfigurationError: org.apache.hadoop.fs.FileSystem: Provider org.apache.hadoop.fs.viewfs.ViewFileSystem could not be instantiated
Caused by: failure to login: No LoginModules configured for hadoop_default


Root Cause

The MapR distribution for Hadoop uses the Java Authentication and Authorization Service (JAAS) to control security features. The /opt/mapr/conf/mapr.login.conf file specifies configuration parameters for JAAS. When the error shown above occurs in Studio, it means Studio is unable to find this file.



To resolve the error, add the following line to the studio.ini file in the Studio installation directory or in the JVM arguments for the connection component.


Version history
Revision #:
6 of 6
Last update:
‎12-12-2017 05:10 PM
Updated by: