hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sunc...@apache.org
Subject hive git commit: HIVE-11136 - Unused Logger in org.apache.hadoop.hive.ql.udf.generic.GenericUDAFCount (Yongzhi Chen, reviewed by Chao Sun)
Date Thu, 16 Jul 2015 01:29:22 GMT
Repository: hive
Updated Branches:
  refs/heads/branch-1 64d8582cb -> c6079a587


HIVE-11136 - Unused Logger in org.apache.hadoop.hive.ql.udf.generic.GenericUDAFCount (Yongzhi
Chen, reviewed by Chao Sun)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/c6079a58
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/c6079a58
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/c6079a58

Branch: refs/heads/branch-1
Commit: c6079a587b05cf086666f87d504ca14f24911293
Parents: 64d8582
Author: Yongzhi Chen <yongzhi_chen@hotmail.com>
Authored: Wed Jul 15 18:29:10 2015 -0700
Committer: Chao Sun <sunchao@apache.org>
Committed: Wed Jul 15 18:29:10 2015 -0700

----------------------------------------------------------------------
 .../hadoop/hive/ql/udf/generic/GenericUDAFCollectList.java      | 5 -----
 .../hadoop/hive/ql/udf/generic/GenericUDAFCollectSet.java       | 5 -----
 .../org/apache/hadoop/hive/ql/udf/generic/GenericUDAFCount.java | 4 ----
 .../hadoop/hive/ql/udf/generic/GenericUDAFCovariance.java       | 4 ----
 .../apache/hadoop/hive/ql/udf/generic/GenericUDAFCumeDist.java  | 4 ----
 .../apache/hadoop/hive/ql/udf/generic/GenericUDAFDenseRank.java | 4 ----
 6 files changed, 26 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/c6079a58/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFCollectList.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFCollectList.java
b/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFCollectList.java
index b10c4ab..156d19b 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFCollectList.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFCollectList.java
@@ -18,20 +18,15 @@
 
 package org.apache.hadoop.hive.ql.udf.generic;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.hadoop.hive.ql.exec.Description;
 import org.apache.hadoop.hive.ql.exec.UDFArgumentTypeException;
 import org.apache.hadoop.hive.ql.parse.SemanticException;
 import org.apache.hadoop.hive.ql.udf.generic.GenericUDAFMkCollectionEvaluator.BufferType;
-import org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector;
 import org.apache.hadoop.hive.serde2.typeinfo.TypeInfo;
 
 @Description(name = "collect_list", value = "_FUNC_(x) - Returns a list of objects with duplicates")
 public class GenericUDAFCollectList extends AbstractGenericUDAFResolver {
 
-  static final Log LOG = LogFactory.getLog(GenericUDAFCollectList.class.getName());
-
   public GenericUDAFCollectList() {
   }
 

http://git-wip-us.apache.org/repos/asf/hive/blob/c6079a58/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFCollectSet.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFCollectSet.java
b/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFCollectSet.java
index 312a698..0c2cf90 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFCollectSet.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFCollectSet.java
@@ -17,13 +17,10 @@
  */
 package org.apache.hadoop.hive.ql.udf.generic;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.hadoop.hive.ql.exec.Description;
 import org.apache.hadoop.hive.ql.exec.UDFArgumentTypeException;
 import org.apache.hadoop.hive.ql.parse.SemanticException;
 import org.apache.hadoop.hive.ql.udf.generic.GenericUDAFMkCollectionEvaluator.BufferType;
-import org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector;
 import org.apache.hadoop.hive.serde2.typeinfo.TypeInfo;
 
 /**
@@ -32,8 +29,6 @@ import org.apache.hadoop.hive.serde2.typeinfo.TypeInfo;
 @Description(name = "collect_set", value = "_FUNC_(x) - Returns a set of objects with duplicate
elements eliminated")
 public class GenericUDAFCollectSet extends AbstractGenericUDAFResolver {
 
-  static final Log LOG = LogFactory.getLog(GenericUDAFCollectSet.class.getName());
-
   public GenericUDAFCollectSet() {
   }
 

http://git-wip-us.apache.org/repos/asf/hive/blob/c6079a58/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFCount.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFCount.java b/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFCount.java
index d47e7f9..eaf112e 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFCount.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFCount.java
@@ -17,8 +17,6 @@
  */
 package org.apache.hadoop.hive.ql.udf.generic;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.hadoop.hive.ql.exec.Description;
 import org.apache.hadoop.hive.ql.exec.UDFArgumentException;
 import org.apache.hadoop.hive.ql.metadata.HiveException;
@@ -44,8 +42,6 @@ import org.apache.hadoop.io.LongWritable;
           +        "which the supplied expression(s) are unique and non-NULL.")
 public class GenericUDAFCount implements GenericUDAFResolver2 {
 
-  private static final Log LOG = LogFactory.getLog(GenericUDAFCount.class.getName());
-
   @Override
   public GenericUDAFEvaluator getEvaluator(TypeInfo[] parameters)
       throws SemanticException {

http://git-wip-us.apache.org/repos/asf/hive/blob/c6079a58/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFCovariance.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFCovariance.java
b/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFCovariance.java
index f1017be..8221c1b 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFCovariance.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFCovariance.java
@@ -19,8 +19,6 @@ package org.apache.hadoop.hive.ql.udf.generic;
 
 import java.util.ArrayList;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.hadoop.hive.ql.exec.Description;
 import org.apache.hadoop.hive.ql.exec.UDFArgumentTypeException;
 import org.apache.hadoop.hive.ql.metadata.HiveException;
@@ -64,8 +62,6 @@ import org.apache.hadoop.io.LongWritable;
         + "where neither x nor y is null.")
 public class GenericUDAFCovariance extends AbstractGenericUDAFResolver {
 
-  static final Log LOG = LogFactory.getLog(GenericUDAFCovariance.class.getName());
-
   @Override
   public GenericUDAFEvaluator getEvaluator(TypeInfo[] parameters) throws SemanticException
{
     if (parameters.length != 2) {

http://git-wip-us.apache.org/repos/asf/hive/blob/c6079a58/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFCumeDist.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFCumeDist.java b/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFCumeDist.java
index bc93204..611966c 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFCumeDist.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFCumeDist.java
@@ -21,8 +21,6 @@ package org.apache.hadoop.hive.ql.udf.generic;
 import java.util.ArrayList;
 import java.util.List;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.hadoop.hive.ql.exec.Description;
 import org.apache.hadoop.hive.ql.exec.WindowFunctionDescription;
 import org.apache.hadoop.hive.ql.metadata.HiveException;
@@ -49,8 +47,6 @@ import org.apache.hadoop.io.IntWritable;
 )
 public class GenericUDAFCumeDist extends GenericUDAFRank {
 
-  static final Log LOG = LogFactory.getLog(GenericUDAFCumeDist.class.getName());
-
   @Override
   protected GenericUDAFAbstractRankEvaluator createEvaluator() {
     return new GenericUDAFCumeDistEvaluator();

http://git-wip-us.apache.org/repos/asf/hive/blob/c6079a58/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFDenseRank.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFDenseRank.java b/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFDenseRank.java
index 50ee4ef..715454b 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFDenseRank.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFDenseRank.java
@@ -18,8 +18,6 @@
 
 package org.apache.hadoop.hive.ql.udf.generic;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.hadoop.hive.ql.exec.Description;
 import org.apache.hadoop.hive.ql.exec.WindowFunctionDescription;
 
@@ -39,8 +37,6 @@ import org.apache.hadoop.hive.ql.exec.WindowFunctionDescription;
 )
 public class GenericUDAFDenseRank extends GenericUDAFRank {
 
-  static final Log LOG = LogFactory.getLog(GenericUDAFDenseRank.class.getName());
-
   @Override
   protected GenericUDAFAbstractRankEvaluator createEvaluator() {
     return new GenericUDAFDenseRankEvaluator();


Mime
View raw message