You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/10/19 12:33:00 UTC

[jira] [Updated] (AMBARI-24806) spec for Ambari REST API geenration is failing

     [ https://issues.apache.org/jira/browse/AMBARI-24806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated AMBARI-24806:
------------------------------------
    Labels: pull-request-available  (was: )

> spec for Ambari REST API geenration is failing
> ----------------------------------------------
>
>                 Key: AMBARI-24806
>                 URL: https://issues.apache.org/jira/browse/AMBARI-24806
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 2.8.0
>            Reporter: Sandor Molnar
>            Assignee: Sandor Molnar
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 2.8.0
>
>
> Running the following command failed with the following error:
>  
> {noformat}
> mvn -Del.log=WARN -Dcheckstyle.skip -Dfindbugs.skip -Drat.skip -DskipTests -DfailIfNoTests=false -am -pl ambari-server clean install
> ...
> [ERROR] Failed to execute goal com.github.kongchen:swagger-maven-plugin:3.1.4:generate (default) on project ambari-server: Conflicting setter definitions for property "requestBody": org.apache.ambari.server.orm.entities.RequestScheduleBatchRequestEntity#setRequestBody(1 params) vs org.apache.ambari.server.orm.entities.RequestScheduleBatchRequestEntity#setRequestBody(1 params) -> [Help 1]
> {noformat}
>  
> According to this thread t[his is a known issue|https://github.com/FasterXML/jackson-databind/issues/1251] in swagger
> Upgrading the swagger plugin to 3.1.5 solves the issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)