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

Stop storing default ConfVars in temp file

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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.

        Attachments

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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: