Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-2567

add FileSystem#getHomeDirectory() method

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.16.0
    • fs
    • None

    Description

      The FileSystem API would benefit from a getHomeDirectory() method.

      The default implementation would return "/user/$USER/".

      RawLocalFileSystem would return System.getProperty("user.home").

      HADOOP-2514 can use this to implement per-user trash.

      Attachments

        1. HADOOP-2567.patch
          3 kB
          Doug Cutting
        2. HADOOP-2567-1.patch
          4 kB
          Doug Cutting
        3. HADOOP-2567-2.patch
          4 kB
          Doug Cutting
        4. 2567-3.patch
          5 kB
          Christopher Douglas
        5. HADOOP-2567-sortvalidate.patch
          0.8 kB
          Doug Cutting
        6. HADOOP-2567-tests.patch
          1 kB
          Doug Cutting

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            cutting Doug Cutting
            cutting Doug Cutting
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment