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:
Enis Soztutar 2014-03-27 00:54:15 +00:00
parent a87927acdc
commit e44d0d8083
9 changed files with 10 additions and 10 deletions

View File

@ -45,7 +45,7 @@ import org.apache.hadoop.mapred.Partitioner;
@InterfaceStability.Stable
public class HRegionPartitioner<K2,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 byte[][] startKeys;

View File

@ -41,7 +41,7 @@ import org.apache.hadoop.util.StringUtils;
@InterfaceStability.Stable
public class TableInputFormat extends TableInputFormatBase implements
JobConfigurable {
private final Log LOG = LogFactory.getLog(TableInputFormat.class);
private static final Log LOG = LogFactory.getLog(TableInputFormat.class);
/**
* space delimited list of columns

View File

@ -70,7 +70,7 @@ import org.apache.hadoop.mapred.Reporter;
@InterfaceStability.Stable
public abstract class TableInputFormatBase
implements InputFormat<ImmutableBytesWritable, Result> {
final Log LOG = LogFactory.getLog(TableInputFormatBase.class);
private static final Log LOG = LogFactory.getLog(TableInputFormatBase.class);
private byte [][] inputColumns;
private HTable table;
private TableRecordReader tableRecordReader;

View File

@ -48,7 +48,7 @@ FileOutputFormat<ImmutableBytesWritable, Put> {
/** JobConf parameter that specifies the output table */
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)

View File

@ -51,7 +51,7 @@ public class HRegionPartitioner<KEY, VALUE>
extends Partitioner<ImmutableBytesWritable, VALUE>
implements Configurable {
private final Log LOG = LogFactory.getLog(TableInputFormat.class);
private static final Log LOG = LogFactory.getLog(HRegionPartitioner.class);
private Configuration conf = null;
private HTable table;
private byte[][] startKeys;

View File

@ -40,7 +40,7 @@ import org.apache.hadoop.util.StringUtils;
public class TableInputFormat extends TableInputFormatBase
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. */
public static final String INPUT_TABLE = "hbase.mapreduce.inputtable";

View File

@ -51,7 +51,7 @@ import org.apache.hadoop.mapreduce.TaskAttemptContext;
public class TableOutputFormat<KEY> extends OutputFormat<KEY, Mutation>
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. */
public static final String OUTPUT_TABLE = "hbase.mapred.outputtable";

View File

@ -37,7 +37,7 @@ import org.apache.zookeeper.data.Stat;
*/
@InterfaceAudience.Private
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 ZooKeeperWatcher zkw;
private final ServerName destination;
@ -79,7 +79,7 @@ public class OfflineCallback implements StringCallback {
* Used during bulk assign on startup.
*/
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 AtomicInteger counter;
private ServerName destination;

View File

@ -48,7 +48,7 @@ import java.util.TreeSet;
@InterfaceAudience.Private
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.