[jira] [Commented] (HIVE-6478) SQL std auth - pass username from hiveserver2 to sessionstate
[ https://issues.apache.org/jira/browse/HIVE-6478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13910805#comment-13910805 ] Ashutosh Chauhan commented on HIVE-6478: +1 for .2 patch SQL std auth - pass username from hiveserver2 to sessionstate - Key: HIVE-6478 URL: https://issues.apache.org/jira/browse/HIVE-6478 Project: Hive Issue Type: Sub-task Components: Authorization Reporter: Thejas M Nair Assignee: Thejas M Nair Attachments: HIVE-6478.1.patch, HIVE-6478.2.patch The username of the user of hiveserver2 client should be passed to SessionState, to be used by SQL Standard authorization. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (HIVE-6478) SQL std auth - pass username from hiveserver2 to sessionstate
[ https://issues.apache.org/jira/browse/HIVE-6478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13910824#comment-13910824 ] Thejas M Nair commented on HIVE-6478: - The .2 patch only involves a small change to a test case. I have verified that that test passes. I don't think we need to to run the whole unit test suite on the .2 patch again. I will commit it after a couple of hours. SQL std auth - pass username from hiveserver2 to sessionstate - Key: HIVE-6478 URL: https://issues.apache.org/jira/browse/HIVE-6478 Project: Hive Issue Type: Sub-task Components: Authorization Reporter: Thejas M Nair Assignee: Thejas M Nair Attachments: HIVE-6478.1.patch, HIVE-6478.2.patch The username of the user of hiveserver2 client should be passed to SessionState, to be used by SQL Standard authorization. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (HIVE-6478) SQL std auth - pass username from hiveserver2 to sessionstate
[ https://issues.apache.org/jira/browse/HIVE-6478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13909798#comment-13909798 ] Hive QA commented on HIVE-6478: --- {color:red}Overall{color}: -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12630205/HIVE-6478.1.patch {color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 5177 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.ql.parse.authorization.TestSessionUserName.testSessionConstructorUser {noformat} Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1454/testReport Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1454/console Messages: {noformat} Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 1 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12630205 SQL std auth - pass username from hiveserver2 to sessionstate - Key: HIVE-6478 URL: https://issues.apache.org/jira/browse/HIVE-6478 Project: Hive Issue Type: Sub-task Components: Authorization Reporter: Thejas M Nair Assignee: Thejas M Nair Attachments: HIVE-6478.1.patch The username of the user of hiveserver2 client should be passed to SessionState, to be used by SQL Standard authorization. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (HIVE-6478) SQL std auth - pass username from hiveserver2 to sessionstate
[ https://issues.apache.org/jira/browse/HIVE-6478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13907790#comment-13907790 ] Thejas M Nair commented on HIVE-6478: - There are two changes 1. Pass username when SessionState is created 2. Pass HiveConf from SessionManager to HiveSessionImplwithUGI/HiveSessionImpl, and in HiveSessionImplwithUGI/HiveSessionImpl to create a HiveConf that is a copy of the passed HiveConf. This was made to be able to test the SQL std auth with HS2 properly. This will help in general with testing and with embedded HS2, as you want to be able to set the default configuration for a session. This is not an issue with standalone HS2 as HiveSessionImpl as both HS2 configuration and HiveSessionImpl would pick conf from hive-site.xml . See the new TestMiniHS2 test for example of use case. SQL std auth - pass username from hiveserver2 to sessionstate - Key: HIVE-6478 URL: https://issues.apache.org/jira/browse/HIVE-6478 Project: Hive Issue Type: Sub-task Components: Authorization Reporter: Thejas M Nair Assignee: Thejas M Nair Attachments: HIVE-6478.1.patch The username of the user of hiveserver2 client should be passed to SessionState, to be used by SQL Standard authorization. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (HIVE-6478) SQL std auth - pass username from hiveserver2 to sessionstate
[ https://issues.apache.org/jira/browse/HIVE-6478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13907903#comment-13907903 ] Ashutosh Chauhan commented on HIVE-6478: +1 SQL std auth - pass username from hiveserver2 to sessionstate - Key: HIVE-6478 URL: https://issues.apache.org/jira/browse/HIVE-6478 Project: Hive Issue Type: Sub-task Components: Authorization Reporter: Thejas M Nair Assignee: Thejas M Nair Attachments: HIVE-6478.1.patch The username of the user of hiveserver2 client should be passed to SessionState, to be used by SQL Standard authorization. -- This message was sent by Atlassian JIRA (v6.1.5#6160)