Re: Knox Rule Pattern is Matching HTML Tags Beyond the Pattern

2018-05-22 Thread Sandeep Moré
This appears to be a bug, Knox should not be rewriting this part, just to confirm, does the rule "YARNUI/yarn/outbound/metrics" have any references in service.xml ? Can you try with the latest Knox and see if it works and file a JIRA if this is still an issue. On Mon, May 21, 2018 at 7:26 PM, Sha

Re: Knox Rule Pattern is Matching HTML Tags Beyond the Pattern

2018-05-22 Thread Shawn Weeks
There is no reference in service.xml for metrics. I'll try and setup a test with the current release but the group I'm working with is using the Hortonworks distribution which is still on 0.12. Thanks Shawn Weeks From: Sandeep Moré Sent: Tuesday, May 22, 2018

Re: Knox Rule Pattern is Matching HTML Tags Beyond the Pattern

2018-05-22 Thread Sandeep Moré
Cool, do keep us posted, I know there were few fixes that went into Yarn UI that might be helpful. On Tue, May 22, 2018 at 10:19 AM, Shawn Weeks wrote: > There is no reference in service.xml for metrics. I'll try and setup a > test with the current release but the group I'm working with is using

[jira] [Created] (KNOX-1329) Upgrade the transitive springframework spring core from pac4j

2018-05-22 Thread Larry McCay (JIRA)
Larry McCay created KNOX-1329: - Summary: Upgrade the transitive springframework spring core from pac4j Key: KNOX-1329 URL: https://issues.apache.org/jira/browse/KNOX-1329 Project: Apache Knox Is

Re: Knox Rule Pattern is Matching HTML Tags Beyond the Pattern

2018-05-22 Thread Shawn Weeks
I've been doing some tracing this morning and I can't actually find anything in the YARNUI that actually needs the rule for /metrics. I've taken it out and clicked on every page and link and nothing has shown up. It may not even be needed but I do suspect some sort of bug so I'll try and get a t

[jira] [Resolved] (KNOX-1329) Upgrade the transitive springframework spring core from pac4j

