Return-Path: X-Original-To: apmail-ambari-issues-archive@minotaur.apache.org Delivered-To: apmail-ambari-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DC35019DC0 for ; Fri, 1 Apr 2016 17:14:25 +0000 (UTC) Received: (qmail 83896 invoked by uid 500); 1 Apr 2016 17:14:25 -0000 Delivered-To: apmail-ambari-issues-archive@ambari.apache.org Received: (qmail 83860 invoked by uid 500); 1 Apr 2016 17:14:25 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 83845 invoked by uid 99); 1 Apr 2016 17:14:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2016 17:14:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id AABF02C1F5D for ; Fri, 1 Apr 2016 17:14:25 +0000 (UTC) Date: Fri, 1 Apr 2016 17:14:25 +0000 (UTC) From: "Hadoop QA (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-15665) Unable to Create Cluster Fails Due To Audit Logger MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)