Skip to content

Commit ba1b83d

Browse files
HIVE-28796: Remove transient from static fields (#5836)
1 parent 81c02a7 commit ba1b83d

36 files changed

+41
-41
lines changed

iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/IcebergTransformSortFunctionUtil.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ private IcebergTransformSortFunctionUtil() {
5050
* Takes the source column index and the bucket count to create a function where Iceberg transform UDF is used to
5151
* build the sort expression, e.g. iceberg_bucket(_col2, 5)
5252
*/
53-
private static final transient BiFunction<Integer, Integer, Function<List<ExprNodeDesc>, ExprNodeDesc>>
53+
private static final BiFunction<Integer, Integer, Function<List<ExprNodeDesc>, ExprNodeDesc>>
5454
BUCKET_SORT_EXPR =
5555
(idx, bucket) -> cols -> {
5656
try {
@@ -65,7 +65,7 @@ private IcebergTransformSortFunctionUtil() {
6565
}
6666
};
6767

68-
private static final transient BiFunction<Integer, Integer, Function<List<ExprNodeDesc>, ExprNodeDesc>>
68+
private static final BiFunction<Integer, Integer, Function<List<ExprNodeDesc>, ExprNodeDesc>>
6969
TRUNCATE_SORT_EXPR =
7070
(idx, truncateLength) -> cols -> {
7171
try {
@@ -80,7 +80,7 @@ private IcebergTransformSortFunctionUtil() {
8080
}
8181
};
8282

83-
private static final transient Function<Integer, Function<List<ExprNodeDesc>, ExprNodeDesc>>
83+
private static final Function<Integer, Function<List<ExprNodeDesc>, ExprNodeDesc>>
8484
YEAR_SORT_EXPR =
8585
idx -> cols -> {
8686
try {
@@ -94,7 +94,7 @@ private IcebergTransformSortFunctionUtil() {
9494
}
9595
};
9696

97-
private static final transient Function<Integer, Function<List<ExprNodeDesc>, ExprNodeDesc>>
97+
private static final Function<Integer, Function<List<ExprNodeDesc>, ExprNodeDesc>>
9898
MONTH_SORT_EXPR =
9999
idx -> cols -> {
100100
try {
@@ -108,7 +108,7 @@ private IcebergTransformSortFunctionUtil() {
108108
}
109109
};
110110

111-
private static final transient Function<Integer, Function<List<ExprNodeDesc>, ExprNodeDesc>>
111+
private static final Function<Integer, Function<List<ExprNodeDesc>, ExprNodeDesc>>
112112
DAY_SORT_EXPR =
113113
idx -> cols -> {
114114
try {
@@ -122,7 +122,7 @@ private IcebergTransformSortFunctionUtil() {
122122
}
123123
};
124124

125-
private static final transient Function<Integer, Function<List<ExprNodeDesc>, ExprNodeDesc>>
125+
private static final Function<Integer, Function<List<ExprNodeDesc>, ExprNodeDesc>>
126126
HOUR_SORT_EXPR =
127127
idx -> cols -> {
128128
try {

ql/src/gen/vectorization/UDAFTemplates/VectorUDAFMinMaxString.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public class <ClassName> extends VectorAggregateExpression {
5151

5252
private static final long serialVersionUID = 1L;
5353

54-
transient private final static int MIN_BUFFER_SIZE = 16;
54+
private final static int MIN_BUFFER_SIZE = 16;
5555
transient private byte[] bytes = new byte[MIN_BUFFER_SIZE];
5656
transient private int length;
5757

ql/src/java/org/apache/hadoop/hive/ql/exec/ColumnStatsUpdateTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171

7272
public class ColumnStatsUpdateTask extends Task<ColumnStatsUpdateWork> {
7373
private static final long serialVersionUID = 1L;
74-
private static transient final Logger LOG = LoggerFactory
74+
private static final Logger LOG = LoggerFactory
7575
.getLogger(ColumnStatsUpdateTask.class);
7676

7777
private ColumnStatistics constructColumnStatsFromInput()

ql/src/java/org/apache/hadoop/hive/ql/exec/MoveTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
public class MoveTask extends Task<MoveWork> implements Serializable {
105105

106106
private static final long serialVersionUID = 1L;
107-
private static transient final Logger LOG = LoggerFactory.getLogger(MoveTask.class);
107+
private static final Logger LOG = LoggerFactory.getLogger(MoveTask.class);
108108
private final PerfLogger perfLogger = SessionState.getPerfLogger();
109109

110110
public MoveTask() {

ql/src/java/org/apache/hadoop/hive/ql/exec/OperatorFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
*/
8383
@SuppressWarnings({ "rawtypes", "unchecked" })
8484
public final class OperatorFactory {
85-
protected static transient final Logger LOG = LoggerFactory.getLogger(OperatorFactory.class);
85+
protected static final Logger LOG = LoggerFactory.getLogger(OperatorFactory.class);
8686
private static final IdentityHashMap<Class<? extends OperatorDesc>,
8787
Class<? extends Operator<? extends OperatorDesc>>> opvec = new IdentityHashMap<>();
8888
private static final IdentityHashMap<Class<? extends OperatorDesc>,

ql/src/java/org/apache/hadoop/hive/ql/exec/ReplCopyTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public class ReplCopyTask extends Task<ReplCopyWork> implements Serializable {
5252

5353
private static final long serialVersionUID = 1L;
5454

55-
private static transient final Logger LOG = LoggerFactory.getLogger(ReplCopyTask.class);
55+
private static final Logger LOG = LoggerFactory.getLogger(ReplCopyTask.class);
5656

5757
public ReplCopyTask() {
5858
super();

ql/src/java/org/apache/hadoop/hive/ql/exec/StatsTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656

5757
public class StatsTask extends Task<StatsWork> implements Serializable {
5858
private static final long serialVersionUID = 1L;
59-
private static transient final Logger LOG = LoggerFactory.getLogger(StatsTask.class);
59+
private static final Logger LOG = LoggerFactory.getLogger(StatsTask.class);
6060
private final PerfLogger perfLogger = SessionState.getPerfLogger();
6161

6262
public StatsTask() {

ql/src/java/org/apache/hadoop/hive/ql/exec/Task.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public abstract class Task<T extends Serializable> implements Serializable, Node
6767
protected transient String jobID;
6868
protected Task<?> backupTask;
6969
protected List<Task<?>> backupChildrenTasks = new ArrayList<Task<?>>();
70-
protected static transient Logger LOG = LoggerFactory.getLogger(Task.class);
70+
protected static Logger LOG = LoggerFactory.getLogger(Task.class);
7171
protected int taskTag;
7272
protected DeferredWorkContext deferredWorkContext;
7373
private boolean isLocalMode =false;

ql/src/java/org/apache/hadoop/hive/ql/exec/TaskRunner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ protected Long initialValue() {
4646

4747
protected Thread runner;
4848

49-
private static transient final Logger LOG = LoggerFactory.getLogger(TaskRunner.class);
49+
private static final Logger LOG = LoggerFactory.getLogger(TaskRunner.class);
5050

5151
private final TaskQueue taskQueue;
5252

ql/src/java/org/apache/hadoop/hive/ql/exec/mr/ExecDriver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public class ExecDriver extends Task<MapredWork> implements Serializable, Hadoop
124124
private transient boolean isShutdown = false;
125125
private transient boolean jobKilled = false;
126126

127-
protected static transient final Logger LOG = LoggerFactory.getLogger(ExecDriver.class);
127+
protected static final Logger LOG = LoggerFactory.getLogger(ExecDriver.class);
128128

129129
private RunningJob rj;
130130

ql/src/java/org/apache/hadoop/hive/ql/exec/mr/MapredLocalTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public class MapredLocalTask extends Task<MapredLocalWork> implements Serializab
9999
private final Map<String, FetchOperator> fetchOperators = new HashMap<String, FetchOperator>();
100100
protected HadoopJobExecHelper jobExecHelper;
101101
private JobConf job;
102-
public static transient final Logger l4j = LoggerFactory.getLogger(MapredLocalTask.class);
102+
public static final Logger l4j = LoggerFactory.getLogger(MapredLocalTask.class);
103103
static final String HIVE_LOCAL_TASK_CHILD_OPTS_KEY = "HIVE_LOCAL_TASK_CHILD_OPTS";
104104
public static MemoryMXBean memoryMXBean;
105105
private static final Logger LOG = LoggerFactory.getLogger(MapredLocalTask.class);

ql/src/java/org/apache/hadoop/hive/ql/exec/repl/AtlasDumpTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
**/
6666
public class AtlasDumpTask extends Task<AtlasDumpWork> implements Serializable {
6767

68-
private static final transient Logger LOG = LoggerFactory.getLogger(AtlasDumpTask.class);
68+
private static final Logger LOG = LoggerFactory.getLogger(AtlasDumpTask.class);
6969
private static final long serialVersionUID = 1L;
7070
private transient AtlasRestClient atlasRestClient;
7171

ql/src/java/org/apache/hadoop/hive/ql/exec/repl/AtlasLoadTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
**/
5858
public class AtlasLoadTask extends Task<AtlasLoadWork> implements Serializable {
5959
private static final long serialVersionUID = 1L;
60-
private static final transient Logger LOG = LoggerFactory.getLogger(AtlasLoadTask.class);
60+
private static final Logger LOG = LoggerFactory.getLogger(AtlasLoadTask.class);
6161

6262
public AtlasLoadTask() {
6363
super();

ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplicationMigrationTool.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252

5353
public class ReplicationMigrationTool implements Tool {
5454

55-
protected static transient Logger LOG = LoggerFactory.getLogger(ReplicationMigrationTool.class);
55+
protected static Logger LOG = LoggerFactory.getLogger(ReplicationMigrationTool.class);
5656
private Configuration conf;
5757
private String help = "\tSample Usage: \n"
5858
+ "hive --replMigration -dumpFilePath <path to external table info file> [-dirLevelCheck] "

ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/load/LoadDatabase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public class LoadDatabase {
5454
private final DatabaseEvent event;
5555
private final String dbNameToLoadIn;
5656
transient ReplicationMetricCollector metricCollector;
57-
protected static transient Logger LOG = LoggerFactory.getLogger(LoadDatabase.class);
57+
protected static Logger LOG = LoggerFactory.getLogger(LoadDatabase.class);
5858

5959
public LoadDatabase(Context context, DatabaseEvent event, String dbNameToLoadIn, TaskTracker loadTaskTracker) {
6060
this.context = context;

ql/src/java/org/apache/hadoop/hive/ql/exec/repl/util/ReplUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public enum MetricName {
180180
public static final String DISTCP_JOB_ID_CONF = "distcp.job.id";
181181
public static final String DISTCP_JOB_ID_CONF_DEFAULT = "UNAVAILABLE";
182182

183-
private static transient Logger LOG = LoggerFactory.getLogger(ReplUtils.class);
183+
private static Logger LOG = LoggerFactory.getLogger(ReplUtils.class);
184184

185185
public static Map<Integer, List<ExprNodeGenericFuncDesc>> genPartSpecs(
186186
Table table, List<Map<String, String>> partitions) throws SemanticException {

ql/src/java/org/apache/hadoop/hive/ql/exec/repl/util/SnapshotUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
*/
4646
public class SnapshotUtils {
4747

48-
private static final transient Logger LOG = LoggerFactory.getLogger(SnapshotUtils.class);
48+
private static final Logger LOG = LoggerFactory.getLogger(SnapshotUtils.class);
4949

5050
public static final String OLD_SNAPSHOT = "replOld";
5151
public static final String NEW_SNAPSHOT = "replNew";

ql/src/java/org/apache/hadoop/hive/ql/exec/tez/PerPoolTriggerValidatorRunnable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
import org.slf4j.LoggerFactory;
3131

3232
public class PerPoolTriggerValidatorRunnable implements Runnable {
33-
protected static transient Logger LOG = LoggerFactory.getLogger(PerPoolTriggerValidatorRunnable.class);
33+
protected static Logger LOG = LoggerFactory.getLogger(PerPoolTriggerValidatorRunnable.class);
3434
private final Map<String, SessionTriggerProvider> sessionTriggerProviders;
3535
private final TriggerActionHandler triggerActionHandler;
3636
private final Map<String, TriggerValidatorRunnable> poolValidators;

ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public class TezTask extends Task<TezWork> {
109109
private static final String JOB_ID_TEMPLATE = "job_%s%d_%s";
110110
private static final String ICEBERG_PROPERTY_PREFIX = "iceberg.mr.";
111111
private static final String ICEBERG_SERIALIZED_TABLE_PREFIX = "iceberg.mr.serialized.table.";
112-
private static transient Logger LOG = LoggerFactory.getLogger(CLASS_NAME);
112+
private static Logger LOG = LoggerFactory.getLogger(CLASS_NAME);
113113
private final PerfLogger perfLogger = SessionState.getPerfLogger();
114114
private static final String TEZ_MEMORY_RESERVE_FRACTION = "tez.task.scale.memory.reserve-fraction";
115115

ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TriggerValidatorRunnable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
import org.slf4j.LoggerFactory;
3131

3232
public class TriggerValidatorRunnable implements Runnable {
33-
protected static transient Logger LOG = LoggerFactory.getLogger(TriggerValidatorRunnable.class);
33+
protected static Logger LOG = LoggerFactory.getLogger(TriggerValidatorRunnable.class);
3434
private final SessionTriggerProvider sessionTriggerProvider;
3535
private final TriggerActionHandler triggerActionHandler;
3636

ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorColumnOrderedMap.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* Call getMapping to collects the results into convenient arrays.
3737
*/
3838
public class VectorColumnOrderedMap {
39-
protected static transient final Logger LOG = LoggerFactory.getLogger(VectorColumnOrderedMap.class);
39+
protected static final Logger LOG = LoggerFactory.getLogger(VectorColumnOrderedMap.class);
4040

4141
protected String name;
4242

ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorCopyRow.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
*/
3232
public class VectorCopyRow {
3333

34-
protected static transient final Logger LOG = LoggerFactory.getLogger(VectorCopyRow.class);
34+
protected static final Logger LOG = LoggerFactory.getLogger(VectorCopyRow.class);
3535

3636
private abstract class CopyRow {
3737
protected int inColumnIndex;

ql/src/java/org/apache/hadoop/hive/ql/exec/vector/expressions/FilterStringColRegExpStringScalar.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class FilterStringColRegExpStringScalar extends AbstractFilterStringColLi
3535
private static final String LITERAL_CHAR = "[^\\[\\]\\\\(){}*?+|$^.]";
3636
private static final String LITERAL_CHAR_GROUP = "(" + LITERAL_CHAR + "+)";
3737

38-
private transient static List<CheckerFactory> checkerFactories = Arrays.asList(
38+
private static List<CheckerFactory> checkerFactories = Arrays.asList(
3939
new CheckerFactory [] { new ComplexCheckerFactory() });
4040

4141
public FilterStringColRegExpStringScalar() {

ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/cost/HiveOnTezCostModel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public class HiveOnTezCostModel extends HiveCostModel {
5252

5353
private static HiveAlgorithmsUtil algoUtils;
5454

55-
private static transient final Logger LOG = LoggerFactory.getLogger(HiveOnTezCostModel.class);
55+
private static final Logger LOG = LoggerFactory.getLogger(HiveOnTezCostModel.class);
5656

5757
synchronized public static HiveOnTezCostModel getCostModel(HiveConf conf) {
5858
if (INSTANCE == null) {

ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/HiveJoinToMultiJoinRule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public class HiveJoinToMultiJoinRule extends RelOptRule {
6060

6161
private final ProjectFactory projectFactory;
6262

63-
private static transient final Logger LOG = LoggerFactory.getLogger(HiveJoinToMultiJoinRule.class);
63+
private static final Logger LOG = LoggerFactory.getLogger(HiveJoinToMultiJoinRule.class);
6464

6565
//~ Constructors -----------------------------------------------------------
6666

ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/CrossProductHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
*/
8181
public class CrossProductHandler implements PhysicalPlanResolver, SemanticDispatcher {
8282

83-
protected static transient final Logger LOG = LoggerFactory
83+
protected static final Logger LOG = LoggerFactory
8484
.getLogger(CrossProductHandler.class);
8585
private Boolean cartesianProductEdgeEnabled = null;
8686

ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/LlapDecider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
*/
9191
public class LlapDecider implements PhysicalPlanResolver {
9292

93-
protected static transient final Logger LOG = LoggerFactory.getLogger(LlapDecider.class);
93+
protected static final Logger LOG = LoggerFactory.getLogger(LlapDecider.class);
9494

9595
private HiveConf conf;
9696

ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/LlapPreVectorizationPass.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
* For any LLAP-related transformations which need to occur before vectorization.
5050
*/
5151
public class LlapPreVectorizationPass implements PhysicalPlanResolver {
52-
protected static transient final Logger LOG = LoggerFactory.getLogger(LlapPreVectorizationPass.class);
52+
protected static final Logger LOG = LoggerFactory.getLogger(LlapPreVectorizationPass.class);
5353

5454
@Override
5555
public PhysicalContext resolve(PhysicalContext pctx) throws SemanticException {

ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/MemoryDecider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
*/
6363
public class MemoryDecider implements PhysicalPlanResolver {
6464

65-
protected static transient final Logger LOG = LoggerFactory.getLogger(MemoryDecider.class);
65+
protected static final Logger LOG = LoggerFactory.getLogger(MemoryDecider.class);
6666

6767
public class MemoryCalculator implements SemanticDispatcher {
6868

ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/SerializeFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
*/
5454
public class SerializeFilter implements PhysicalPlanResolver {
5555

56-
protected static transient final Logger LOG = LoggerFactory.getLogger(SerializeFilter.class);
56+
protected static final Logger LOG = LoggerFactory.getLogger(SerializeFilter.class);
5757

5858
public class Serializer implements SemanticDispatcher {
5959

ql/src/java/org/apache/hadoop/hive/ql/plan/ExprDynamicParamDesc.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
*/
4040
public class ExprDynamicParamDesc extends ExprNodeDesc implements Serializable {
4141
private static final long serialVersionUID = 1L;
42-
final protected transient static char[] hexArray = "0123456789ABCDEF".toCharArray();
42+
final protected static char[] hexArray = "0123456789ABCDEF".toCharArray();
4343

4444
private int index;
4545
private Object value;

ql/src/java/org/apache/hadoop/hive/ql/plan/ExprNodeConstantDesc.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
*/
4141
public class ExprNodeConstantDesc extends ExprNodeDesc implements Serializable {
4242
private static final long serialVersionUID = 1L;
43-
final protected transient static char[] hexArray = "0123456789ABCDEF".toCharArray();
43+
final protected static char[] hexArray = "0123456789ABCDEF".toCharArray();
4444
private Object value;
4545
// If this constant was created while doing constant folding, foldedFromCol holds the name of
4646
// original column from which it was folded.

ql/src/java/org/apache/hadoop/hive/ql/plan/TezWork.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public static boolean isCustomInputType(VertexType vertex) {
6969
}
7070
}
7171

72-
private static transient final Logger LOG = LoggerFactory.getLogger(TezWork.class);
72+
private static final Logger LOG = LoggerFactory.getLogger(TezWork.class);
7373

7474
private static final AtomicInteger counter = new AtomicInteger(1);
7575
private final String dagId;

ql/src/java/org/apache/hadoop/hive/ql/ppd/SyntheticJoinPredicate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
*/
6969
public class SyntheticJoinPredicate extends Transform {
7070

71-
private static transient Logger LOG = LoggerFactory.getLogger(SyntheticJoinPredicate.class.getName());
71+
private static Logger LOG = LoggerFactory.getLogger(SyntheticJoinPredicate.class.getName());
7272

7373
@Override
7474
public ParseContext transform(ParseContext pctx) throws SemanticException {

ql/src/java/org/apache/hadoop/hive/ql/stats/BasicStatsNoJobTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
**/
8686
public class BasicStatsNoJobTask implements IStatsProcessor {
8787

88-
private static transient final Logger LOG = LoggerFactory.getLogger(BasicStatsNoJobTask.class);
88+
private static final Logger LOG = LoggerFactory.getLogger(BasicStatsNoJobTask.class);
8989
private HiveConf conf;
9090

9191
private BasicStatsNoJobWork work;

ql/src/java/org/apache/hadoop/hive/ql/stats/ColStatsProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565

6666

6767
public class ColStatsProcessor implements IStatsProcessor {
68-
private static transient final Logger LOG = LoggerFactory.getLogger(ColStatsProcessor.class);
68+
private static final Logger LOG = LoggerFactory.getLogger(ColStatsProcessor.class);
6969

7070
private FetchOperator ftOp;
7171
private FetchWork fWork;

0 commit comments

Comments
 (0)