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

Reduce unnecessary DFSClient.rename() calls

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.7.0
    • None
    • None

    Description

      In Hive client side (MoveTask etc), DFSCleint.rename() is called for every file inside a directory. It is very expensive for a large directory in a busy DFS namenode. We should replace it with a single rename() call on the whole directory.

      Attachments

        1. HIVE-1852.6.patch
          29 kB
          Ning Zhang
        2. HIVE-1852.5.patch
          28 kB
          Ning Zhang
        3. HIVE-1852.4.patch
          31 kB
          Ning Zhang
        4. HIVE-1852.3.patch
          20 kB
          Ning Zhang
        5. HIVE-1852.2.patch
          8 kB
          Ning Zhang
        6. HIVE-1852.patch
          0.9 kB
          Ning Zhang

        Activity

          People

            nzhang Ning Zhang
            nzhang Ning Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: