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

Masahiro Tanaka edited comment on AMBARI-19976 at 2/17/17 3:11 PM:
-------------------------------------------------------------------

I don't think reviewboard is needed for this patch.

[~aonishuk], [~smnaha], [~swagle], [~u39kun] could you review this patch?


was (Author: masatana):
I don't think reviewboard is needed for this patch.

[~aonishuk], [~smnaha], [~swagle]  could you review this patch?

> Cannot build ambari-server due to rat check
> -------------------------------------------
>
>                 Key: AMBARI-19976
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19976
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.5.0
>         Environment: CentOS6
> branch-2.5
>            Reporter: Masahiro Tanaka
>            Assignee: Masahiro Tanaka
>         Attachments: AMBARI-19976.0.patch, AMBARI-19976.1.patch
>
>
> When I run {code}mvn -B clean install  rpm:rpm -DskipTests 
> -Dpython.ver="python >= 2.6" -Preplaceurl{code} from ambari source root, I 
> got an error message like below
> {code}
> [INFO] Rat check: Summary of files. Unapproved: 1 unknown: 1 generated: 0 
> approved: 5342 licence.                                                       
>                                           [7/959]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Ambari Main ........................................ SUCCESS [  7.958 
> s]
> [INFO] Apache Ambari Project POM .......................... SUCCESS [  0.282 
> s]
> [INFO] Ambari Web ......................................... SUCCESS [01:13 
> min]
> [INFO] Ambari Views ....................................... SUCCESS [  1.620 
> s]
> [INFO] Ambari Admin View .................................. SUCCESS [  9.132 
> s]
> [INFO] utility ............................................ SUCCESS [  0.287 
> s]
> [INFO] ambari-metrics ..................................... SUCCESS [  0.838 
> s]
> [INFO] Ambari Metrics Common .............................. SUCCESS [  4.482 
> s]
> [INFO] Ambari Metrics Hadoop Sink ......................... SUCCESS [  2.295 
> s]
> [INFO] Ambari Metrics Flume Sink .......................... SUCCESS [  1.616 
> s]
> [INFO] Ambari Metrics Kafka Sink .......................... SUCCESS [  1.525 
> s]
> [INFO] Ambari Metrics Storm Sink .......................... SUCCESS [  2.577 
> s]
> [INFO] Ambari Metrics Storm Sink (Legacy) ................. SUCCESS [  2.039 
> s]
> [INFO] Ambari Metrics Collector ........................... SUCCESS [01:46 
> min]
> [INFO] Ambari Metrics Monitor ............................. SUCCESS [  1.546 
> s]
> [INFO] Ambari Metrics Grafana ............................. SUCCESS [ 20.060 
> s]
> [INFO] Ambari Metrics Assembly ............................ SUCCESS [01:28 
> min]
> [INFO] Ambari Server ...................................... FAILURE [ 27.860 
> s]
> [INFO] Ambari Functional Tests ............................ SKIPPED
> [INFO] Ambari Agent ....................................... SKIPPED
> [INFO] Ambari Client ...................................... SKIPPED
> [INFO] Ambari Python Client ............................... SKIPPED
> [INFO] Ambari Groovy Client ............................... SKIPPED
> [INFO] Ambari Shell ....................................... SKIPPED
> [INFO] Ambari Python Shell ................................ SKIPPED
> [INFO] Ambari Groovy Shell ................................ SKIPPED
> [INFO] ambari-logsearch ................................... SKIPPED
> [INFO] Ambari Logsearch Appender .......................... SKIPPED
> [INFO] Ambari Logsearch Portal ............................ SKIPPED
> [INFO] Ambari Logsearch Log Feeder ........................ SKIPPED
> [INFO] Ambari Logsearch Solr Client ....................... SKIPPED
> [INFO] Ambari Infra Solr Plugin ........................... SKIPPED
> [INFO] Ambari Logsearch Assembly .......................... SKIPPED
> [INFO] Ambari Logsearch Integration Test .................. SKIPPED
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 05:53 min
> [INFO] Finished at: 2017-02-11T12:26:55+00:00
> [INFO] Final Memory: 186M/991M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check 
> (default) on project ambari-server: Too many files with unapproved license: 1 
> See RAT report in: /tmp/ambari/ambari-server/tar
> get/rat.txt -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> {code}
> In {code}/tmp/ambari/ambari-server/target/rat.txt{code}, 
> {code}
> *****************************************************
> Summary
> -------
> Generated at: 2017-02-11T12:26:52+00:00
> Notes: 5
> Binaries: 2
> Archives: 3
> Standards: 5343
> Apache Licensed: 5342
> Generated Documents: 0
> JavaDocs are generated and so license header is optional
> Generated files do not required license headers
> 1 Unknown Licenses
> *******************************
> Unapproved licenses:
>   /tmp/ambari/ambari-server/derby.log
> {code}
> I think we don't have to check the licence of the derby.log



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to