Issue 14702

Use more configuration conventions, e.g. for hbase/hive tables

14702
Reporter: mdoering
Type: Improvement
Summary: Use more configuration conventions, e.g. for hbase/hive tables
Priority: Major
Resolution: Fixed
Status: Resolved
Created: 2014-01-14 14:33:59.651
Updated: 2014-01-17 16:36:42.23
Resolved: 2014-01-17 16:36:42.201
        
Description: We have an increasing number of config properties that are a nightmare to keep configured properly. Strongly consider to use more conventions to replace some of these configs. For example instead of configuring each and every table used only configure a prefix for all hbase and hive tables!

Instead of these properties scattered in various poms:

dev_occurrence
dev_occurrence_counter
dev_occurrence_lookup
dev_featured_occurrence
dev.occurrence_hdfs


Only use this and hardcode the standard table names and hdfs suffices in code:
dev_

... you would not configure mybatis for every table being used either.]]>
    


Author: mdoering@gbif.org
Created: 2014-01-17 16:36:42.227
Updated: 2014-01-17 16:36:42.227
        
https://github.com/gbif/occurrence/commit/51b3985d91612a26740f63da66fd6f997ec6f2c9

Use a new main maven property occurrence.environment to craft table names