Description Usage Arguments Details Value References See Also
Create and write to a file.
1 2 3 | adls.create(azureActiveContext, azureDataLakeAccount, relativePath, permission,
overwrite = FALSE, bufferSize, replication, blockSize, contents = raw(0),
verbose = FALSE)
|
azureActiveContext |
A container used for caching variables used by |
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). |
Exceptions - IOException
NULL (void)
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
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.