-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Auto-Tuning - Introduction of basic stats regarding file counts/siz…
…es for large tables. We'll make adjustments to DISTRIBUTE BY and Tez Groupings to provide more efficient/balanced migrations with better/more optimized file sizes after migration for migrations using SQL. #53 - AAdditional table filters (`-tfs|--table-filter-size-limit` and `-tfp|--table-filter-partition-count-limit`) that check a tables data size and partition count limits can also be applied to narrow the range of tables you'll process. #55 - Add property to tables migrated with "STORAGE_MIGRATION" to identify and filter them out from future runs. #56 - `-cto|--compress-text-output` option and additional session level settings using basic stats. - HDP3 scenario that doesn't support MANAGEDLOCATION element in database properties. #52 - AVRO Schema Only Fix.. #58 - Cleanup messaging around legacy config settings. - Fix/Added `dbRegEx` command line parameter: #57 Configuration Breaking Change. If you see note about `A configuration element is no longer valid, progress. Please remove the element from the configuration yaml and try again.` with `Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "tblRegEx"`, please remove the properties `dbRegEx`, `tblRegEx` and `tblExcludeRegEx` from the config yaml.
- Loading branch information
Showing
45 changed files
with
1,841 additions
and
1,279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package com.cloudera.utils.hadoop.hms; | ||
|
||
import com.cloudera.utils.hadoop.hms.mirror.Config; | ||
|
||
import java.util.ArrayList; | ||
import java.util.Arrays; | ||
import java.util.List; | ||
|
||
public class Context { | ||
private static final Context instance = new Context(); | ||
private List<String> supportFileSystems = new ArrayList<String>(Arrays.asList( | ||
"hdfs","ofs","s3","s3a","s3n","wasb","adls","gf" | ||
)); | ||
private Config config = null; | ||
|
||
private Context() {}; | ||
|
||
public static Context getInstance() { | ||
return instance; | ||
} | ||
|
||
public Config getConfig() { | ||
return config; | ||
} | ||
|
||
public void setConfig(Config config) { | ||
this.config = config; | ||
} | ||
|
||
public List<String> getSupportFileSystems() { | ||
return supportFileSystems; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.