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

add FileSystem#getHomeDirectory() method

    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. 2567-3.patch
          5 kB
          Christopher Douglas
        2. HADOOP-2567.patch
          3 kB
          Doug Cutting
        3. HADOOP-2567-1.patch
          4 kB
          Doug Cutting
        4. HADOOP-2567-2.patch
          4 kB
          Doug Cutting
        5. HADOOP-2567-sortvalidate.patch
          0.8 kB
          Doug Cutting
        6. HADOOP-2567-tests.patch
          1 kB
          Doug Cutting

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: