Henry Robinson has posted comments on this change.

Change subject: IMPALA-2660: Respect auth_to_local configs from hdfs configs
......................................................................


Patch Set 3:

(2 comments)

Sorry, didn't publish these comments.

http://gerrit.cloudera.org:8080/#/c/2800/3/fe/src/main/java/com/cloudera/impala/authorization/AuthorizationChecker.java
File 
fe/src/main/java/com/cloudera/impala/authorization/AuthorizationChecker.java:

Line 117:       throw new InternalException("Error calling getShortName() for 
user: "
> Treating this as an AuthException may lead to user confusion, and seems mis
I think there's a lot wrong with having users rely on the type of an exception 
object to understand our error messages. But given that the distinction has 
been made, the extra granularity is probably ok.


http://gerrit.cloudera.org:8080/#/c/2800/3/fe/src/main/java/com/cloudera/impala/authorization/User.java
File fe/src/main/java/com/cloudera/impala/authorization/User.java:

Line 36: getAuthenticationMethod
> - These configs are set by CM (or whoever configures HDFS). Util classes us
I think so - I'm not sure if this will detect, for example, that Kerberos is 
set-up between client and Impala (but nowhere else).


-- 
To view, visit http://gerrit.cloudera.org:8080/2800
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I76485b83c14ba26f6fce66e5f83e8014667829e0
Gerrit-PatchSet: 3
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: Bharath Vissapragada <[email protected]>
Gerrit-Reviewer: Alex Behm <[email protected]>
Gerrit-Reviewer: Bharath Vissapragada <[email protected]>
Gerrit-Reviewer: Henry Robinson <[email protected]>
Gerrit-Reviewer: Juan Yu <[email protected]>
Gerrit-Reviewer: Sailesh Mukil <[email protected]>
Gerrit-HasComments: Yes

Reply via email to