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

isEmptyPath() to use ContentSummary cache

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.8.0
    • Query Processor
    • None

    Description

      addInputPaths() calls isEmptyPath() for every input path. Now every call is a DFS namenode call. Making isEmptyPath() to use cached ContentSummary, we should be able to avoid some namenode calls and reduce latency in the case of multiple partitions.

      Attachments

        1. HIVE-2030.1.patch
          5 kB
          Siying Dong
        2. HIVE-2030.2.patch
          5 kB
          Siying Dong
        3. HIVE-2030.3.patch
          4 kB
          Siying Dong

        Activity

          People

            sdong Siying Dong
            sdong Siying Dong
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: