You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Raghav Aggarwal (Jira)" <ji...@apache.org> on 2025/11/28 12:15:00 UTC

[jira] [Updated] (HIVE-29326) Move imports to commons-collections4.x to prevent ClassNotFound in Tez-1.0.0

     [ https://issues.apache.org/jira/browse/HIVE-29326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raghav Aggarwal updated HIVE-29326:
-----------------------------------
    Description: 
In Tez-1.0.0-SNAPSHOT, hadoop has been upgraded to 3.4.2 and hadoop dependencies in tez project has stopped shipping commons-collections-3.x. But hive still depends on commons-collections3.x directly as well as thorugh third-party dependency like opencsv, commons-beanutils etc. It's better to moves import statment to commons-collection-4.x

 

In order to migrate from commons-collections3.x to 4.x in hive, few prerequisites are there:
 # Migrate hadoop to 3.4.2
 # Migrate opencsv to 5.12.0
 # commons-beanutils 1.x to 2.x migration. NOTE: 2.x is not offically released, only milestone version is present https://issues.apache.org/jira/browse/BEANUTILS-532?focusedCommentId=17908246&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17908246
 # Need to figure out what to do about atlas-intg dependecy as it also brings commons-collections-3.x

  was:
In Tez-1.0.0-SNAPSHOT, hadoop has been upgraded to 3.4.2 and hadoop dependencies in tez project has stopped shipping commons-collections-3.x. But hive still depends on commons-collections3.x directly as well as thorugh third-party dependency like opencsv, commons-beanutils etc. It's better to shade until hive moves completely to commons-collection-4.x

 

In order to migrate from commons-collections3.x to 4.x in hive, few prerequisites are there:
 # Migrate hadoop to 3.4.2
 # Migrate opencsv to 5.12.0
 # commons-beanutils 1.x to 2.x migration. NOTE: 2.x is not offically released, only milestone version is present https://issues.apache.org/jira/browse/BEANUTILS-532?focusedCommentId=17908246&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17908246
 # Need to figure out what to do about atlas-intg dependecy as it also brings commons-collections-3.x


> Move imports to commons-collections4.x to prevent ClassNotFound in Tez-1.0.0
> ----------------------------------------------------------------------------
>
>                 Key: HIVE-29326
>                 URL: https://issues.apache.org/jira/browse/HIVE-29326
>             Project: Hive
>          Issue Type: Task
>            Reporter: Raghav Aggarwal
>            Assignee: Raghav Aggarwal
>            Priority: Major
>              Labels: pull-request-available
>
> In Tez-1.0.0-SNAPSHOT, hadoop has been upgraded to 3.4.2 and hadoop dependencies in tez project has stopped shipping commons-collections-3.x. But hive still depends on commons-collections3.x directly as well as thorugh third-party dependency like opencsv, commons-beanutils etc. It's better to moves import statment to commons-collection-4.x
>  
> In order to migrate from commons-collections3.x to 4.x in hive, few prerequisites are there:
>  # Migrate hadoop to 3.4.2
>  # Migrate opencsv to 5.12.0
>  # commons-beanutils 1.x to 2.x migration. NOTE: 2.x is not offically released, only milestone version is present https://issues.apache.org/jira/browse/BEANUTILS-532?focusedCommentId=17908246&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17908246
>  # Need to figure out what to do about atlas-intg dependecy as it also brings commons-collections-3.x



--
This message was sent by Atlassian Jira
(v8.20.10#820010)