XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha2
    • 3.0.0-alpha4, 2.9.1
    • fs/oss
    • None

    Description

      code in getFileStatus function

      AliyunOSSFileSystem.java
      else if (objectRepresentsDirectory(key, meta.getContentLength())) {
        return new FileStatus(0, true, 1, 0, 0, qualifiedPath);
      }
      

      When the object is a directory, we should set right modifiedtime rather than 0 for FileStatus

      Attachments

        1. HADOOP-14065.patch
          2 kB
          Hui Fei
        2. HADOOP-14065.001.patch
          2 kB
          Hui Fei
        3. HADOOP-14065.002.patch
          2 kB
          Hui Fei
        4. HADOOP-14065.003.patch
          2 kB
          Genmao Yu
        5. HADOOP-14065.004.patch
          2 kB
          Hui Fei

        Activity

          People

            ferhui Hui Fei
            ferhui Hui Fei
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: