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

Better error message and error code for HoS exceptions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • Spark
    • None

    Description

      Right now HoS only use a few error codes. For the majority of the errors, user will see an error code 1 followed by a lengthy stacktrace. This is not ideal since:

      1. It is often hard to find the root cause - sometimes it is hidden deeply inside the stacktrace.
      2. After identifying the root cause, it is not easy to find a fix. Often user have to copy & paste the error message and google them.
      3. It is not clear whether the error is transient or not, depending on which user may want to retry the query.

      To improve the above, this JIRA propose to assign error code & canonical error messages for different HoS errors. We can take advantage of the existing ErrorMsg class.

      Attachments

        1. HIVE-18283.0.patch
          15 kB
          Chao Sun
        2. HIVE-18283.1.patch
          21 kB
          Chao Sun
        3. HIVE-18283.2.patch
          21 kB
          Chao Sun
        4. HIVE-18283.3.patch
          21 kB
          Chao Sun

        Activity

          People

            csun Chao Sun
            csun Chao Sun
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: