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

use Path instead of String for IOContext.inputPath

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.13.0
    • None
    • None

    Description

      Path is converted to string in HiveContextAwareRecordReader to be stored in IOContext.inputPath, then in MapOperator normalizePath gets called on it which converts it back to Path.
      Path creation is expensive, so it is better to use Path instead of string through the call stack.

      This is also a step towards HIVE-3616.

      Attachments

        1. HIVE-5666.1.patch
          10 kB
          Thejas Nair

        Activity

          People

            thejas Thejas Nair
            thejas Thejas Nair
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: