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

Clean up the scratch.dir (tmp/hive-root) while restarting Hive server.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.8.0
    • Component/s: Server Infrastructure
    • Labels:
      None
    • Environment:

      Suse linux, Hadoop 20.1, Hive 0.8

    • Hadoop Flags:
      Reviewed
    • Release Note:
      Clear the scratch.dir while starting the hive server, will help in HDFS resource usage from hive.
    • Tags:
      Clear the scratch.dir while starting the hive server

      Description

      Now queries leaves the map outputs under scratch.dir after execution. If the hive server is stopped we need not keep the stopped server's map oputputs. So whle starting the server we can clear the scratch.dir. This can help in improved disk usage.

        Attachments

        1. HIVE-2181.6.patch
          7 kB
          Chinna Rao Lalam
        2. HIVE-2181.5.patch
          5 kB
          Chinna Rao Lalam
        3. HIVE-2181.4.patch
          5 kB
          Chinna Rao Lalam
        4. HIVE-2181.3.patch
          5 kB
          Chinna Rao Lalam
        5. HIVE-2181.2.patch
          5 kB
          Chinna Rao Lalam
        6. HIVE-2181.1.patch
          5 kB
          Chinna Rao Lalam
        7. HIVE-2181.patch
          3 kB
          Chinna Rao Lalam

          Issue Links

            Activity

              People

              • Assignee:
                chinnalalam Chinna Rao Lalam
                Reporter:
                sanoj sanoj mathew
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 48h
                  48h
                  Remaining:
                  Remaining Estimate - 48h
                  48h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified