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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-beta1
    • hdfs, httpfs
    • 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 xiaochen for the review and discussion in HDFS-12139, creating this jira is the result of our discussion there.

      Attachments

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: