Događaji
M03 31 23 - M04 2 23
Najveći događaj učenja jezika SQL, platforme Fabric i platforme Power BI. 31. mart - 2. april Koristite kod FABINSIDER da uštedite 400 dolara.
Registrirajte se danasOvaj preglednik više nije podržan.
Nadogradite na Microsoft Edge da iskoristite najnovije osobine, sigurnosna ažuriranja i tehničku podršku.
Applies to:
Azure Data CLI (
azdata
)
The following article provides reference for the sql commands in the azdata tool. For more information about other azdata commands, see azdata reference
Command | Description |
---|---|
azdata bdc hdfs key | Manage Hadoop encryption zone keys. |
azdata bdc hdfs status | Hdfs service status commands. |
azdata bdc hdfs shell | The HDFS shell is a simple interactive command shell for HDFS file system. |
azdata bdc hdfs ls | List the status of the given file or directory. |
azdata bdc hdfs exists | Determine if a file or directory exists. Returns True if exists and False otherwise. |
azdata bdc hdfs mkdir | Create a directory at the specified path. |
azdata bdc hdfs mv | Move the specified file or path to the specified location. |
azdata bdc hdfs create | Create the text file at the specified location. Simple text content can be added via data parameter. |
azdata bdc hdfs cat | Read content of a file. Offset and length in bytes are optional parameters. |
azdata bdc hdfs rm | Remove a file or directory. |
azdata bdc hdfs rmr | Recursively remove a file or directory. |
azdata bdc hdfs chmod | Change the permission on the specified file or directory. |
azdata bdc hdfs chown | Change the owner or group of the specified file. |
azdata bdc hdfs cp | Copy a file or directory between the local machine and HDFS. |
azdata bdc hdfs mount | Manage mounting of remote stores in HDFS. |
azdata bdc hdfs settings | BDC settings commands for hdfs service. |
azdata bdc hdfs encryption-zone | Manage encryption zones in HDFS. |
The HDFS shell is a simple interactive command shell for HDFS file system.
azdata bdc hdfs shell
Launch the shell.
azdata bdc hdfs shell
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Output format. Allowed values: json, jsonc, table, tsv. Default: json.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
List the status of the given file or directory.
azdata bdc hdfs ls --path -p
List Status
azdata bdc hdfs ls --path "tmp/"
The path to list status.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Output format. Allowed values: json, jsonc, table, tsv. Default: json.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Determine if a file or directory exists. Returns True if exists and False otherwise.
azdata bdc hdfs exists --path -p
Check for file or directory existence.
azdata bdc hdfs exists --path "tmp/"
Path to check for existence.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Output format. Allowed values: json, jsonc, table, tsv. Default: json.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Create a directory at the specified path.
azdata bdc hdfs mkdir --path -p
Make directory.
azdata bdc hdfs mkdir --path "tmp/"
Name of the directory to create.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Output format. Allowed values: json, jsonc, table, tsv. Default: json.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Move the specified file or path to the specified location.
azdata bdc hdfs mv --source-path -s
--target-path -t
Move file or directory.
azdata bdc hdfs mv --source-path "tmp/" --target-path "dest/"
The directory to move.
The location to move to.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Output format. Allowed values: json, jsonc, table, tsv. Default: json.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Create the text file at the specified location. Simple text content can be added via data parameter.
azdata bdc hdfs create --path -p
--data -d
Create file.
azdata bdc hdfs create --path "tmp/test.txt" --data "This is a test."
Name of the file to create.
Content of the file. Meant for simple text content.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Output format. Allowed values: json, jsonc, table, tsv. Default: json.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Read content of a file. Offset and length in bytes are optional parameters.
azdata bdc hdfs cat --path -p
--offset
--length -l
Read file.
azdata bdc hdfs cat --path "tmp/test.txt"
Name of the file to read.
Number of bytes offset within the file to read.
Length of the data to read.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Output format. Allowed values: json, jsonc, table, tsv. Default: json.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Remove a file or directory.
azdata bdc hdfs rm --path -p
Remove a file or directory.
azdata bdc hdfs rm --path "tmp/"
Name of the file to remove.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Output format. Allowed values: json, jsonc, table, tsv. Default: json.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Recursively remove a file or directory.
azdata bdc hdfs rmr --path -p
Recursive remove directory.
azdata bdc hdfs rmr --path "tmp/"
Name of the file to remove recursively.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Output format. Allowed values: json, jsonc, table, tsv. Default: json.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Change the permission on the specified file or directory.
azdata bdc hdfs chmod --path -p
--permission
Change file or directory permission.
azdata bdc hdfs chmod --permission 775 --path "tmp/test.txt"
Name of the file or directory to set permissions on.
Permission octets to set. Example "775".
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Output format. Allowed values: json, jsonc, table, tsv. Default: json.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Change the owner or group of the specified file.
azdata bdc hdfs chown --path -p
--owner
--group -g
Change the owner and group.
azdata bdc hdfs chown --owner hdfs --group superusergroup --path "tmp/test.txt"
Name of the file or directory to change owner of.
The owner name to set to.
Group name to set to.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Output format. Allowed values: json, jsonc, table, tsv. Default: json.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Copy a file or directory between the local machine and HDFS. If the input is a directory then the whole directory tree is copied. If the target file or directory exists the command will fail. To specify the remote HDFS directory prefix the path with "hdfs:"
azdata bdc hdfs cp --from-path -f
--to-path -t
Copy file or directory between the local machine and HDFS.
azdata bdc hdfs cp --from-path "tmp/test.txt" --to-path "hdfs:/user/me/test.txt"
Name of the path to copy from. Prefix the path with "hdfs:" to indicate an HDFS path.
Name of the path to copy to. Prefix the path with "hdfs:" to indicate an HDFS path.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Output format. Allowed values: json, jsonc, table, tsv. Default: json.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
For more information about other azdata commands, see azdata reference.
For more information about how to install the azdata tool, see Install azdata.
Događaji
M03 31 23 - M04 2 23
Najveći događaj učenja jezika SQL, platforme Fabric i platforme Power BI. 31. mart - 2. april Koristite kod FABINSIDER da uštedite 400 dolara.
Registrirajte se danas