Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha2
    • Fix Version/s: 3.0.0-alpha4, 2.9.1
    • Component/s: fs/oss
    • Labels:
      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.004.patch
          2 kB
          Fei Hui
        2. HADOOP-14065.003.patch
          2 kB
          Genmao Yu
        3. HADOOP-14065.002.patch
          2 kB
          Fei Hui
        4. HADOOP-14065.001.patch
          2 kB
          Fei Hui
        5. HADOOP-14065.patch
          2 kB
          Fei Hui

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: