atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nixon Rodrigues <>
Subject Re: Review Request 49636: ATLAS-990 - Hive Import metadata script fails with auth exception.
Date Thu, 14 Jul 2016 17:05:02 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated July 14, 2016, 5:05 p.m.)

Review request for atlas, Madhan Neethiraj, Mehul Parikh, Shwetha GS, Suma Shivaprasad, and
Hemanth Yamijala.


The actaul caused of NPE exception was signer object being null in AuthenticationFilter, so
overridden the getToken method in AtlasAuthentication and verified initialization of all the
 member variables of Authentication Filter.

Upgraded hadoop auth  version to 2.7.1.

Testing done:-Verified Import Hive script in kerberos mode & Hive Data Model is imported
              Ran Quick Start in kerberos mode.
              Tested curl commands with and without kinit.
              Tested Atlas UI with fqdn url in firefox after kinit without going through login

Bugs: ATLAS-990

Repository: atlas


Changes include fix for authentication failing while hive import script.

The getToken method was throwing nullpointer exception, so overriden the getToken method and
added NPE check do fix it.

2016-07-04 14:13:58,946 ERROR - [qtp817406040-17:] ~ Exception in AtlasAuthenticationFilter
	at org.apache.atlas.web.filters.AtlasAuthenticationFilter.doKerberosAuth(
	at org.apache.atlas.web.filters.AtlasAuthenticationFilter.doFilter(

Diffs (updated)

  client/src/main/java/org/apache/atlas/security/ 1686112 
  pom.xml 88b7ee9 
  webapp/src/main/java/org/apache/atlas/web/filters/ 1b70e9b



Ran Quick start after kinit and worked fine and example data was populated.
Ran import hive script after kinit and hive tables schema details was seen.
Browsed Atlas UI with fqdn url in firefox after kinit without going through login page. 



Nixon Rodrigues

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message