Hive
  1. Hive
  2. HIVE-3709

Stop storing default ConfVars in temp file

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.11.0
    • Component/s: Configuration
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      To work around issues with Hadoop's Configuration object, specifically it's addResource(InputStream), default configurations are written to a temp file (I think HIVE-2362 introduced this).

      This, however, introduces the problem that once that file is deleted from /tmp the client crashes. This is particularly problematic for long running services like the metastore server.

      Writing a custom InputStream to deal with the problems in the Configuration object should provide a work around, which does not introduce a time bomb into Hive.

      1. HIVE-3709.1.patch.txt
        5 kB
        Kevin Wilfong
      2. HIVE-3709.2.patch.txt
        5 kB
        Kevin Wilfong
      3. HIVE-3709.3.patch.txt
        7 kB
        Kevin Wilfong

        Issue Links

          Activity

          Kevin Wilfong created issue -
          Kevin Wilfong made changes -
          Field Original Value New Value
          Attachment HIVE-3709.1.patch.txt [ 12553434 ]
          Kevin Wilfong made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Carl Steinbach made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Kevin Wilfong made changes -
          Attachment HIVE-3709.2.patch.txt [ 12553692 ]
          Kevin Wilfong made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Carl Steinbach made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Kevin Wilfong made changes -
          Attachment HIVE-3709.3.patch.txt [ 12554373 ]
          Kevin Wilfong made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Carl Steinbach made changes -
          Link This issue duplicates HIVE-3596 [ HIVE-3596 ]
          Carl Steinbach made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Fix Version/s 0.11 [ 12323587 ]
          Resolution Fixed [ 1 ]
          Owen O'Malley made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Kevin Wilfong
              Reporter:
              Kevin Wilfong
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development