HBASE-10842 Some loggers not declared static final (Richard Ding)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1582142 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a87927acdc
commit
e44d0d8083
|
@ -45,7 +45,7 @@ import org.apache.hadoop.mapred.Partitioner;
|
||||||
@InterfaceStability.Stable
|
@InterfaceStability.Stable
|
||||||
public class HRegionPartitioner<K2,V2>
|
public class HRegionPartitioner<K2,V2>
|
||||||
implements Partitioner<ImmutableBytesWritable, V2> {
|
implements Partitioner<ImmutableBytesWritable, V2> {
|
||||||
private final Log LOG = LogFactory.getLog(TableInputFormat.class);
|
private static final Log LOG = LogFactory.getLog(HRegionPartitioner.class);
|
||||||
private HTable table;
|
private HTable table;
|
||||||
private byte[][] startKeys;
|
private byte[][] startKeys;
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@ import org.apache.hadoop.util.StringUtils;
|
||||||
@InterfaceStability.Stable
|
@InterfaceStability.Stable
|
||||||
public class TableInputFormat extends TableInputFormatBase implements
|
public class TableInputFormat extends TableInputFormatBase implements
|
||||||
JobConfigurable {
|
JobConfigurable {
|
||||||
private final Log LOG = LogFactory.getLog(TableInputFormat.class);
|
private static final Log LOG = LogFactory.getLog(TableInputFormat.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* space delimited list of columns
|
* space delimited list of columns
|
||||||
|
|
|
@ -70,7 +70,7 @@ import org.apache.hadoop.mapred.Reporter;
|
||||||
@InterfaceStability.Stable
|
@InterfaceStability.Stable
|
||||||
public abstract class TableInputFormatBase
|
public abstract class TableInputFormatBase
|
||||||
implements InputFormat<ImmutableBytesWritable, Result> {
|
implements InputFormat<ImmutableBytesWritable, Result> {
|
||||||
final Log LOG = LogFactory.getLog(TableInputFormatBase.class);
|
private static final Log LOG = LogFactory.getLog(TableInputFormatBase.class);
|
||||||
private byte [][] inputColumns;
|
private byte [][] inputColumns;
|
||||||
private HTable table;
|
private HTable table;
|
||||||
private TableRecordReader tableRecordReader;
|
private TableRecordReader tableRecordReader;
|
||||||
|
|
|
@ -48,7 +48,7 @@ FileOutputFormat<ImmutableBytesWritable, Put> {
|
||||||
|
|
||||||
/** JobConf parameter that specifies the output table */
|
/** JobConf parameter that specifies the output table */
|
||||||
public static final String OUTPUT_TABLE = "hbase.mapred.outputtable";
|
public static final String OUTPUT_TABLE = "hbase.mapred.outputtable";
|
||||||
private final Log LOG = LogFactory.getLog(TableOutputFormat.class);
|
private static final Log LOG = LogFactory.getLog(TableOutputFormat.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Convert Reduce output (key, value) to (HStoreKey, KeyedDataArrayWritable)
|
* Convert Reduce output (key, value) to (HStoreKey, KeyedDataArrayWritable)
|
||||||
|
|
|
@ -51,7 +51,7 @@ public class HRegionPartitioner<KEY, VALUE>
|
||||||
extends Partitioner<ImmutableBytesWritable, VALUE>
|
extends Partitioner<ImmutableBytesWritable, VALUE>
|
||||||
implements Configurable {
|
implements Configurable {
|
||||||
|
|
||||||
private final Log LOG = LogFactory.getLog(TableInputFormat.class);
|
private static final Log LOG = LogFactory.getLog(HRegionPartitioner.class);
|
||||||
private Configuration conf = null;
|
private Configuration conf = null;
|
||||||
private HTable table;
|
private HTable table;
|
||||||
private byte[][] startKeys;
|
private byte[][] startKeys;
|
||||||
|
|
|
@ -40,7 +40,7 @@ import org.apache.hadoop.util.StringUtils;
|
||||||
public class TableInputFormat extends TableInputFormatBase
|
public class TableInputFormat extends TableInputFormatBase
|
||||||
implements Configurable {
|
implements Configurable {
|
||||||
|
|
||||||
private final Log LOG = LogFactory.getLog(TableInputFormat.class);
|
private static final Log LOG = LogFactory.getLog(TableInputFormat.class);
|
||||||
|
|
||||||
/** Job parameter that specifies the input table. */
|
/** Job parameter that specifies the input table. */
|
||||||
public static final String INPUT_TABLE = "hbase.mapreduce.inputtable";
|
public static final String INPUT_TABLE = "hbase.mapreduce.inputtable";
|
||||||
|
|
|
@ -51,7 +51,7 @@ import org.apache.hadoop.mapreduce.TaskAttemptContext;
|
||||||
public class TableOutputFormat<KEY> extends OutputFormat<KEY, Mutation>
|
public class TableOutputFormat<KEY> extends OutputFormat<KEY, Mutation>
|
||||||
implements Configurable {
|
implements Configurable {
|
||||||
|
|
||||||
private final Log LOG = LogFactory.getLog(TableOutputFormat.class);
|
private static final Log LOG = LogFactory.getLog(TableOutputFormat.class);
|
||||||
|
|
||||||
/** Job parameter that specifies the output table. */
|
/** Job parameter that specifies the output table. */
|
||||||
public static final String OUTPUT_TABLE = "hbase.mapred.outputtable";
|
public static final String OUTPUT_TABLE = "hbase.mapred.outputtable";
|
||||||
|
|
|
@ -37,7 +37,7 @@ import org.apache.zookeeper.data.Stat;
|
||||||
*/
|
*/
|
||||||
@InterfaceAudience.Private
|
@InterfaceAudience.Private
|
||||||
public class OfflineCallback implements StringCallback {
|
public class OfflineCallback implements StringCallback {
|
||||||
private final Log LOG = LogFactory.getLog(OfflineCallback.class);
|
private static final Log LOG = LogFactory.getLog(OfflineCallback.class);
|
||||||
private final ExistCallback callBack;
|
private final ExistCallback callBack;
|
||||||
private final ZooKeeperWatcher zkw;
|
private final ZooKeeperWatcher zkw;
|
||||||
private final ServerName destination;
|
private final ServerName destination;
|
||||||
|
@ -79,7 +79,7 @@ public class OfflineCallback implements StringCallback {
|
||||||
* Used during bulk assign on startup.
|
* Used during bulk assign on startup.
|
||||||
*/
|
*/
|
||||||
static class ExistCallback implements StatCallback {
|
static class ExistCallback implements StatCallback {
|
||||||
private final Log LOG = LogFactory.getLog(ExistCallback.class);
|
private static final Log LOG = LogFactory.getLog(ExistCallback.class);
|
||||||
private final Map<String, Integer> offlineNodesVersions;
|
private final Map<String, Integer> offlineNodesVersions;
|
||||||
private final AtomicInteger counter;
|
private final AtomicInteger counter;
|
||||||
private ServerName destination;
|
private ServerName destination;
|
||||||
|
|
|
@ -48,7 +48,7 @@ import java.util.TreeSet;
|
||||||
@InterfaceAudience.Private
|
@InterfaceAudience.Private
|
||||||
public class RegionSizeCalculator {
|
public class RegionSizeCalculator {
|
||||||
|
|
||||||
private final Log LOG = LogFactory.getLog(RegionSizeCalculator.class);
|
private static final Log LOG = LogFactory.getLog(RegionSizeCalculator.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Maps each region to its size in bytes.
|
* Maps each region to its size in bytes.
|
||||||
|
|
Loading…
Reference in New Issue