Skip to content
Snippets Groups Projects
  • Sean Owen's avatar
    73b0cbcc
    SPARK-1556. jets3t dep doesn't update properly with newer Hadoop versions · 73b0cbcc
    Sean Owen authored
    See related discussion at https://github.com/apache/spark/pull/468
    
    This PR may still overstep what you have in mind, but let me put it on the table to start. Besides fixing the issue, it has one substantive change, and that is to manage Hadoop-specific things only in Hadoop-related profiles. This does _not_ remove `yarn.version`.
    
    - Moves the YARN and Hadoop profiles together in pom.xml. Sorry that this makes the diff a little hard to grok but the changes are only as follows.
    - Removes `hadoop.major.version`
    - Introduce `hadoop-2.2` and `hadoop-2.3` profiles to control Hadoop-specific changes:
      - like the protobuf version issue - this was only 'solved' now by enabling YARN for 2.2+, which is really an orthogonal issue
      - like the jets3t version issue now
    - Hadoop profiles set an appropriate default `hadoop.version`, that can be overridden
    - _(YARN profiles in the parent now only exist to add the sub-module)_
    - Fixes the jets3t dependency issue
     - and makes it a runtime dependency
     - and centralizes config of this guy in the parent pom
    - Updates build docs
    - Updates SBT build too
      - and fixes a regex problem along the way
    
    Author: Sean Owen <sowen@cloudera.com>
    
    Closes #629 from srowen/SPARK-1556 and squashes the following commits:
    
    c3fa967 [Sean Owen] Fix hadoop-2.4 profile typo in doc
    a2105fd [Sean Owen] Add hadoop-2.4 profile and don't set hadoop.version in profiles
    274f4f9 [Sean Owen] Make jets3t a runtime dependency, and bring its exclusion up into parent config
    bbed826 [Sean Owen] Use jets3t 0.9.0 for Hadoop 2.3+ (and correct similar regex issue in SBT build)
    f21f356 [Sean Owen] Build changes to set up for jets3t fix
    73b0cbcc
    History
    SPARK-1556. jets3t dep doesn't update properly with newer Hadoop versions
    Sean Owen authored
    See related discussion at https://github.com/apache/spark/pull/468
    
    This PR may still overstep what you have in mind, but let me put it on the table to start. Besides fixing the issue, it has one substantive change, and that is to manage Hadoop-specific things only in Hadoop-related profiles. This does _not_ remove `yarn.version`.
    
    - Moves the YARN and Hadoop profiles together in pom.xml. Sorry that this makes the diff a little hard to grok but the changes are only as follows.
    - Removes `hadoop.major.version`
    - Introduce `hadoop-2.2` and `hadoop-2.3` profiles to control Hadoop-specific changes:
      - like the protobuf version issue - this was only 'solved' now by enabling YARN for 2.2+, which is really an orthogonal issue
      - like the jets3t version issue now
    - Hadoop profiles set an appropriate default `hadoop.version`, that can be overridden
    - _(YARN profiles in the parent now only exist to add the sub-module)_
    - Fixes the jets3t dependency issue
     - and makes it a runtime dependency
     - and centralizes config of this guy in the parent pom
    - Updates build docs
    - Updates SBT build too
      - and fixes a regex problem along the way
    
    Author: Sean Owen <sowen@cloudera.com>
    
    Closes #629 from srowen/SPARK-1556 and squashes the following commits:
    
    c3fa967 [Sean Owen] Fix hadoop-2.4 profile typo in doc
    a2105fd [Sean Owen] Add hadoop-2.4 profile and don't set hadoop.version in profiles
    274f4f9 [Sean Owen] Make jets3t a runtime dependency, and bring its exclusion up into parent config
    bbed826 [Sean Owen] Use jets3t 0.9.0 for Hadoop 2.3+ (and correct similar regex issue in SBT build)
    f21f356 [Sean Owen] Build changes to set up for jets3t fix