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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.20.205.0
    • 0.23.0
    • None
    • None
    • 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

              umamaheswararao Uma Maheswara Rao G
              arpitgupta Arpit Gupta
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: