hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Navis (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-6241) Remove direct reference of Hadoop23Shims inQTestUtil
Date Tue, 21 Jan 2014 00:53:20 GMT

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

Navis updated HIVE-6241:
------------------------

    Attachment: HIVE-6241.1.patch.txt

> Remove direct reference of Hadoop23Shims inQTestUtil
> ----------------------------------------------------
>
>                 Key: HIVE-6241
>                 URL: https://issues.apache.org/jira/browse/HIVE-6241
>             Project: Hive
>          Issue Type: Wish
>          Components: Tests
>            Reporter: Navis
>            Assignee: Navis
>            Priority: Trivial
>         Attachments: HIVE-6241.1.patch.txt
>
>
> {code}
> if (clusterType == MiniClusterType.tez) {
>   if (!(shims instanceof Hadoop23Shims)) {
>     throw new Exception("Cannot run tez on hadoop-1, Version: "+this.hadoopVer);
>   }
>   mr = ((Hadoop23Shims)shims).getMiniTezCluster(conf, 4, getHdfsUriString(fs.getUri().toString()),
1);
> } else {
>   mr = shims.getMiniMrCluster(conf, 4, getHdfsUriString(fs.getUri().toString()), 1);
> }
> {code}
> Not important but a little annoying when the shims is not in classpath. And I think hadoop24shims
or later might support tez.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message