d7922b6f8c | ||
---|---|---|
.. | ||
media | ||
.DS_Store | ||
readme.docx | ||
readme.md |
readme.md
Provision HDInsight Linux Hadoop cluster with Azure Management Portal
To provision HDInsight Hadoop cluster with Azure Management Portal, perform the below steps.
-
Go to the Azure Portal portal.azure.com. Login using your azure account credentials.
-
Select NEW -> Data Analytics -> HDInsight
-
Enter or select the following values.
-
Cluster Name: Enter the cluster name. A green tick will appear if the cluster name is available.
-
Cluster Type: Select Spark as the cluster type.
-
Cluster Operating System: Select Linux as the cluster operating system
-
Version: Select 3.6 as the cluster version.
-
Cluster Tier: Select the Standard cluster tier
-
-
Subscription: Select the Azure subscription to create the cluster.
-
Resource Group: Select an existing resource group or create a new resource group.
-
Credentials: Configure the username and password for HDInsight cluster and the SSH connection. SSH connection is used to connect to HDInsight cluster through a SSH client such as Putty.
- Data Source: Create a new storage account and a default container.
- Node Pricing Tiers: Set the number of head node and worker nodes as shown below.
Note: You can select lowest pricing tier A3 nodes or reduce the number of worker nodes decrease the cluster cost.
- Leave other configuration options as default and click Create to provision HDInsight Hadoop cluster. It will take 15-20 minutes for cluster provisioning.
The HDInsight Linux Hadoop cluster is now ready to work with.
Copy lab data to the storage account
In this section, you’ll copy the files required for the lab to your storage account.
To copy the files, follow the below steps.
- Launch Azure Storage from your cluster dashboard
-
Select the Blob container for your cluster
-
Create a container called sparklabs
-
Navigate to sparklabs and create a container called Lab03
-
Upload SalesTransactions1.csv and SalesTransactions2.csv to Lab03. Weblogs.csv can be found in data\sparklabs\Lab03 folder.
Launching a new Jupyter Notebook
Access Azure Portal
- Sign in to the Azure Portal.
If Spark Cluster is pinned to the “StartBoard”:
- Click the tile for your Spark Cluster.
If Spark Cluster is not pinned to the “StartBoard”:
- Click Browse, select HDInsight Clusters.
- Select your Spark Cluster.
Launch Jupyter Notebook
- Click on Cluster Dashboards tile displayed under the Quick Links of Cluster Blade.
- Locate Jupyter Notebook tile on Cluster Dashboards tile and click on it.
- When prompted, enter the admin credentials for the Spark cluster.
This will open the Jupyter dashboard.
Upload a new notebook
-
Click Upload dropdown button present at top right side of Jupyter Notebook screen.
-
Select a name with an ipynb extension
-
Upload and click the notebook to launch it