Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-1846

RAT checks should exclude logs/ directory

    XMLWordPrintableJSON

Details

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

    Description

      When there are logs in the logs/ directory, the rat check from ./dev/check-license fails.

      ```
      aash@aash-mbp ~/git/spark$ find logs -type f
      logs/spark-aash-org.apache.spark.deploy.master.Master-1-aash-mbp.local.out
      logs/spark-aash-org.apache.spark.deploy.master.Master-1-aash-mbp.local.out.1
      logs/spark-aash-org.apache.spark.deploy.master.Master-1-aash-mbp.local.out.2
      logs/spark-aash-org.apache.spark.deploy.master.Master-1-aash-mbp.local.out.3
      logs/spark-aash-org.apache.spark.deploy.master.Master-1-aash-mbp.local.out.4
      logs/spark-aash-org.apache.spark.deploy.master.Master-1-aash-mbp.local.out.5
      logs/spark-aash-org.apache.spark.deploy.worker.Worker--aash-mbp.local.out
      logs/spark-aash-org.apache.spark.deploy.worker.Worker--aash-mbp.local.out.1
      logs/spark-aash-org.apache.spark.deploy.worker.Worker-1-aash-mbp.local.out
      logs/spark-aash-org.apache.spark.deploy.worker.Worker-1-aash-mbp.local.out.1
      logs/spark-aash-org.apache.spark.deploy.worker.Worker-1-aash-mbp.local.out.2
      logs/spark-aash-org.apache.spark.deploy.worker.Worker-1-aash-mbp.local.out.3
      logs/spark-aash-org.apache.spark.deploy.worker.Worker-1-aash-mbp.local.out.4
      logs/spark-aash-org.apache.spark.deploy.worker.Worker-1-aash-mbp.local.out.5
      logs/spark-aash-spark.deploy.master.Master-1-aash-mbp.local.out
      logs/spark-aash-spark.deploy.master.Master-1-aash-mbp.local.out.1
      logs/spark-aash-spark.deploy.master.Master-1-aash-mbp.local.out.2
      logs/spark-aash-spark.deploy.worker.Worker-1-aash-mbp.local.out
      logs/spark-aash-spark.deploy.worker.Worker-1-aash-mbp.local.out.1
      logs/spark-aash-spark.deploy.worker.Worker-1-aash-mbp.local.out.2
      aash@aash-mbp ~/git/spark$ ./dev/check-license
      Could not find Apache license headers in the following files:
      !????? /Users/aash/git/spark/logs/spark-aash-org.apache.spark.deploy.master.Master-1-aash-mbp.local.out
      !????? /Users/aash/git/spark/logs/spark-aash-org.apache.spark.deploy.master.Master-1-aash-mbp.local.out.1
      !????? /Users/aash/git/spark/logs/spark-aash-org.apache.spark.deploy.master.Master-1-aash-mbp.local.out.2
      !????? /Users/aash/git/spark/logs/spark-aash-org.apache.spark.deploy.master.Master-1-aash-mbp.local.out.3
      !????? /Users/aash/git/spark/logs/spark-aash-org.apache.spark.deploy.master.Master-1-aash-mbp.local.out.4
      !????? /Users/aash/git/spark/logs/spark-aash-org.apache.spark.deploy.master.Master-1-aash-mbp.local.out.5
      !????? /Users/aash/git/spark/logs/spark-aash-org.apache.spark.deploy.worker.Worker--aash-mbp.local.out
      !????? /Users/aash/git/spark/logs/spark-aash-org.apache.spark.deploy.worker.Worker--aash-mbp.local.out.1
      !????? /Users/aash/git/spark/logs/spark-aash-org.apache.spark.deploy.worker.Worker-1-aash-mbp.local.out
      !????? /Users/aash/git/spark/logs/spark-aash-org.apache.spark.deploy.worker.Worker-1-aash-mbp.local.out.1
      !????? /Users/aash/git/spark/logs/spark-aash-org.apache.spark.deploy.worker.Worker-1-aash-mbp.local.out.2
      !????? /Users/aash/git/spark/logs/spark-aash-org.apache.spark.deploy.worker.Worker-1-aash-mbp.local.out.3
      !????? /Users/aash/git/spark/logs/spark-aash-org.apache.spark.deploy.worker.Worker-1-aash-mbp.local.out.4
      !????? /Users/aash/git/spark/logs/spark-aash-org.apache.spark.deploy.worker.Worker-1-aash-mbp.local.out.5
      !????? /Users/aash/git/spark/logs/spark-aash-spark.deploy.master.Master-1-aash-mbp.local.out
      !????? /Users/aash/git/spark/logs/spark-aash-spark.deploy.master.Master-1-aash-mbp.local.out.1
      !????? /Users/aash/git/spark/logs/spark-aash-spark.deploy.master.Master-1-aash-mbp.local.out.2
      !????? /Users/aash/git/spark/logs/spark-aash-spark.deploy.worker.Worker-1-aash-mbp.local.out
      !????? /Users/aash/git/spark/logs/spark-aash-spark.deploy.worker.Worker-1-aash-mbp.local.out.1
      !????? /Users/aash/git/spark/logs/spark-aash-spark.deploy.worker.Worker-1-aash-mbp.local.out.2
      aash@aash-mbp ~/git/spark$
      ```

      Attachments

        Activity

          People

            Unassigned Unassigned
            aash Andrew Ash
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: