Then enter the CLI commands to set the environment variables. Replace RESOURCEGROUPNAME, LOCATION, CLUSTERNAME, STORAGEACCOUNTNAME, and PASSWORD in the code snippet below with the desired values. Slight variations will be needed for other environments. The use of variables in this quickstart is based on Bash. # az account set -subscription "SUBSCRIPTIONID" # If you have multiple subscriptions, set the one to use Else, enter the following command: az login If you plan to use Azure Cloud Shell, select Try it in the upper-right corner of the following code block. To upgrade to the latest version, run az upgrade. Run az version to find the version and dependent libraries that are installed. For more information about extensions, see Use extensions with the Azure CLI. When you're prompted, install the Azure CLI extension on first use. For other sign-in options, see Sign in with the Azure CLI. To finish the authentication process, follow the steps displayed in your terminal. If you're using a local installation, sign in to the Azure CLI by using the az login command. For more information, see How to run the Azure CLI in a Docker container. If you're running on Windows or macOS, consider running Azure CLI in a Docker container. If you prefer to run CLI reference commands locally, install the Azure CLI. For more information, see Azure Cloud Shell Quickstart - Bash. Use the Bash environment in Azure Cloud Shell. If you don't have an Azure subscription, create an Azure free account before you begin. For more information, see Plan a virtual network for Azure HDInsight and Integrate Apache Spark and Apache Hive with the Hive Warehouse Connector. If you're using multiple clusters together, you'll want to create a virtual network, and if you're using a Spark cluster you'll also want to use the Hive Warehouse Connector. The Azure CLI is Microsoft's cross-platform command-line experience for managing Azure resources. The Apache Spark framework for HDInsight enables fast data analytics and cluster computing using in-memory processing. Azure HDInsight is a managed, full-spectrum, open-source analytics service for enterprises. In this quickstart, you learn how to create an Apache Spark cluster in Azure HDInsight using the Azure CLI.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |