Uploaded image for project: 'Apache Gobblin'
  1. Apache Gobblin
  2. GOBBLIN-2072

Permission mismatch in manifest distcp where empty folders are copied

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • gobblin-core
    • None

    Description

      In Manifest distcp, empty folders are being set with the incorrect permissions in SetPermissionStep after being correctly set in the CopyDataPublisher.

      The suspected reason is that the folders themselves are being treated as ancestors, and this causes the permission checking of the source and destination ancestors to act incorrectly. TODO: We should consolidate our permission comparison and logic given that there are a multitude of different implementations and they each seem to have their own quirks.

      Correct CopyDataPublisher:

      Setting destination directory hdfs://cluster/a/b/c owner and permission to rwxr-x---

      Incorrect permission commit step:

      [Azkaban] Setting permission rwxr-xr-x on path /a/b/c

      Attachments

        Activity

          People

            abti Abhishek Tiwari
            wlo William Lo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 40m
                1h 40m