THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||
---|---|---|
| ||
$ git clone https://git-wip-us.apache.org/repos/asf/spark.git -b branch-0.9 $ cd incubator-spark $ sbt/sbt assembly $ export MAVEN_OPTS="-Xmx3g -XX:MaxPermSize=1g -XX:ReservedCodeCacheSize=1g" $ mvn test |
Run License Audit Tool
Check whether all the source files have Apache headers. Note that Spark REPL files and some pyspark files will have other license headers (as they are not Apache licensed) and should be ignored.
Code Block | ||
---|---|---|
| ||
$ java -jar /path/to/apache-rat-0.10.jar --dir . --exclude *.md > rat_results.txt $ vi rat_results.txt $ # Look for source files that seem to have missing headers $ cat rat_results.txt | grep "???" | grep -e \.scala$ -e \.java$ -e \.py$ -e \.sh$ $ # Add missing headers if necessary |
...