Github user pwendell commented on the pull request:

    https://github.com/apache/spark/pull/125#issuecomment-37736072
  
    @ScrapCodes this is a good start but right now it doesn't actually fail the 
build if RAT doesn't succeed. Also, RAT reports a bunch of failures for python 
files that I think we want to ignore here.
    
    I'd actually pipe the output of RAT to a file called `rat-results.txt` and 
then we should grep that file and see if there are any license errors and if 
there are we should exit nonzero from the test runner.
    
    ```
    java -jar lib/apache-rat-0.10.jar -E .rat-excludes -d . > rat-results.txt
    cat rat-results.txt  | grep "??" 
    ```
    
    Then if the errors are non-empty we should echo back to the user which 
files are missing and fail the test script



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to