Commit c9176273 by Shwetha GS

ATLAS-335 Kerberized cluster: Atlas fails to come up with hbase as backend (sumasai via shwethags)

parent 9710cff0
...@@ -9,6 +9,7 @@ ATLAS-54 Rename configs in hive hook (shwethags) ...@@ -9,6 +9,7 @@ ATLAS-54 Rename configs in hive hook (shwethags)
ATLAS-3 Mixed Index creation fails with Date types (sumasai via shwethags) ATLAS-3 Mixed Index creation fails with Date types (sumasai via shwethags)
ALL CHANGES: ALL CHANGES:
ATLAS-335 Kerberized cluster: Atlas fails to come up with hbase as backend (sumasai via shwethags)
ATLAS-333 atlas_stop.py – script must delete “atlas.pid” file (ndjouhr via sumasai) ATLAS-333 atlas_stop.py – script must delete “atlas.pid” file (ndjouhr via sumasai)
ATLAS-220 Gets on Enum attribute should return EnumValue(yhemanth via sumasai) ATLAS-220 Gets on Enum attribute should return EnumValue(yhemanth via sumasai)
ATLAS-334 Update documentation to reflect copying required atlas file on solr installation (sumasai via shwethags) ATLAS-334 Update documentation to reflect copying required atlas file on solr installation (sumasai via shwethags)
......
...@@ -58,7 +58,7 @@ public class GuiceServletConfig extends GuiceServletContextListener { ...@@ -58,7 +58,7 @@ public class GuiceServletConfig extends GuiceServletContextListener {
private static final String GUICE_CTX_PARAM = "guice.packages"; private static final String GUICE_CTX_PARAM = "guice.packages";
static final String HTTP_AUTHENTICATION_ENABLED = "atlas.http.authentication.enabled"; static final String HTTP_AUTHENTICATION_ENABLED = "atlas.http.authentication.enabled";
protected Injector injector; protected volatile Injector injector;
@Override @Override
protected Injector getInjector() { protected Injector getInjector() {
...@@ -70,6 +70,11 @@ public class GuiceServletConfig extends GuiceServletContextListener { ...@@ -70,6 +70,11 @@ public class GuiceServletConfig extends GuiceServletContextListener {
* .html * .html
*/ */
if (injector == null) { if (injector == null) {
// perform login operations
LoginProcessor loginProcessor = new LoginProcessor();
loginProcessor.login();
injector = Guice.createInjector(new RepositoryMetadataModule(), new NotificationModule(), injector = Guice.createInjector(new RepositoryMetadataModule(), new NotificationModule(),
new JerseyServletModule() { new JerseyServletModule() {
@Override @Override
...@@ -114,10 +119,6 @@ public class GuiceServletConfig extends GuiceServletContextListener { ...@@ -114,10 +119,6 @@ public class GuiceServletConfig extends GuiceServletContextListener {
installLogBridge(); installLogBridge();
// perform login operations
LoginProcessor loginProcessor = new LoginProcessor();
loginProcessor.login();
initMetadataService(); initMetadataService();
startServices(); startServices();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment