ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-15665) Unable to Create Cluster Fails Due To Audit Logger
Date Fri, 01 Apr 2016 17:14:25 GMT

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

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/12796539/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 2 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 test build failed in ambari-server 

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/6147//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/6147//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)

Mime
View raw message