You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2016/04/01 16:19:25 UTC

[jira] [Commented] (AMBARI-15665) Unable to Create Cluster Fails Due To Audit Logger

    [ https://issues.apache.org/jira/browse/AMBARI-15665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15221745#comment-15221745 ] 

Hadoop QA commented on AMBARI-15665:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12796515/AMBARI-15665.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 1 new or modified test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:red}-1 core tests{color}.  The patch failed these unit tests in ambari-server:

                  org.apache.ambari.server.security.authentication.AmbariAuthenticationFilterTest

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/6146//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/6146//console

This message is automatically generated.

> Unable to Create Cluster Fails Due To Audit Logger
> --------------------------------------------------
>
>                 Key: AMBARI-15665
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15665
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Daniel Gergely
>            Assignee: Daniel Gergely
>            Priority: Blocker
>         Attachments: AMBARI-15665.patch
>
>
> Attempt to update repository information in preparation for a new cluster creation:
> {code}
> PUT api/v1/stacks/HDP/versions/2.3/operating_systems/redhat6/repositories/HDP-2.3
> {
>   "Repositories": {
>     "base_url": "http://repo.ambari.apache.org/hdp/centos6/HDP-2.3.6.0-3566/",
>     "verify_base_url": true
>   }
> }
> {code}
> {code}
> 2016-03-31 15:47:17,822 WARN  [qtp-ambari-client-35] (ServletHandler.java:628) doHandle() - /api/v1/stacks/HDP/versions/2.3/operating_systems/redhat6/repositories/HDP-2.3
> java.lang.ClassCastException: org.apache.ambari.server.security.authorization.AmbariAuthorizationFilter$1 cannot be cast to org.springframework.security.core.userdetails.User
> 	at org.apache.ambari.server.audit.request.eventcreator.RepositoryEventCreator.createAuditEvent(RepositoryEventCreator.java:83)
> 	at org.apache.ambari.server.audit.request.RequestAuditLoggerImpl.log(RequestAuditLoggerImpl.java:85)
> 	at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:130)
> 	at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:83)
> 	at org.apache.ambari.server.api.services.RepositoryService.updateRepository(RepositoryService.java:145)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)