[
https://issues.apache.org/jira/browse/APEXCORE-399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15204733#comment-15204733
]
ASF GitHub Bot commented on APEXCORE-399:
-----------------------------------------
Github user PramodSSImmaneni commented on a diff in the pull request:
https://github.com/apache/incubator-apex-core/pull/278#discussion_r56865349
--- Diff:
engine/src/main/java/com/datatorrent/stram/security/StramWSFilterInitializer.java
---
@@ -59,9 +59,11 @@ public void initFilter(FilterContainer container,
Configuration conf)
for (String rmId : ConfigUtils.getRMHAIds(conf)) {
proxies.add(getResolvedRMWebAppURLWithoutScheme(conf, rmId));
}
+ logger.info("HA proxy addresses {}", proxies);
--- End diff --
It's a one time message. Thought it would be easier to find the problem if
the information is available right away.
> Need better debug information in stram web service filter initializer
> ---------------------------------------------------------------------
>
> Key: APEXCORE-399
> URL: https://issues.apache.org/jira/browse/APEXCORE-399
> Project: Apache Apex Core
> Issue Type: Improvement
> Reporter: Pramod Immaneni
> Assignee: Pramod Immaneni
>
> Stram web service filter initializer figures out the proxy addresses from
> which to allow the initial requests. If these cannot be determined correctly
> because of bad configuration or other reasons this will result in web service
> requests getting denied. Need better debug information for the information
> obtained at different stages so as to be able to find out the source of the
> problem in normal and HA cases.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)