Sure thing. The version we are testing against is "2.2.0.2.0.6.0-101" which came with HDP.
Yup, I modified that constant and it worked perfectly. I was surprised too that this was the case. However, in the docs it looks like webhdfs is expecting 'doas', all lowercase. I hope this change will not affect other http endpoints. (Oozie?) On Tue, May 13, 2014 at 3:53 PM, larry mccay <[email protected]> wrote: > Hi Roshan - > > The constant can be found in: > ./gateway-provider-identity-assertion-pseudo/src/main/java/org/apache/hadoop/gateway/identityasserter/filter/IdentityAsserterHttpServletRequestWrapper.java > > But... > > I'd like to understand why you are seeing this behavior. > > Can you provide more details about your deployment? > > Specifically, the version of wehdfs you are running would be great? > > We have done pretty extensive testing with secure clusters and should have > seen this issue if it existed on the versions that we were using. > > thanks! > > --larry > > > On Tue, May 13, 2014 at 2:05 PM, Roshan Punnoose <[email protected]>wrote: > >> I'm running knox 0.4.0, and I noticed that the webhdfs proxy query >> parameter is 'doAs'. However, my httpfs (webhdfs) server does not recognize >> that parameter, but requires that it be 'doas'. The docs also mention this >> as well. ( >> http://hadoop.apache.org/docs/r2.2.0/hadoop-project-dist/hadoop-hdfs/WebHDFS.html#Proxy_Users >> ) >> >> Has anyone else ran into this issue? Is it a simple fix in the codebase, >> I did a search for 'doAs' and did not seem to find anything. >> >> Roshan >> > >
