adls.create: Create and write to a file.

Description Usage Arguments Details Value References See Also

Description

Create and write to a file.

Usage

1
2
3
adls.create(azureActiveContext, azureDataLakeAccount, relativePath, permission,
  overwrite = FALSE, bufferSize, replication, blockSize, contents = raw(0),
  verbose = FALSE)

Arguments

azureActiveContext

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

azureDataLakeAccount

Name of the Azure Data Lake account.

relativePath

Relative path of a file.

permission

Permission to be set for file (default 644).

overwrite

Whether to overwrite existing files with same name (default FALSE).

bufferSize

Size of the buffer to be used.

replication

Required block replication for a file.

blockSize

Block size of the file.

contents

raw contents to be written to the newly created file (default raw(0)).

verbose

Print tracing information (default FALSE).

Details

Exceptions - IOException

Value

NULL (void)

References

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

See Also

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

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

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

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

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

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

https://hadoop.apache.org/docs/current/api/org/apache/hadoop/fs/FileSystem.html#create-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.permission.FsPermission-boolean-int-short-long-org.apache.hadoop.util.Progressable-

Other Azure Data Lake Store functions: adls.append.core, adls.append.direct, adls.append, adls.concat, 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.ls, 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.