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

Introduce Cap on Number of Session Variables

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.3.2, 2.4.0, 3.0.0
    • None
    • HiveServer2
    • None

    Description

      Introduce a cap on the number of session variables a single client can create.

      I am able to create a large file with just "SET" statements and it crashes the HS2 with an OutOfMemory exception. Because there are no caps, it stores each entry in memory until it finally fails.

      SET 6BCF5A44=DF912BD3;
      SET 614DCF23=ABC24816;
      SET B67951D8=DA2645BF;
      SET B9596B09=AB0A2650;
      SET 2D394A85=88968FC9;
      SET 859AD7BE=39710968;
      SET 9ED93926=75996280;
      SET D547BE24=7CF95795;
      SET BB0FB0BF=62DE4A1C;
      SET E447EF3F=858F398F;
      SELECT 1;
      ...
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            belugabehr David Mollitor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: