Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-955

Rat failure: Legacy Avro Source missing Apache license header

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.1.0
    • None
    • None

    Description

      Upon executing the following command on the FLUME-728 branch I get a build error:

      $ mvn clean install
      ...
      [INFO] Flume legacy Thrift Source ........................ SUCCESS [0.396s]
      [INFO] Flume legacy Avro source .......................... FAILURE [0.466s]
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      ...
      [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.7:check (verify.rat) on project flume-avro-source: Too many unapproved licenses: 1 -> [Help 1]

      Following snippet is from flume-ng-legacy-sources/flume-avro-source/target/rat.txt:

      *****************************************************
      Summary
      -------
      Notes: 0
      Binaries: 0
      Archives: 0
      Standards: 4

      Apache Licensed: 3
      Generated Documents: 0

      JavaDocs are generated and so license header is optional
      Generated files do not required license headers

      1 Unknown Licenses

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

      Unapproved licenses:

      /Users/mpercy/src/flume2/flume-728/flume-ng-legacy-sources/flume-avro-source/src/main/java/org/apache/flume/source/avroLegacy/AvroLegacySource.java

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

      Archives:

      *****************************************************
      Files with Apache License headers will be marked AL
      Binary files (which do not require AL headers) will be marked B
      Compressed archives will be marked A
      Notices, licenses etc will be marked N
      AL /Users/mpercy/src/flume2/flume-728/flume-ng-legacy-sources/flume-avro-source/pom.xml
      AL /Users/mpercy/src/flume2/flume-728/flume-ng-legacy-sources/flume-avro-source/src/main/avro/flumeCompatibility.avdl
      !????? /Users/mpercy/src/flume2/flume-728/flume-ng-legacy-sources/flume-avro-source/src/main/java/org/apache/flume/source/avroLegacy/AvroLegacySource.java
      AL /Users/mpercy/src/flume2/flume-728/flume-ng-legacy-sources/flume-avro-source/src/test/java/org/apache/flume/source/avroLegacy/TestLegacyAvroSource.java

      Attachments

        1. flume-955.patch
          1 kB
          Mike Percy

        Activity

          People

            mpercy Mike Percy
            mpercy Mike Percy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: