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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.8.0
    • 0.8.0
    • Server Infrastructure
    • None
    • Suse linux, Hadoop 20.1, Hive 0.8

    • Reviewed
    • Clear the scratch.dir while starting the hive server, will help in HDFS resource usage from hive.
    • 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.1.patch
          5 kB
          Chinna Rao Lalam
        2. HIVE-2181.2.patch
          5 kB
          Chinna Rao Lalam
        3. HIVE-2181.3.patch
          5 kB
          Chinna Rao Lalam
        4. HIVE-2181.4.patch
          5 kB
          Chinna Rao Lalam
        5. HIVE-2181.5.patch
          5 kB
          Chinna Rao Lalam
        6. HIVE-2181.6.patch
          7 kB
          Chinna Rao Lalam
        7. HIVE-2181.patch
          3 kB
          Chinna Rao Lalam

        Issue Links

          Activity

            People

              chinnalalam Chinna Rao Lalam
              sanoj sanoj mathew
              Votes:
              0 Vote for this issue
              Watchers:
              3 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