Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-11136

Unused Logger in org.apache.hadoop.hive.ql.udf.generic.GenericUDAFCount

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 1.3.0, 2.0.0
    • Logging
    • None

    Description

      There is an unused logger in the GenericUDAFCount. We could either try/catch all the code that throws exceptions and log them, or get rid of the logger.

      Relevant section of code:

      public class GenericUDAFCount implements GenericUDAFResolver2 {
      
        private static final Log LOG = LogFactory.getLog(GenericUDAFCount.class.getName());
      

      Attachments

        1. HIVE-11136.1.patch
          7 kB
          Yongzhi Chen

        Activity

          People

            ychena Yongzhi Chen
            nkelkar Nishant Kelkar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: