Re: Plugin Shim question

2017-11-10 Thread Colm O hEigeartaigh
OK thanks Ramesh. I think having a super-shim is probably a bit overkill at this stage, as the user can easily just choose which version of Hadoop they want to use. We can always revisit that at a later stage. Colm. On Thu, Nov 9, 2017 at 7:02 PM, Ramesh Mani wrote: > >

Re: Plugin Shim question

2017-11-09 Thread Ramesh Mani
Colm, Yes look like we need to have multiple shims. To support multiple version of Hadoop, we may need a super shim which will find which version of Hadoop ( based on method signature) is used and then instantiate the corresponding sub shim RangerYarnAuthorizer. This may be the case for HDFS

Plugin Shim question

2017-11-09 Thread Colm O hEigeartaigh
Hi all, I'm working on adding support for Hadoop 3.0.0 to the Yarn component (RANGER-1738). YarnAuthorizationProvider has some updated methods in Hadoop 3.0.0. It's easy to work around this in the RangerYarnAuthorizer though, so that it supports both Hadoop 2.7.x, 2.8.x and 3.0.0. The problem