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

Provide an easier way to capture DEBUG logging

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.11.0
    • None
    • CLI
    • None

    Description

      Capturing debug logging for troubleshooting is painful in Hive today:

      1. It doesn't log anywhere by default.
      2. We need to add a long "-hiveconf hive.root.logger=DEBUG,console" to the Hive CLI just to enable the debug flag, or set an equivalent env-var appropriately.

      I suggest we make this simpler via either one of the below:

      1. Provide a wrapped binary, "hive-debug", so folks can simply re-run
      the "hive-debug" command and re-run their query and capture an output. This could also write to a pre-designated $PWD file.
      2. Provide a simpler switch, such as "-verbose" that automatically
      toggles the flag instead, much like what Beeline does today already.

      Attachments

        Activity

          People

            Unassigned Unassigned
            qwertymaniac Harsh J
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: