adls.ls: List the statuses of the files/directories in the given path.

Description Usage Arguments Details Value References See Also

Description

List the statuses of the files/directories in the given path.

Usage

1
2
adls.ls(azureActiveContext, azureDataLakeAccount, relativePath,
  verbose = FALSE)

Arguments

azureActiveContext

A container used for caching variables used by AzureSMR, created by createAzureContext()

azureDataLakeAccount

Name of the Azure Data Lake Store account.

relativePath

Relative path of a file/directory.

verbose

Print tracing information (default FALSE).

Details

Exceptions - FileNotFoundException, IOException

Value

Returns a FileStatuses data frame with a row for each directory element. Each row has 11 columns (12 in case of a file): FileStatuses.FileStatus.(accessTime, modificationTime, replication, permission, owner, group, aclBit, msExpirationtime (in case of file))

References

https://docs.microsoft.com/en-us/azure/data-lake-store/data-lake-store-data-operations-rest-api#list-folders

See Also

https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/WebHDFS.html#List_a_Directory

https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/WebHDFS.html#List_a_File

https://hadoop.apache.org/docs/current/api/org/apache/hadoop/fs/FileSystem.html#listStatus-org.apache.hadoop.fs.Path-

Other Azure Data Lake Store functions: adls.append.core, adls.append.direct, adls.append, adls.concat, adls.create, adls.delete, adls.file.info, adls.fileinputstream.available, adls.fileinputstream.close, adls.fileinputstream.create, adls.fileinputstream.getpos, adls.fileinputstream.length, adls.fileinputstream.readfromservice, adls.fileinputstream.readfully, adls.fileinputstream.read, adls.fileinputstream.seek, adls.fileinputstream.skip, adls.fileoutputstream.close, adls.fileoutputstream.create, adls.fileoutputstream.flush, adls.fileoutputstream.write, adls.mkdir, adls.read.core, adls.read.direct, adls.read, adls.rename, createAdlExponentialBackoffRetryPolicy, createAdlNonIdempotentRetryPolicy, createAdlRetryPolicy, shouldRetry.adlExponentialBackoffRetryPolicy, shouldRetry.adlNonIdempotentRetryPolicy, shouldRetry


Microsoft/AzureSMR documentation built on July 7, 2019, 11:25 p.m.