Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-13503 [Umbrella] Test sub-system improvements
  3. HIVE-14669

Have the actual error reported when a q test fails instead of having to go through the logs

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1
    • None
    • None

    Description

      QTest runs end up invoking CliDriver.processLine. This, in most cases, reports a numeric exit code - 0 for success. Non-zero for various different error types (which are defined everywhere in the code).

      Internally CliDriver does have more information via CommandResult. A lot of this is not exposed though. That's alright for the end user cli - (Command line tool translating the error to a code and message). However, it makes debugging very difficult for QTests - since the log needs to be looked at each time.

      Errors generated by the actual backend execution are mostly available to the client, and information about these should show up as well. (If it doesn't - we have a usability issues to fix).

      cc ekoifman

      Attachments

        1. Screen Shot 2019-04-11 at 4.54.41 PM.png
          335 kB
          László Bodor
        2. HIVE-14469.03.patch
          38 kB
          László Bodor
        3. HIVE-14469.02.patch
          38 kB
          László Bodor
        4. HIVE-14469.01.patch
          36 kB
          László Bodor
        5. 02_hive_log.png
          254 kB
          László Bodor
        6. 01_mvn_out.png
          203 kB
          László Bodor

        Activity

          People

            abstractdog László Bodor
            sseth Siddharth Seth
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: