[
https://issues.apache.org/jira/browse/SENTRY-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15186387#comment-15186387
]
Hadoop QA commented on SENTRY-1122:
-----------------------------------
Here are the results of testing the latest attachment
https://issues.apache.org/jira/secure/attachment/12792126/SENTRY-1122.patch
against master.
{color:red}Overall:{color} -1 due to 20 errors
{color:red}ERROR:{color} mvn test exited 1
{color:red}ERROR:{color} Failed:
org.apache.solr.sentry.SentryIndexAuthorizationSingletonTest
{color:red}ERROR:{color} Failed:
org.apache.solr.sentry.SentryIndexAuthorizationSingletonTest
{color:red}ERROR:{color} Failed:
org.apache.solr.sentry.SentryIndexAuthorizationSingletonTest
{color:red}ERROR:{color} Failed:
org.apache.solr.sentry.SentryIndexAuthorizationSingletonTest
{color:red}ERROR:{color} Failed:
org.apache.solr.handler.admin.SecureInfoHandlerTest
{color:red}ERROR:{color} Failed:
org.apache.solr.handler.admin.SecureAdminHandlersTest
{color:red}ERROR:{color} Failed:
org.apache.solr.update.processor.UpdateIndexAuthorizationProcessorTest
{color:red}ERROR:{color} Failed:
org.apache.solr.update.processor.UpdateIndexAuthorizationProcessorTest
{color:red}ERROR:{color} Failed:
org.apache.solr.update.processor.UpdateIndexAuthorizationProcessorTest
{color:red}ERROR:{color} Failed:
org.apache.solr.update.processor.UpdateIndexAuthorizationProcessorTest
{color:red}ERROR:{color} Failed:
org.apache.solr.handler.TestSecureAnalysisHandlers
{color:red}ERROR:{color} Failed:
org.apache.solr.handler.TestSecureAnalysisHandlers
{color:red}ERROR:{color} Failed:
org.apache.solr.handler.component.QueryIndexAuthorizationComponentTest
{color:red}ERROR:{color} Failed:
org.apache.solr.handler.component.QueryIndexAuthorizationComponentTest
{color:red}ERROR:{color} Failed:
org.apache.solr.handler.component.QueryIndexAuthorizationComponentTest
{color:red}ERROR:{color} Failed:
org.apache.solr.handler.component.QueryIndexAuthorizationComponentTest
{color:red}ERROR:{color} Failed:
org.apache.solr.handler.admin.SecureCoreAdminHandlerTest
{color:red}ERROR:{color} Failed:
org.apache.solr.handler.admin.SecureCollectionsHandlerTest
{color:red}ERROR:{color} Failed:
org.apache.solr.handler.TestSecureReplicationHandler
Console output:
https://builds.apache.org/job/PreCommit-SENTRY-Build/1317/console
This message is automatically generated.
> Allow Solr Audit Log to Read Impersonator Info
> ----------------------------------------------
>
> Key: SENTRY-1122
> URL: https://issues.apache.org/jira/browse/SENTRY-1122
> Project: Sentry
> Issue Type: Bug
> Components: Solr Plugin
> Affects Versions: 1.6.0
> Reporter: Gregory Chanan
> Assignee: Gregory Chanan
> Fix For: 1.7.0
>
> Attachments: SENTRY-1122.patch
>
>
> Currently, the impersonator info written by Sentry is always null:
> {code}
> String impersonator = null; // FIXME
> {code}
> (https://github.com/apache/incubator-sentry/blob/b095b5b991a164983163390f0c8c6f78557d017e/sentry-solr/solr-sentry-core/src/main/java/org/apache/solr/sentry/SentryIndexAuthorizationSingleton.java#L129)
> Like with the user name, we should read out an http request attribute to fill
> in this info. It is up to the underlying Solr authentication filter to fill
> this info in; that's outside of the scope of Sentry, but this at least allows
> that to be done.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)