mirror of
https://github.com/apache/sqoop.git
synced 2025-05-02 17:40:39 +08:00
Adjust regex used to recognize CDH3 in ShimLoader.
From: Aaron Kimball <aaron@cloudera.com> git-svn-id: https://svn.apache.org/repos/asf/incubator/sqoop/trunk@1149920 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8239c3730e
commit
ca0dec83e7
@ -68,8 +68,9 @@ public abstract class ShimLoader {
|
||||
static {
|
||||
// These regular expressions will be evaluated in order until one matches.
|
||||
|
||||
// CDH3 (based on 0.20.2)
|
||||
HADOOP_SHIM_MATCHES.add("0.20.2-[cC][dD][hH]3.*");
|
||||
// CDH3 (based on 0.20.2) has versions of the form "0.20.2+nnn" where
|
||||
// nnn is a build number.
|
||||
HADOOP_SHIM_MATCHES.add("0.20.2\\+[0-9]+");
|
||||
HADOOP_SHIM_CLASSES.add("com.cloudera.sqoop.shims.CDH3Shim");
|
||||
HADOOP_SHIM_JARS.add("sqoop-.*-cloudera.jar");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user