[Impala-ASF-CR] IMPALA-4028: Trim sentry config file path spaces while impala start.

2016-09-19 Thread Alex Behm (Code Review)
Alex Behm has posted comments on this change.

Change subject: IMPALA-4028: Trim sentry config file path spaces while impala 
start.
..


Patch Set 4:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/4309/4//COMMIT_MSG
Commit Message:

Line 7: IMPALA-4028: Trim sentry config file path spaces while impala start.
Modify commit msg to reflect current fix, e.g.:
Improve message for improper Sentry config to make extra spaces visible.


Line 9: When sentry config file path is wrong input which end contains spaces, 
Remove whitespace and update commit msg


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I3a76b9e4236caa3f2088fba8a9cf0236fced2634
Gerrit-PatchSet: 4
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: davy...@163.com
Gerrit-Reviewer: Alex Behm 
Gerrit-Reviewer: Lars Volker 
Gerrit-Reviewer: Tim Armstrong 
Gerrit-Reviewer: davy...@163.com
Gerrit-HasComments: Yes


[Impala-ASF-CR] IMPALA-4028: Trim sentry config file path spaces while impala start.

2016-09-19 Thread Tim Armstrong (Code Review)
Tim Armstrong has posted comments on this change.

Change subject: IMPALA-4028: Trim sentry config file path spaces while impala 
start.
..


Patch Set 4: Code-Review+1

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

Gerrit-MessageType: comment
Gerrit-Change-Id: I3a76b9e4236caa3f2088fba8a9cf0236fced2634
Gerrit-PatchSet: 4
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: davy...@163.com
Gerrit-Reviewer: Lars Volker 
Gerrit-Reviewer: Tim Armstrong 
Gerrit-Reviewer: davy...@163.com
Gerrit-HasComments: No


[Impala-ASF-CR] IMPALA-4028: Trim sentry config file path spaces while impala start.

2016-09-13 Thread Anonymous Coward (Code Review)
Hello Lars Volker,

I'd like you to reexamine a change.  Please visit

http://gerrit.cloudera.org:8080/4309

to look at the new patch set (#4).

Change subject: IMPALA-4028: Trim sentry config file path spaces while impala 
start.
..

IMPALA-4028: Trim sentry config file path spaces while impala start.

When sentry config file path is wrong input which end contains spaces, 
impala start up failed.

Trimming sentry config file path spaces and checking file again while
the original file has been checked failed will solve this problem.

Change-Id: I3a76b9e4236caa3f2088fba8a9cf0236fced2634
---
M fe/src/main/java/com/cloudera/impala/authorization/SentryConfig.java
1 file changed, 3 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/09/4309/4
-- 
To view, visit http://gerrit.cloudera.org:8080/4309
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I3a76b9e4236caa3f2088fba8a9cf0236fced2634
Gerrit-PatchSet: 4
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: davy...@163.com
Gerrit-Reviewer: Lars Volker 
Gerrit-Reviewer: Tim Armstrong 
Gerrit-Reviewer: davy...@163.com


[Impala-ASF-CR] IMPALA-4028: Trim sentry config file path spaces while impala start.

2016-09-13 Thread Anonymous Coward (Code Review)
davy...@163.com has posted comments on this change.

Change subject: IMPALA-4028: Trim sentry config file path spaces while impala 
start.
..


Patch Set 3:

We have developed a configuration management system through which command line 
parameters can be set.
Thank you for your advice. I will use quotes to show the file name path in the 
error message.

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

Gerrit-MessageType: comment
Gerrit-Change-Id: I3a76b9e4236caa3f2088fba8a9cf0236fced2634
Gerrit-PatchSet: 3
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: davy...@163.com
Gerrit-Reviewer: Lars Volker 
Gerrit-Reviewer: Tim Armstrong 
Gerrit-Reviewer: davy...@163.com
Gerrit-HasComments: No


[Impala-ASF-CR] IMPALA-4028: Trim sentry config file path spaces while impala start.

2016-09-12 Thread Tim Armstrong (Code Review)
Tim Armstrong has posted comments on this change.

Change subject: IMPALA-4028: Trim sentry config file path spaces while impala 
start.
..


Patch Set 3:

I don't think we should go ahead with the trimming solution for the reasons I 
mentioned earlier (problems with trying to "fix" misconfigurations and 
inconsistency with other command line options). 

However part of the problem seems to be that it's very hard to see the spaces 
in the error message. Maybe you could change the patch just to quote the file 
name in the error message?

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

Gerrit-MessageType: comment
Gerrit-Change-Id: I3a76b9e4236caa3f2088fba8a9cf0236fced2634
Gerrit-PatchSet: 3
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: davy...@163.com
Gerrit-Reviewer: Lars Volker 
Gerrit-Reviewer: Tim Armstrong 
Gerrit-Reviewer: davy...@163.com
Gerrit-HasComments: No


[Impala-ASF-CR] IMPALA-4028: Trim sentry config file path spaces while impala start.

2016-09-12 Thread Tim Armstrong (Code Review)
Tim Armstrong has posted comments on this change.

Change subject: IMPALA-4028: Trim sentry config file path spaces while impala 
start.
..


Patch Set 3:

How did you come across this? Did you start Impala from the command line 
directly or use some other tool (e.g. cloudera manager)?

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

Gerrit-MessageType: comment
Gerrit-Change-Id: I3a76b9e4236caa3f2088fba8a9cf0236fced2634
Gerrit-PatchSet: 3
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: davy...@163.com
Gerrit-Reviewer: Lars Volker 
Gerrit-Reviewer: Tim Armstrong 
Gerrit-Reviewer: davy...@163.com
Gerrit-HasComments: No