Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-19318 Improve Hive logging
  3. HIVE-19302

Logging Too Verbose For TableNotFound

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2.0, 3.0.0
    • 4.0.0-alpha-1
    • HiveServer2
    • None

    Description

      There is way too much logging when a user submits a query against a table which does not exist.  In an ad-hoc setting, it is quite normal that a user fat-fingers a table name.  Yet, from the perspective of the Hive administrator, there was perhaps a major issue based on the volume and severity of logging.  Please change the logging to INFO level, and do not present a stack trace, for such a trivial error.

       

      See the attached file for a sample of what logging a single "table not found" query generates.

      Attachments

        1. HIVE-19302.4.patch
          0.9 kB
          Alice Fan
        2. HIVE-19302.5.patch
          0.9 kB
          Alice Fan
        3. HIVE-19302.6.patch
          0.9 kB
          Alice Fan
        4. HIVE-19302.7.patch
          0.9 kB
          Alice Fan
        5. table_not_found_cdh6.txt
          16 kB
          David Mollitor

        Issue Links

          Activity

            People

              afan Alice Fan
              belugabehr David Mollitor
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: