locked
adls gen2 content summary RRS feed

  • Question

  • i wanted to see size of file and folder  in adls gen2 , how can i do that  ? is  there any rest api command for this

    Thursday, October 3, 2019 4:53 AM

Answers

  • The best option to check the Size of file and folder in ADLS Gen2 is Storage Explorer.

     Path - Get Properties, which can be used to fetch properties of files stored in ADLS Gen2. You may also refer to the suggestion mentioned in the SO thread.

    If you want a programmatic way to do this, Data Lake Store provides a WebHDFS compliant API that can list several folder attributes: GETCONTENTSUMMARY. You can see more details here: https://docs.microsoft.com/en-us/rest/api/datalakestore/webhdfs-filesystem-apis.

    Hope this helps! 

    Kindly let us know if the above helps or you need further assistance on this issue.
    ------------------------------------------------------------------------------------------

    Do click on "Mark as Answer" and Upvote on the post that helps you, this can be beneficial to other community members.

    Thursday, October 3, 2019 7:44 AM