5
0
mirror of https://github.com/apache/sqoop.git synced 2025-05-04 01:19:38 +08:00

SQOOP-1368: the configuration properties are reset in HBaseImportJob

(Guodong Wang via Jarek Jarcec Cecho)
This commit is contained in:
Jarek Jarcec Cecho 2014-07-25 06:48:57 -07:00
parent 28f5aa03ba
commit f05b4413a4

View File

@ -138,7 +138,8 @@ protected void jobSetup(Job job) throws IOException, ImportException {
}
// Add HBase configuration files to this conf object.
HBaseConfiguration.addHbaseResources(conf);
Configuration newConf = HBaseConfiguration.create(conf);
HBaseConfiguration.merge(conf, newConf);
HBaseAdmin admin = new HBaseAdmin(conf);