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

compute stats in certain cases fails with NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.1, 2.1.0
    • 2.1.0
    • HBase Metastore, Metastore
    • None

    Description

      FAILED: NullPointerException null
      java.lang.NullPointerException
      	at org.apache.hadoop.hive.ql.stats.StatsUtils.getColStatistics(StatsUtils.java:693)
      	at org.apache.hadoop.hive.ql.stats.StatsUtils.convertColStats(StatsUtils.java:739)
      	at org.apache.hadoop.hive.ql.stats.StatsUtils.getTableColumnStats(StatsUtils.java:728)
      	at org.apache.hadoop.hive.ql.stats.StatsUtils.collectStatistics(StatsUtils.java:183)
      	at org.apache.hadoop.hive.ql.stats.StatsUtils.collectStatistics(StatsUtils.java:136)
      	at org.apache.hadoop.hive.ql.stats.StatsUtils.collectStatistics(StatsUtils.java:124)

      Attachments

        1. HIVE-13621.1.patch
          11 kB
          Vikram Dixit K
        2. HIVE-13621.2.patch
          20 kB
          Pengcheng Xiong

        Activity

          People

            pxiong Pengcheng Xiong
            vikram.dixit Vikram Dixit K
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: