Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-22942 Replace PTest with an alternative
  3. HIVE-23003

CliDriver leaves the session id in the threadname on failure

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • Component/s: None
    • Labels:
      None

      Description

      in case the command execution ends with an Exception; the line before the reurrn which supposed to remove the sessionid from the thread name is not removed

      https://github.com/apache/hive/blob/b5de84a6ce27904562bb15d7fe800b6ae3c32670/cli/src/java/org/apache/hadoop/hive/cli/CliDriver.java#L209

      impact: in case a lot of failed commands are executed (TestNegativeCliDriver) the sessionid-s are accumulated in the threadname causing "No more space left on device"

        Attachments

        1. HIVE-23003.01.patch
          1 kB
          Zoltan Haindrich

          Activity

            People

            • Assignee:
              kgyrtkirk Zoltan Haindrich
              Reporter:
              kgyrtkirk Zoltan Haindrich
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: