Uploaded image for project: 'Apache Trafodion (Retired)'
  1. Apache Trafodion (Retired)
  2. TRAFODION-2352

UPDATE STATS may fail with error 8446 on Hive tables

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1-incubating
    • 2.1-incubating
    • sql-cmp
    • None
    • All

    Description

      UPDATE STATISTICS may fail on a Hive table with very long varchar columns. The symptom is an error 8446 "An error occurred during hdfs buffer fetch. Error Detail: No record delimiter found in buffer from hdfsRead." This happens when reading data from the table, and the query plan for the read happens to be a parallel plan.

      The problem relates to CQD HIVE_MAX_STRING_LENGTH_IN_BYTES. This defaults to 32000. When a Hive table has a column with a value having a length longer than this, we might get this error even though the user may have issued a CQD for this with a larger value.

      Attachments

        Issue Links

          Activity

            People

              dbirdsall Dave Birdsall
              dbirdsall Dave Birdsall
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: