HADOOP-2753 Back out 2718; programmatic config works but
hbase*xml conf is overridden git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk/src/contrib/hbase@617025 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6e22739796
commit
d374f82519
|
@ -155,6 +155,8 @@ Trunk (unreleased changes)
|
|||
HADOOP-2718 Copy Constructor HBaseConfiguration(Configuration) will override
|
||||
hbase configurations if argumant is not an instance of
|
||||
HBaseConfiguration.
|
||||
HADOOP-2753 Back out 2718; programmatic config works but hbase*xml conf
|
||||
is overridden
|
||||
HADOOP-2631 2443 breaks HTable.getStartKeys when there is more than one
|
||||
table or table you are enumerating isn't the first table
|
||||
Delete empty file: src/contrib/hbase/src/java/org/apache/hadoop/hbase/mapred/
|
||||
|
|
|
@ -19,8 +19,6 @@
|
|||
*/
|
||||
package org.apache.hadoop.hbase;
|
||||
|
||||
import java.util.Map.Entry;
|
||||
|
||||
import org.apache.hadoop.conf.Configuration;
|
||||
|
||||
/**
|
||||
|
@ -38,9 +36,9 @@ public class HBaseConfiguration extends Configuration {
|
|||
* @param c Configuration to clone.
|
||||
*/
|
||||
public HBaseConfiguration(final Configuration c) {
|
||||
super();
|
||||
for (Entry<String, String>e: c) {
|
||||
set(e.getKey(), e.getValue());
|
||||
super(c);
|
||||
if (!(c instanceof HBaseConfiguration)) {
|
||||
addHbaseResources();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue