apache / parquet-java

Apache Parquet Java
https://parquet.apache.org/
Apache License 2.0
2.65k stars 1.41k forks source link

[Java] parquet-mr fails compiling #2712

Closed asfimport closed 1 week ago

asfimport commented 2 years ago

This is on git master:


[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache Parquet MR 1.13.0-SNAPSHOT:
[INFO] 
[INFO] Apache Parquet MR .................................. FAILURE [  0.958 s]
[INFO] Apache Parquet Format Structures ................... SKIPPED
[INFO] Apache Parquet Generator ........................... SKIPPED
[INFO] Apache Parquet Common .............................. SKIPPED
[INFO] Apache Parquet Encodings ........................... SKIPPED
[INFO] Apache Parquet Column .............................. SKIPPED
[INFO] Apache Parquet Arrow ............................... SKIPPED
[INFO] Apache Parquet Jackson ............................. SKIPPED
[INFO] Apache Parquet Hadoop .............................. SKIPPED
[INFO] Apache Parquet Avro ................................ SKIPPED
[INFO] Apache Parquet Benchmarks .......................... SKIPPED
[INFO] Apache Parquet Command-line ........................ SKIPPED
[INFO] Apache Parquet Pig ................................. SKIPPED
[INFO] Apache Parquet Pig Bundle .......................... SKIPPED
[INFO] Apache Parquet Protobuf ............................ SKIPPED
[INFO] Apache Parquet Scala ............................... SKIPPED
[INFO] Apache Parquet Thrift .............................. SKIPPED
[INFO] Apache Parquet Hadoop Bundle ....................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.148 s
[INFO] Finished at: 2022-09-12T16:06:24+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.13:check (default) on project parquet: Too many files with unapproved license: 1 See RAT report in: /home/antoine/parquet/mr/target/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.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

This is the "RAT" (sic) report:


*****************************************************

Files with unapproved licenses:

  cli.sh

*****************************************************

*****************************************************
  Files with Apache License headers will be marked AL
  Binary files (which do not require any license headers) will be marked B
  Compressed archives will be marked A
  Notices, licenses etc. will be marked N
  N     NOTICE
  AL    .travis.yml
  AL    CHANGES.md
  N     LICENSE
  AL    dev/ci-before_install.sh
  AL    dev/prepare-release.sh
  AL    dev/finalize-release
  AL    dev/ci-before_install-master.sh
  AL    dev/merge_parquet_pr.py
  AL    dev/COMMITTERS.md
  AL    dev/source-release.sh
  AL    dev/README.md
  N     src/license.txt
  AL    .editorconfig
  AL    changelog.sh
  AL    .github/workflows/test.yml
  B     doc/dremel_paper/schema.png
  B     doc/dremel_paper/dremel_example.png
  AL    pom.xml
 !????? cli.sh
  AL    PoweredBy.md
  AL    README.md

*****************************************************

This is because I have a script file "cli.sh" at the base of the git checkout.

The "RAT" report shouldn't fail because of unrelated files that are not in the git repository...

Reporter: Antoine Pitrou / @pitrou

Note: This issue was originally created as PARQUET-2186. Please see the migration documentation for further details.

Fokko commented 1 week ago

I think this has been fixed by now :)