You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by GitBox <gi...@apache.org> on 2019/03/05 09:29:33 UTC

[GitHub] [knox] smolnar82 commented on a change in pull request #62: KNOX-474 - Added Kerberos related configuration validation at gateway startup time

smolnar82 commented on a change in pull request #62: KNOX-474 - Added Kerberos related configuration validation at gateway startup time
URL: https://github.com/apache/knox/pull/62#discussion_r262412036
 
 

 ##########
 File path: gateway-server/src/main/java/org/apache/knox/gateway/config/impl/GatewayConfigImpl.java
 ##########
 @@ -235,8 +238,35 @@
       "NAMENODE", "JOBTRACKER", "WEBHDFS", "WEBHCAT",
       "OOZIE", "WEBHBASE", "HIVE", "RESOURCEMANAGER");
 
-  public GatewayConfigImpl() {
+  public GatewayConfigImpl() throws GatewayConfigurationException {
     init();
+    validate();
+  }
+
+  private void validate() throws GatewayConfigurationException {
 
 Review comment:
   Thanks, fixed!

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services