Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dataplatform
atlas
Commits
75dad300
Commit
75dad300
authored
May 13, 2015
by
Jon Maron
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
switching LoginProcessor to PropertiesUtil so config is loaded properly
parent
c8115932
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
LoginProcessor.java
.../apache/hadoop/metadata/web/listeners/LoginProcessor.java
+7
-1
No files found.
webapp/src/main/java/org/apache/hadoop/metadata/web/listeners/LoginProcessor.java
View file @
75dad300
...
...
@@ -19,6 +19,8 @@ package org.apache.hadoop.metadata.web.listeners;
import
org.apache.commons.configuration.ConfigurationException
;
import
org.apache.commons.configuration.PropertiesConfiguration
;
import
org.apache.hadoop.conf.Configuration
;
import
org.apache.hadoop.metadata.MetadataException
;
import
org.apache.hadoop.metadata.PropertiesUtil
;
import
org.apache.hadoop.security.SecurityUtil
;
import
org.apache.hadoop.security.UserGroupInformation
;
import
org.apache.hadoop.util.Shell
;
...
...
@@ -120,7 +122,11 @@ public class LoginProcessor {
* @throws ConfigurationException
*/
protected
PropertiesConfiguration
getPropertiesConfiguration
()
throws
ConfigurationException
{
return
new
PropertiesConfiguration
(
"application.properties"
);
try
{
return
PropertiesUtil
.
getApplicationProperties
();
}
catch
(
MetadataException
e
)
{
throw
new
ConfigurationException
(
e
);
}
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment