Sorry 0.12.0
On Tue, Sep 4, 2018 at 2:30 PM Theyaa Matti wrote:
> I am using Knox 1.12.0
>
> On Tue, Sep 4, 2018 at 2:28 PM Sandeep Moré wrote:
>
>> You can try using "org.apache.knox.gateway.dispatch.URLDecodingDispatch"
>> dispatch in service.xml (
I am having issues with Knox encoding the following URL when parsing html
content.
/proxy/application_33323323_0001/stages/stage?id=0attempt=0
This URL is generated by Yarn to track a running spark job. When applying
regular rules to the above URL, Knox encodes the URL to:
I am using custom Dispatch class in my service.xml to handle html entities
and I am getting NPE from HttpServletRequest.getRequestURL() when the
queryString contains special characters like "amp%3B". In this case the
request object is null.
Any help is appreciated.
Regards
.dh...@gmail.com> wrote:
> In that case you might have to build the jar yourself or preferably use
> your custom dispatch similar to URLDecodingDispatch.
>
> Regards
> Dhruv
>
> On Wednesday, September 5, 2018, Theyaa Matti
> wrote:
>
>> Sorry 0.12.0
>>
>> On
patch extends DefaultDispatch so you should be there.
>
> Best,
> Sandeep
>
> On Thu, Sep 6, 2018 at 9:32 AM Theyaa Matti wrote:
>
>> That should be a good idea, but I still have an issue with adding the
>> custom dispatch to the yarnui service.xml. I already
> On Thu, Sep 6, 2018 at 2:19 PM Theyaa Matti wrote:
>
>> I created the class as follows:
>>
>> package org.apache.knox.gateway.dispatch;
>>
>> import javax.servlet.http.HttpServletRequest;
>> import java.net.URI;
>> import java.net.URLDecoder;
>
p
>
> On Thu, Sep 6, 2018 at 2:28 PM Theyaa Matti wrote:
>
>> Yes I am using HA for resource manager and in that case what should I do
>> to the fix this issue?
>>
>> Best,
>>
>> Theyaa.
>>
>>
>> On Thu, Sep 6, 2018 at
Anyone has any idea how to resolve this please?
On Fri, Sep 7, 2018 at 1:24 PM Theyaa Matti wrote:
> I am using custom Dispatch class in my service.xml to handle html entities
> and I am getting NPE from HttpServletRequest.getRequestURL() when the
> queryString contains special charac
92 header size. A related change was done for most
> projects to make that header size configurable.
>
> Kevin Risden
>
>
> On Tue, Oct 9, 2018 at 8:45 PM Theyaa Matti wrote:
>
>> Hi David,
>> Thank you for the quick response. I do have that property se
igurations are:
>>
>> gateway.httpserver.requestHeaderBuffer
>> gateway.httpserver.responseHeaderBuffer
>>
>> 1. https://issues.apache.org/jira/browse/KNOX-624
>>
>> Kevin Risden
>>
>>
>> On Tue, Oct 9, 2018 at 12:01 PM Theyaa Matti
>> w
rn.
> 404 error with url that contains this: "amp%3B"
> Have you succeeded in resolving that ?
>
> Regards,
> David
>
>> Le ven. 7 sept. 2018 à 18:32, Theyaa Matti a écrit :
>> I have made the necessary modifications to use my cus
11 matches
Mail list logo