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

Reduce number of FS permissions and redundant FS operations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.2.0
    • None
    • None

    Description

      Some examples are given below.
      1. When creating stage directory, FileUtils sets the directory permissions by running a set of chgrp and chmod commands. In systems like S3, this would not be relevant.
      2. In some cases, fs.delete() is followed by fs.exists(). In this case, it might be redundant to check for exists() (lookup ops are expensive in systems like S3).

      Attachments

        1. HIVE-14323.3.patch
          11 kB
          Rajesh Balamohan
        2. HIVE-14323.2.patch
          11 kB
          Rajesh Balamohan
        3. HIVE-14323.1.patch
          10 kB
          Rajesh Balamohan

        Issue Links

          Activity

            People

              rajesh.balamohan Rajesh Balamohan
              rajesh.balamohan Rajesh Balamohan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: