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 2022/11/14 15:03:14 UTC

[GitHub] [knox] dionusos opened a new pull request, #674: KNOX-2841 Oozie "root" rewrite rule's pattern is too open

dionusos opened a new pull request, #674:
URL: https://github.com/apache/knox/pull/674

   (It is very **important** that you created an Apache Knox JIRA for this change and that the PR title/commit message includes the Apache Knox JIRA ID!)
   
   ## What changes were proposed in this pull request?
   
   Oozie's "root" rewrite rule must be more strict making it not to match to HDFS paths like "hdfs://namespace/oozie/libraries"
   
   ## How was this patch tested?
   
   I did manual test steps in my environment:
    * I run an Oozie job using Hue having a workflow property: prop1=hdfs://namespace/oozie/libraries
    * checked the value is broken
    * then I edited /var/lib/knox/gateway/data/services/oozie/5.0.0/rewrite.xml to apply the change
    * then restarted Knox
    * then waited two minutes
    * then started the same Oozie workflow via Hue
   then I experienced on the issue is gone. I did revert the change, tun the whole again then the issue came again. Then repeated the whole with the fix and the issue has gone again.
   


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@knox.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [knox] moresandeep merged pull request #674: KNOX-2841 Oozie "root" rewrite rule's pattern is too open

Posted by GitBox <gi...@apache.org>.
moresandeep merged PR #674:
URL: https://github.com/apache/knox/pull/674


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@knox.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org