hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <>
Subject [jira] [Updated] (HIVE-11378) Remove hadoop-1 support from master branch
Date Mon, 27 Jul 2015 22:43:04 GMT


Alan Gates updated HIVE-11378:
    Attachment: HIVE-11378.patch

This patch is mostly changes to the pom files.  I have removed dead code from shims/0.20S.
 The only other code changes I made were:
* TestHCatLoaderEncryption - removed guards where certain tests were skipped in hadoop1
* ShimLoader - removed all the options for returning hadoop1 classes
* HadoopThriftAuthBridge - made this class abstract (since HadoopThriftAuthBridge23 extends
it) and made abstract the one method that was hadoop1 specific since HTAB23 overrides that

I've tested the following options:
* mvn clean install
* mvn test
* mvn package -Pdist
* mvn javadoc:javadoc -Pjavadoc

All work without specifying a hadoop-2 profile.  I'm interested to know if there are any other
maven targets I should test.

> Remove hadoop-1 support from master branch
> ------------------------------------------
>                 Key: HIVE-11378
>                 URL:
>             Project: Hive
>          Issue Type: Task
>          Components: Build Infrastructure
>    Affects Versions: 2.0.0
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>         Attachments: HIVE-11378.patch
> When we branched branch-1 one of the goals was the ability to remove hadoop1 support
from master.  I propose to do this softly at first by removing it from the poms removing the
20S implementation of the shims.  
> I am not going to remove the shim layer.  That would be much more disruptive.  Also,
I haven't done the homework to see if we could, as there may still be incompatibility issues
between various versions of hadoop2.

This message was sent by Atlassian JIRA

View raw message