2018-05-22 Thread Larry McCay (JIRA)
[ https://issues.apache.org/jira/browse/KNOX-1329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Larry McCay resolved KNOX-1329. --- Resolution: Fixed > Upgrade the transitive springframework spring core from pac4j > ---

[jira] [Commented] (KNOX-1329) Upgrade the transitive springframework spring core from pac4j

2018-05-22 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/KNOX-1329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16484263#comment-16484263 ] ASF subversion and git services commented on KNOX-1329: --- Commit adee2

[jira] [Commented] (KNOX-1270) Yarn jobs url rewrites failure

2018-05-22 Thread Shawn Weeks (JIRA)
[ https://issues.apache.org/jira/browse/KNOX-1270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16484289#comment-16484289 ] Shawn Weeks commented on KNOX-1270: --- Pretty sure this isn't ready for a pull request or a

Other Interesting Rewrite Failures

2018-05-22 Thread Shawn Weeks
Trying to identify what patch if any resolves the following oddity for Knox 0.12. Consider the following rule found in the HDFSUI Service. And the following HTML Snippet And finally the debug log. No rule matching URL: /static/jquery-1.10.2.min.js, direction: OUT Rewrote URL:

[jira] [Commented] (KNOX-1290) Create gateway definition for Log Search (version 0.5.0)

2018-05-22 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/KNOX-1290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16484489#comment-16484489 ] ASF subversion and git services commented on KNOX-1290: --- Commit 43ab7

[jira] [Assigned] (KNOX-1290) Create gateway definition for Log Search (version 0.5.0)

2018-05-22 Thread Larry McCay (JIRA)
[ https://issues.apache.org/jira/browse/KNOX-1290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Larry McCay reassigned KNOX-1290: - Assignee: Olivér Szabó > Create gateway definition for Log Search (version 0.5.0) > --

[jira] [Commented] (KNOX-1290) Create gateway definition for Log Search (version 0.5.0)

2018-05-22 Thread Larry McCay (JIRA)
[ https://issues.apache.org/jira/browse/KNOX-1290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16484494#comment-16484494 ] Larry McCay commented on KNOX-1290: --- [~oleewere] - thank you for your contribution! I ha

Re: Other Interesting Rewrite Failures

2018-05-22 Thread Shawn Weeks
Well this is even weirder it turns out the issue is being caused by a rule in the Spark History UI Service. This rule appears to be bleeding over into the HDFS UI Service even though service.xml for Spark has all the paths mapped out explicitly. I feel like I'm misunderstanding somethin

Re: Other Interesting Rewrite Failures

2018-05-22 Thread Sandeep Moré
This explains it, I was having headache trying to figure out the odd behavior. The problem here is that Knox combines all the rewrites rules into filters and then it tries to do a best match based on the pattern, in case where there is no match Knox engine will go for the next best match, This sho

Re: Other Interesting Rewrite Failures

2018-05-22 Thread Shawn Weeks
Does that mean you can't have rules in two different services with the same pattern? I was expecting rules were executed based on the path of the service so https://knox/gateway/default/hdfs could have an identical rule as https://knox/gateway/default/sparkhistory since each service was monitori

[jira] [Commented] (KNOX-1329) Upgrade the transitive springframework spring core from pac4j

2018-05-22 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/KNOX-1329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16484657#comment-16484657 ] ASF subversion and git services commented on KNOX-1329: --- Commit 67ffe

[jira] [Updated] (KNOX-1290) Create gateway definition for Log Search (version 0.5.0)

2018-05-22 Thread JIRA
[ https://issues.apache.org/jira/browse/KNOX-1290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Olivér Szabó updated KNOX-1290: --- Fix Version/s: 1.1.0 > Create gateway definition for Log Search (version 0.5.0) > -

[jira] [Resolved] (KNOX-1290) Create gateway definition for Log Search (version 0.5.0)

2018-05-22 Thread JIRA
[ https://issues.apache.org/jira/browse/KNOX-1290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Olivér Szabó resolved KNOX-1290. Resolution: Fixed > Create gateway definition for Log Search (version 0.5.0) > --

[jira] [Updated] (KNOX-1290) Create gateway definition for Log Search (version 0.5.0)

2018-05-22 Thread JIRA
[ https://issues.apache.org/jira/browse/KNOX-1290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Olivér Szabó updated KNOX-1290: --- Affects Version/s: 1.1.0 > Create gateway definition for Log Search (version 0.5.0) > -

[jira] [Updated] (KNOX-1111) 2-way SSL Truststore and Keystore Improvements

2018-05-22 Thread Larry McCay (JIRA)
[ https://issues.apache.org/jira/browse/KNOX-?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Larry McCay updated KNOX-: -- Fix Version/s: (was: 1.1.0) 1.2.0 > 2-way SSL Truststore and Keystore Improvements

[jira] [Commented] (KNOX-1111) 2-way SSL Truststore and Keystore Improvements

2018-05-22 Thread Larry McCay (JIRA)
[ https://issues.apache.org/jira/browse/KNOX-?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16486534#comment-16486534 ] Larry McCay commented on KNOX-: --- Moving this out to 1.2.0 - don't see this happening

[jira] [Commented] (KNOX-1089) Upgrade Jetty

2018-05-22 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/KNOX-1089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16486544#comment-16486544 ] ASF subversion and git services commented on KNOX-1089: --- Commit f6c85

[jira] [Resolved] (KNOX-1089) Upgrade Jetty

2018-05-22 Thread Larry McCay (JIRA)
[ https://issues.apache.org/jira/browse/KNOX-1089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Larry McCay resolved KNOX-1089. --- Resolution: Fixed > Upgrade Jetty > - > > Key: KNOX-1089 >

[jira] [Updated] (KNOX-1031) Apache Hadoop Timeline Server REST API support

2018-05-22 Thread Larry McCay (JIRA)
[ https://issues.apache.org/jira/browse/KNOX-1031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Larry McCay updated KNOX-1031: -- Fix Version/s: (was: 1.1.0) 1.2.0 > Apache Hadoop Timeline Server REST API support

[jira] [Commented] (KNOX-1031) Apache Hadoop Timeline Server REST API support

2018-05-22 Thread Larry McCay (JIRA)
[ https://issues.apache.org/jira/browse/KNOX-1031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16486546#comment-16486546 ] Larry McCay commented on KNOX-1031: --- Moving this out due to lack of movement. Feel free

[jira] [Assigned] (KNOX-1143) Add MR job history ws rest api rewrite rule to jobhistoryui

2018-05-22 Thread Larry McCay (JIRA)
[ https://issues.apache.org/jira/browse/KNOX-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Larry McCay reassigned KNOX-1143: - Assignee: Guang Yang > Add MR job history ws rest api rewrite rule to jobhistoryui > -

[jira] [Commented] (KNOX-1143) Add MR job history ws rest api rewrite rule to jobhistoryui

2018-05-22 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/KNOX-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16486549#comment-16486549 ] ASF subversion and git services commented on KNOX-1143: --- Commit 25227

[jira] [Updated] (KNOX-1143) Add MR job history ws rest api rewrite rule to jobhistoryui

2018-05-22 Thread Larry McCay (JIRA)
[ https://issues.apache.org/jira/browse/KNOX-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Larry McCay updated KNOX-1143: -- Resolution: Fixed Status: Resolved (was: Patch Available) [~yg54123] - I have just committed thi

[jira] [Updated] (KNOX-889) Document how to support native library in gateway service

2018-05-22 Thread Larry McCay (JIRA)
[ https://issues.apache.org/jira/browse/KNOX-889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Larry McCay updated KNOX-889: - Fix Version/s: (was: 1.1.0) 1.2.0 > Document how to support native library in gateway

[jira] [Commented] (KNOX-1166) Upgrade HTTPClient due to Hostname Verification Bug

2018-05-22 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/KNOX-1166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16486562#comment-16486562 ] ASF subversion and git services commented on KNOX-1166: --- Commit b31c1

[jira] [Resolved] (KNOX-1166) Upgrade HTTPClient due to Hostname Verification Bug

2018-05-22 Thread Larry McCay (JIRA)
[ https://issues.apache.org/jira/browse/KNOX-1166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Larry McCay resolved KNOX-1166. --- Resolution: Fixed Assignee: Larry McCay > Upgrade HTTPClient due to Hostname Verification Bug > -

[jira] [Updated] (KNOX-1152) Guard Against Missing Subject in Identity Assertion

2018-05-22 Thread Larry McCay (JIRA)
[ https://issues.apache.org/jira/browse/KNOX-1152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Larry McCay updated KNOX-1152: -- Fix Version/s: (was: 1.1.0) 1.2.0 > Guard Against Missing Subject in Identity Asse

[jira] [Commented] (KNOX-1152) Guard Against Missing Subject in Identity Assertion

2018-05-22 Thread Larry McCay (JIRA)
[ https://issues.apache.org/jira/browse/KNOX-1152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16486572#comment-16486572 ] Larry McCay commented on KNOX-1152: --- I've moved this out since I can't really reproduce i

[jira] [Commented] (KNOX-1155) Knox Gateway Service for ElasticSearch

2018-05-22 Thread Larry McCay (JIRA)
[ https://issues.apache.org/jira/browse/KNOX-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16486578#comment-16486578 ] Larry McCay commented on KNOX-1155: --- Thank you, [~dequanchen] - I will test out the new p

[jira] [Commented] (KNOX-1155) Knox Gateway Service for ElasticSearch

2018-05-22 Thread Larry McCay (JIRA)
[ https://issues.apache.org/jira/browse/KNOX-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16486593#comment-16486593 ] Larry McCay commented on KNOX-1155: --- [~dequanchen] - you can file a separate Jira for doc