You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@orc.apache.org by do...@apache.org on 2021/08/01 05:43:24 UTC

[orc] branch main updated: ORC-890: Pin minimum support Hadoop version to 2.2.0 (#792)

This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/orc.git


The following commit(s) were added to refs/heads/main by this push:
     new 09218e6  ORC-890: Pin minimum support Hadoop version to 2.2.0 (#792)
09218e6 is described below

commit 09218e69c103ce89794ff6bd7b757fd5e30f299e
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Sat Jul 31 22:43:19 2021 -0700

    ORC-890: Pin minimum support Hadoop version to 2.2.0 (#792)
    
    ### What changes were proposed in this pull request?
    
    This PR aims to pin the minimum support Hadoop version to 2.2.0.
    
    ### Why are the changes needed?
    
    We have `min.hadoop.version` for three dependencies. We need to pin them all.
    ```
    $ git grep -C1 min.hadoop.version
    java/pom.xml-
    java/pom.xml:    <min.hadoop.version>2.2.0</min.hadoop.version>
    java/pom.xml-    <hadoop.version>2.7.3</hadoop.version>
    --
    java/pom.xml-        <artifactId>hadoop-common</artifactId>
    java/pom.xml:        <version>${min.hadoop.version}</version>
    java/pom.xml-        <scope>provided</scope>
    --
    java/pom.xml-        <artifactId>hadoop-hdfs</artifactId>
    java/pom.xml:        <version>${min.hadoop.version}</version>
    java/pom.xml-        <scope>provided</scope>
    --
    java/pom.xml-        <artifactId>hadoop-mapreduce-client-core</artifactId>
    java/pom.xml:        <version>${min.hadoop.version}</version>
    java/pom.xml-        <scope>provided</scope>
    ```
    
    ### How was this patch tested?
    
    N/A. This affects only `Dependabot`.
    
    This closes #782 .
---
 .github/dependabot.yml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 496dbd3..0d5a777 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -26,3 +26,10 @@ updates:
       # Pin jmh to 1.20
       - dependency-name: "org.openjdk.jmh:jmh-core"
         versions: "[1.21,)"
+      # Pin minimum support Hadoop version to 2.2.0
+      - dependency-name: "org.apache.hadoop:hadoop-common"
+        versions: "[2.2.1,)"
+      - dependency-name: "org.apache.hadoop:hadoop-hdfs"
+        versions: "[2.2.1,)"
+      - dependency-name: "org.apache.hadoop:hadoop-mapreduce-client-core"
+        versions: "[2.2.1,)"