Github user pwendell commented on the pull request:

    https://github.com/apache/spark/pull/629#issuecomment-42158974
  
    Thanks @srowen! I tested this and it seems to work well (tests below).
    
    Comments are inline. My main thoughts were:
    1. It might be nicer to ask people to always set `hadoop.version`, it's 
just a bit more explicit and IMO less confusing. Of course, advanced users can 
rely on the profile to set the version.
    2. It could be nice to make distinct profiles for 2.3 and 2.4... then it 
will be clear to users if they want to build against 2.5+ they are in uncharted 
territory, since we can't officially support those builds until they come out.
    
    ```
    mvn -Pyarn -Phadoop-2.3 -DskipTests clean package
    ./bin/spark-shell
    scala> 
sc.textFile("s3n://big-data-benchmark/pavlo/text/tiny/rankings/").count
    res1: Long = 1200
    ```



---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to