HBASE-12919 Compilation with Hadoop-2.4- is broken again (Srikanth Srungarapu)
This commit is contained in:
parent
1c1a306b2e
commit
8241531f43
|
@ -95,7 +95,7 @@ public class ThriftHttpServlet extends TServlet {
|
|||
UserGroupInformation ugi = UserGroupInformation.createProxyUser(doAsUserFromQuery, realUser);
|
||||
// validate the proxy user authorization
|
||||
try {
|
||||
ProxyUsers.authorize(ugi, request.getRemoteAddr());
|
||||
ProxyUsers.authorize(ugi, request.getRemoteAddr(), conf);
|
||||
} catch (AuthorizationException e) {
|
||||
throw new ServletException(e.getMessage());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue