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

Update listStatus document to describe the behavior when the argument is a file

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-beta1
    • Component/s: hdfs, httpfs
    • Labels:
      None

      Description

      The listStatus method can take in either directory path or file path as input, however, currently both the javadoc and external document describe it as only taking directory as input. This jira is to update the document about the behavior when the argument is a file path.

      Thanks Xiao Chen for the review and discussion in HDFS-12139, creating this jira is the result of our discussion there.

        Attachments

        1. Screen Shot 2017-08-03 at 11.02.19 AM.png
          222 kB
          Ajay Kumar
        2. Screen Shot 2017-08-03 at 11.01.46 AM.png
          524 kB
          Ajay Kumar
        3. HDFS-12162.01.patch
          3 kB
          Ajay Kumar

          Issue Links

            Activity

              People

              • Assignee:
                ajayydv Ajay Kumar
                Reporter:
                yzhangal Yongjun Zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: