Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2436

FSNamesystem.setTimes(..) expects the path is a file.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.20.205.0
    • Fix Version/s: 0.23.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      FSNamesystem.setTimes(..) does not work if the path is a directory.

      Arpit found this bug when testing webhdfs:

      settimes api is working when called on a file, but when called on a dir it returns a 404. I should be able to set time on both a file and a directory.

        Attachments

        1. HDFS-2436.patch
          5 kB
          Uma Maheswara Rao G
        2. HDFS-2436.patch
          5 kB
          Uma Maheswara Rao G
        3. HDFS-2436.patch
          4 kB
          Uma Maheswara Rao G

          Issue Links

            Activity

              People

              • Assignee:
                umamaheswararao Uma Maheswara Rao G
                Reporter:
                arpitgupta Arpit Gupta
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: