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

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to IssueMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            kgyrtkirk Zoltan Haindrich Assign to me
            kgyrtkirk Zoltan Haindrich
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment