Skip to content

Commit ed31a1e

Browse files
20210930 1812
1 parent f7dd11c commit ed31a1e

11 files changed

Lines changed: 83 additions & 74 deletions

‎.vscode/settings.json‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"cSpell.words": [
3+
"kubeadm",
4+
"Kubernetes"
5+
]
6+
}

‎docs/big-data-cluster/configure-bdc-postdeployment.md‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: SQL Server Big Data Clusters Post-Deployment Configuration Overview
2+
title: SQL Server big data clusters post-deployment configuration overview
33
titleSuffix: SQL Server big data clusters
4-
description: Big Data Clusters Post-Deployment Configuration Overview
4+
description: Big data clusters post-deployment configuration overview
55
author: DaniBunny
66
ms.author: dacoelho
77
ms.reviewer: wiassaf
@@ -11,21 +11,21 @@ ms.prod: sql
1111
ms.technology: big-data-cluster
1212
---
1313

14-
# How to configure Big Data Clusters settings post deployment
14+
# How to configure big data clusters settings post deployment
1515

1616
[!INCLUDE[SQL Server 2019](../includes/applies-to-version/sqlserver2019.md)]
1717

1818
> [!NOTE]
19-
> Post-deplyoment settings configuration is only available in BDC CU9 and later deployments. Settings configuration does not include scale, storage, or endpoint configuration. Options and instructions to configure BDC prior to CU9 can be found [here](configure-bdc-pre-configuration.md).
19+
> Post-deployment settings configuration is only available in [!INCLUDE[big-data-clusters-nover-lowercase](../includes/ssbigdataclusters-ss-nover-lowercase.md)] CU9 and later deployments. Settings configuration does not include scale, storage, or endpoint configuration. Options and instructions to configure [!INCLUDE[big-data-clusters-nover-lowercase](../includes/ssbigdataclusters-ss-nover-lowercase.md)] prior to CU9 can be found [here](configure-bdc-pre-configuration.md).
2020
21-
Cluster, service, and resource scoped settings for Big Data Clusters can be configured post-deployment through the azdata CLI. This functionality allows BDC administrators to adjust configurations to always meet workload requirements. This article goes over example scenarios on how to configure timezone and Spark workload requirements. The post-deployment configuration functionality follows a set, diff, apply flow.
21+
Cluster, service, and resource scoped settings for [!INCLUDE[big-data-clusters-nover-lowercase](../includes/ssbigdataclusters-ss-nover-lowercase.md)] can be configured post-deployment through the `azdata` CLI. This functionality allows [!INCLUDE[big-data-clusters-nover-lowercase](../includes/ssbigdataclusters-ss-nover-lowercase.md)] administrators to adjust configurations to always meet workload requirements. This article goes over example scenarios on how to configure timezone and Spark workload requirements. The post-deployment configuration functionality follows a set, diff, apply flow.
2222

23-
## Step by Step Scenario: Configure timezone on Big Data Clusters
23+
## Step by Step Scenario: Configure timezone on [!INCLUDE[big-data-clusters-nover-lowercase](../includes/ssbigdataclusters-ss-nover-lowercase.md)]
2424

25-
Starting on SQL Server Big Data Clusters CU13 it is possible to customize the cluster timezone configuration, so services timestamps align with the selected timezone. The setting does not apply to Big Data Clusters control plane, it sets the new timezone configuration for all SQL Server pools (master, compute and data), Hadoop components and Spark.
25+
Starting on [!INCLUDE[big-data-clusters-nover-lowercase](../includes/ssbigdataclusters-ss-nover-lowercase.md)] CU13 it is possible to customize the cluster timezone configuration, so services timestamps align with the selected timezone. The setting does not apply to the big data cluster control plane, it sets the new timezone configuration for all SQL Server pools (master, compute, and data), Hadoop components, and Spark.
2626

2727
> [!NOTE]
28-
> By default, Big Data Clusters sets UTC as the timezone.
28+
> By default, [!INCLUDE[big-data-clusters-nover-lowercase](../includes/ssbigdataclusters-ss-nover-lowercase.md)] sets UTC as the timezone.
2929
3030
Use the following command to set the timezone configuration:
3131

@@ -60,9 +60,9 @@ Spark Service
6060
|`spark-defaults-conf.spark.driver.cores`|`1` |
6161
|`spark-defaults-conf.spark.driver.memory`|`1664m` |
6262

63-
### Change the default number of cores and memory for the Spark driver across all resources with Spark (i.e. for the Spark service)
63+
### Change the default number of cores and memory for the Spark driver
6464

65-
Update the default number of cores to 2 and default memory to 7424m for the Spark service.
65+
Update the default number of cores to two and default memory to 7424 MB for the Spark service. This affects all resources with Spark, for the Spark service.
6666

6767
```bash
6868
azdata bdc spark settings set --settings spark-defaults-conf.spark.driver.cores=2,spark-defaults-conf.spark.driver.memory=7424m
@@ -78,7 +78,7 @@ azdata bdc spark settings set --settings spark-defaults-conf.spark.executor.core
7878

7979
### Configure additional paths to the default classpath of Spark applications
8080

81-
The ```/opt/hadoop/share/hadoop/tools/lib/``` path contains several libraries to be used by your spark applications, but the referred path is not loaded by default in the classpath of Spark applications. To enable this setting apply the following configuration pattern.
81+
The ```/opt/hadoop/share/hadoop/tools/lib/``` path contains several libraries to be used by your spark applications, but the referred path is not loaded by default in the classpath of Spark applications. To enable this setting, apply the following configuration pattern.
8282

8383
```bash
8484
azdata bdc hdfs settings set --settings hadoop-env.HADOOP_CLASSPATH="/opt/hadoop/share/hadoop/tools/lib/*"

‎docs/big-data-cluster/data-ingestion-curl.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,4 +103,4 @@ curl -i -L -k --anyauth -u <AZDATA_USERNAME>:<AZDATA_PASSWORD> -X PUT 'https://<
103103

104104
## Next steps
105105

106-
For more information about SQL Server big data cluster, see [Introducing [!INCLUDE[big-data-clusters-2019](../includes/ssbigdataclusters-ss-nover.md)]](big-data-cluster-overview.md).
106+
For more information, see [Introducing [!INCLUDE[big-data-clusters-nover-lowercase](../includes/ssbigdataclusters-ss-nover-lowercase.md)]](big-data-cluster-overview.md).

‎docs/big-data-cluster/deploy-with-kubeadm.md‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Configure Kubernetes with kubeadm
3-
titleSuffix: SQL Server Big Data Clusters
3+
titleSuffix: SQL Server big data clusters
44
description: Learn how to configure Kubernetes on multiple Ubuntu 16.04 or 18.04 machines (physical or virtual) for SQL Server 2019 big data cluster deployments.
55
author: WilliamDAssafMSFT
66
ms.author: wiassaf
@@ -19,11 +19,12 @@ This article provides an example of how to use **kubeadm** to configure Kubernet
1919

2020
> [!TIP]
2121
> For sample scripts that configure Kubernetes, see [Create a Kubernetes cluster using Kubeadm on Ubuntu 20.04 LTS](https://github.com/Microsoft/sql-server-samples/tree/master/samples/features/sql-big-data-cluster/deployment/kubeadm).
22-
Also see [this](deployment-script-single-node-kubeadm.md) topic for a sample script that automates a deployment of a single node kubeadm deployment on a VM and then deploys a default configuration of big data cluster on top of it.
22+
23+
For a sample script that automates a deployment of a single node kubeadm deployment on a VM and then deploys a default configuration of big data cluster on top of it, see [deploy single node kubeadm cluster](deployment-script-single-node-kubeadm.md).
2324

2425
## Prerequisites
2526

26-
* Minimum of 3 Linux physical machines or virtual machines
27+
* Minimum of three Linux physical machines or virtual machines
2728
* Recommended configuration per machine:
2829
* 8 CPUs
2930
* 64 GB of memory

‎docs/big-data-cluster/distributed-data-copy-hdfs.md‎

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: HDFS distributed data copy | Microsoft Docs
3-
titleSuffix: SQL Server Big Data Clusters
3+
titleSuffix: SQL Server big data clusters
44
description: Use azdata distcp to perform data movement between SQL Server big data clusters.
55
author: DaniBunny
66
ms.author: dacoelho
@@ -15,25 +15,25 @@ ms.technology: big-data-cluster
1515

1616
[!INCLUDE[SQL Server 2019](../includes/applies-to-version/sqlserver2019.md)]
1717

18-
This article explains how to use **azdata** to perform high performant distributed data copies between [!INCLUDE[big-data-clusters-2019](../includes/ssbigdataclusters-ver15.md)].
18+
This article explains how to use **azdata** to perform high performant distributed data copies between [!INCLUDE[big-data-clusters-nover-lowercase](../includes/ssbigdataclusters-ss-nover-lowercase.md)].
1919

2020
## <a id="prereqs"></a> Prerequisites
2121

2222
- [Azure Data Studio](deploy-big-data-tools.md)
2323
- [azdata](deploy-big-data-tools.md) version 20.3.8 or superior
2424
- Two SQL Server big data cluster CU13 or superior
2525

26-
## Introduction to distributed data copies on SQL Server Big Data Clusters
26+
## Introduction to distributed data copies on SQL Server big data clusters
2727

28-
Hadoop HDFS DistCP is a command-line tool used to perform distributed parallel copies of files and folders from one HDFS cluster to another. This enables fast transfer of Data Lake scale files and folders between two different clusters; enabling migrations, creation of segmented environments, high-availability and disaster recovery scenarios.
28+
Hadoop HDFS DistCP is a command-line tool used to perform distributed parallel copies of files and folders from one HDFS cluster to another. This enables fast transfer of Data Lake scale files and folders between two different clusters, enabling migrations, the creation of segmented environments, high-availability, and disaster recovery scenarios.
2929

30-
It uses an internal MapReduce job to expand a list of files and directories into input to multiple map tasks, each of which will copy a partition of the files specified in the source list to the destination. This allows multiple data nodes in the source cluster to send data directly to multiple data nodes in the destination clusters, creating a truly distributed parallel copy scenario.
30+
Hadoop HDFS DistCP uses an internal MapReduce job to expand a list of files and directories into input to multiple map tasks, each of which will copy a partition of the files specified in the source list to the destination. This allows multiple data nodes in the source cluster to send data directly to multiple data nodes in the destination clusters, creating a truly distributed parallel copy scenario.
3131

32-
On SQL Server Big Data Clusters CU13 and above, the distributed copy functionality is integrated into the product and is exposed through the [azdata bdc hdfs distcp](../azdata/reference/reference-azdata-bdc-hdfs.md) command. The command is an asynchronous operation, it returns immediately and the copy job is running on the background. You should monitory the copy job using either ``azdata`` or the provided monitoring user interfaces.
32+
On [!INCLUDE[big-data-clusters-nover-lowercase](../includes/ssbigdataclusters-ss-nover-lowercase.md)] CU13 and above, the distributed copy functionality is integrated into the product and is exposed through the [azdata bdc hdfs distcp](../azdata/reference/reference-azdata-bdc-hdfs.md) command. The command is an asynchronous operation, it returns immediately while the copy job executes in the background. Monitor the copy job using either `azdata` or the provided monitoring user interfaces.
3333

34-
Only SQL Server Big Data Clusters sources and destinations are supported.
34+
Only [!INCLUDE[big-data-clusters-nover-lowercase](../includes/ssbigdataclusters-ss-nover-lowercase.md)] sources and destinations are supported.
3535

36-
Clusters may be deployed in both Active Directory enabled mode or basic security modes and copies may be performed between any combination of those modes. It is required that Active Directory enabled clusters are in the same domain.
36+
Clusters may be deployed in both Active Directory enabled mode or basic security modes. Copies may be performed between any combination of security modes. For Active Directory enabled clusters, it is required that they are in the same domain.
3737

3838
In this guide we will cover the following data copy scenarios:
3939

@@ -45,7 +45,7 @@ In this guide we will cover the following data copy scenarios:
4545

4646
Certificates are required to create a trusted relationship between source and destination clusters. These steps are required only once per source/destination cluster combination.
4747

48-
The required notebooks in the next steps are part of the Operational notebooks for SQL Server Big Data Clusters, to learn how to install and use the notebooks, see: [Operational notebooks for SQL Server Big Data Clusters](cluster-manage-notebooks.md)
48+
The required notebooks in the next steps are part of the Operational notebooks for [!INCLUDE[big-data-clusters-nover-lowercase](../includes/ssbigdataclusters-ss-nover-lowercase.md)]. For more information how to install and use the notebooks, see [Operational notebooks](cluster-manage-notebooks.md)
4949

5050
### Step 1 - Certificate creation and installation
5151

@@ -69,15 +69,15 @@ Connect to your __destination cluster__ using Azure Data Studio. This is where t
6969
Perform the following steps:
7070

7171
> [!WARNING]
72-
> If you're using Azure Data Studio on different machines to perform this tasks, copy the ``cluster-ca-certificate.crt`` and ``cacert.pem`` files generated on Step 1 to the right locations on the other machine before running the notebook bellow.
72+
> If you're using Azure Data Studio on different machines to perform this tasks, copy the ``cluster-ca-certificate.crt`` and ``cacert.pem`` files generated on Step 1 to the right locations on the other machine before running the notebook in the next step.
7373
7474
1. Install the new root certificate from the source cluster to the destination cluster using ``cer005-install-existing-root-ca.ipynb``. This step will take 10-15 minutes.
7575

7676
### Step 3 - Keytab file creation
7777

7878
You need to create a keytab file if __any__ of the clusters is Active Directory enabled. The file will perform authentication to enable the copy to take place.
7979

80-
Create the keytab file using ktutil. Make sure to define or replace the environment variables ``DOMAIN_SERVICE_ACCOUNT_USERNAME``, ``DOMAIN_SERVICE_ACCOUNT_PASSWORD`` and ``REALM`` with the appropriate values.
80+
Create the keytab file using `ktutil`. An example follows. Make sure to define or replace the environment variables ``DOMAIN_SERVICE_ACCOUNT_USERNAME``, ``DOMAIN_SERVICE_ACCOUNT_PASSWORD``, and ``REALM`` with the appropriate values.
8181

8282
```bash
8383
ktutil
@@ -114,7 +114,7 @@ azdata bdc hdfs cp -f /tmp/$DOMAIN_SERVICE_ACCOUNT_USERNAME.keytab -t /user/$DOM
114114
export DISTCP_KRB5KEYTAB=/user/$DOMAIN_SERVICE_ACCOUNT_USERNAME/$DOMAIN_SERVICE_ACCOUNT_USERNAME.keytab
115115
```
116116

117-
2. Either define or replace ``CLUSTER_CONTROLLER``, ``DESTINATION_CLUSTER_NAMESPACE`` and ``PRINCIPAL`` variables with appropriate vales. Then use ``azdata`` to login to destination cluster:
117+
2. Either define or replace ``CLUSTER_CONTROLLER``, ``DESTINATION_CLUSTER_NAMESPACE``, and ``PRINCIPAL`` variables with appropriate vales. Then use `azdata` to authenticate to destination cluster:
118118

119119
```bash
120120
azdata login --auth ad --endpoint $CLUSTER_CONTROLLER --namespace $DESTINATION_CLUSTER_NAMESPACE --principal $PRINCIPAL
@@ -128,15 +128,15 @@ azdata bdc hdfs cp -f /tmp/$DOMAIN_SERVICE_ACCOUNT_USERNAME.keytab -t /user/$DOM
128128

129129
### Scenario 2 - Basic security cluster to Active Directory enabled cluster
130130

131-
1. Export the required environment variable ``DISTCP_KRB5KEYTAB``, ``DISTCP_AZDATA_USERNAME`` and ``DISTCP_AZDATA_PASSWORD``:
131+
1. Export the required environment variable ``DISTCP_KRB5KEYTAB``, ``DISTCP_AZDATA_USERNAME``, and ``DISTCP_AZDATA_PASSWORD``:
132132

133133
```bash
134134
export DISTCP_KRB5KEYTAB=/user/$DOMAIN_SERVICE_ACCOUNT_USERNAME/$DOMAIN_SERVICE_ACCOUNT_USERNAME.keytab
135135
export DISTCP_AZDATA_USERNAME=<your basic security bdc username>
136136
export DISTCP_AZDATA_PASSWORD=<your basic security bdc password>
137137
```
138138

139-
2. Either define or replace ``CLUSTER_CONTROLLER``, ``DESTINATION_CLUSTER_NAMESPACE`` and ``PRINCIPAL`` variables with appropriate vales. Then use ``azdata`` to login to destination cluster:
139+
2. Either define or replace ``CLUSTER_CONTROLLER``, ``DESTINATION_CLUSTER_NAMESPACE``, and ``PRINCIPAL`` variables with appropriate vales. Then use ``azdata`` to authenticate to destination cluster:
140140

141141
```bash
142142
azdata login --auth ad --endpoint $CLUSTER_CONTROLLER --namespace $DESTINATION_CLUSTER_NAMESPACE --principal $PRINCIPAL
@@ -157,7 +157,7 @@ azdata bdc hdfs cp -f /tmp/$DOMAIN_SERVICE_ACCOUNT_USERNAME.keytab -t /user/$DOM
157157
export DISTCP_AZDATA_PASSWORD=<your basic security bdc password>
158158
```
159159

160-
2. Use ``azdata`` to login to destination cluster
160+
2. Use ``azdata`` to authenticate to destination cluster
161161

162162
3. Run the distributed data copy
163163

@@ -167,17 +167,17 @@ azdata bdc hdfs cp -f /tmp/$DOMAIN_SERVICE_ACCOUNT_USERNAME.keytab -t /user/$DOM
167167

168168
## Monitoring the distributed copy job
169169

170-
The ``azdata bdc hdfs distcp submit`` command is an asynchronous operation, it returns immediately while the copy job is running on the background. You should monitory the copy job using either ``azdata`` or the provided monitoring user interfaces.
170+
The ``azdata bdc hdfs distcp submit`` command is an asynchronous operation, it returns immediately while the copy job is running on the background. Monitor the copy job using either ``azdata`` or the provided monitoring user interfaces.
171171

172172
### List all distributed copy jobs
173173

174174
```bash
175175
azdata bdc hdfs distcp list
176176
```
177177

178-
Take note of the job id of job you and to track. All other commands depend on it.
178+
Take note of the `job-id` of job you and to track. All other commands depend on it.
179179

180-
### Get the simple state of a distributed copy job
180+
### Get the state of a distributed copy job
181181

182182
```bash
183183
azdata bdc hdfs distcp state [--job-id | -i] <JOB_ID>
@@ -197,20 +197,20 @@ azdata bdc hdfs distcp log [--job-id | -i] <JOB_ID>
197197

198198
## Distributed copy hints
199199

200-
1. In order to copy entire directories and its contents, end the path argument with a directory, without the '/'. The following example copies the entire ``sourceDirectories`` directory to the root HDFS destination:
200+
1. In order to copy entire directories and their contents, end the path argument with a directory, without the '/'. The following example copies the entire ``sourceDirectories`` directory to the root HDFS destination:
201201

202202
```bash
203203
azdata bdc hdfs distcp submit --from-path https://$SOURCE_CLUSTER_IP:30443/sourceDirectories --to-path /
204204
```
205205

206-
1. The command may contain options, supporting --overwrite, --preserve, --update, and --delete modifiers. The modifier should be placed just after the submit keyword, like bellow:
206+
1. The command may contain options, supporting the `--overwrite`, `--preserve`, `--update`, and `--delete` modifiers. The modifier should be placed just after the submit keyword, like below:
207207

208208
```bash
209209
azdata bdc hdfs distcp submit {options} --from-path https://$SOURCE_CLUSTER_IP:30443/sourceDirectories --to-path /
210210
```
211211

212212
## Next steps
213213

214-
For more information about SQL Server big data cluster, see [Introducing [!INCLUDE[big-data-clusters-2019](../includes/ssbigdataclusters-ss-nover.md)]](big-data-cluster-overview.md).
214+
For more information, see [Introducing [!INCLUDE[big-data-clusters-nover-lowercase](../includes/ssbigdataclusters-ss-nover-lowercase.md)]](big-data-cluster-overview.md).
215215

216216
For complete reference of the new command, see [azdata bdc hdfs distcp](../azdata/reference/reference-azdata-bdc-hdfs.md).

0 commit comments

Comments
 (0)