| title | azdata bdc hdfs encryption-zone reference |
|---|---|
| titleSuffix | SQL Server Big Data Clusters |
| description | Reference article for azdata bdc hdfs encryption-zone commands. |
| author | MikeRayMSFT |
| ms.author | mikeray |
| ms.reviewer | seanw |
| ms.date | 10/05/2021 |
| ms.prod | sql |
| ms.technology | big-data-cluster |
| ms.topic | reference |
Applies to [!INCLUDE 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 encryption-zone create | Converts an HDFS folder to an encryption zone. |
| azdata bdc hdfs encryption-zone list | List all encryption zones and the keys associated with encryption zones. |
| azdata bdc hdfs encryption-zone get-file-encryption-info | Get the encryption information for a given HDFS file path. |
| azdata bdc hdfs encryption-zone status | Get the re-encryption status for the HDFS cluster. |
| azdata bdc hdfs encryption-zone reencrypt | Controls the re-encryption of the encryption zone specified by the --path argument. |
Converts an HDFS folder to an encryption zone by using the provided key to encrypt the files in the encryption zone.
azdata bdc hdfs encryption-zone create --path -p
--keyname -kTo convert an existing folder /user/securefolder to an encryption zone, using a key called securelake
azdata bdc hdfs encryption-zone create --path /home/securefolder --keyname securelakePath of the HDFS folder to be converted to encryption zone.
Hadoop KMS key to be used to protect the encryption zone.
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 all encryption zones and the keys associated with encryption zones.
azdata bdc hdfs encryption-zone list List all encryption zones.
azdata bdc hdfs encryption-zone listIncrease 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.
Get the encryption information for a given HDFS file path.
azdata bdc hdfs encryption-zone get-file-encryption-info --path -p
Get the encryption information for a file at /user/securefolder/data.csv.
azdata bdc hdfs encryption-zone get-file-encryption-info --path /user/securefolder/data.csvHDFS file path for which encryption information should be retrieved.
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.
Get the re-encryption status for the HDFS cluster.
azdata bdc hdfs encryption-zone 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.
Controls the re-encryption of the encryption zone specified by the --path argument.
azdata bdc hdfs encryption-zone reencrypt --path -p
--action -aStart the re-encryption of the encryption zone securelake.
azdata bdc hdfs encryption-zone reencrypt --path /securelake --action startCancel the re-encryption of the encryption zone securelake.
azdata bdc hdfs encryption-zone reencrypt --path /securelake --action cancelPath of the HDFS encryption zone folder which should be re-encrypted
Re-encryption action to be performed. Valid values are start and cancel
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.