HDInsight Tools for VSCode integrates with Ambari and HDInsight Enterprise Secure Package

To provide more authentication options, HDInsight Tools for VSCode now can be connected to HDInsight cluster through Ambari for job submissions. You can easily link (HDInsight: Link a cluster) or unlink (HDInsight: Unlink a cluster) a normal cluster by using Ambari managed username and password, which is independent of your Azure signing process. The Ambari connection applies to Spark and Hive clusters  in all the Azure environments which host HDInsight services.

To support HDInsight Enterprise Secure Package (in preview), you can also connect to the secured cluster through domain username (e.g. user1@contoso.com). This connection is applicable for both traditional blob storage (WASB) or Azure Data Lake Storage (ADLS) as underlying storage. Once you connect to the secured  HDInsight cluster, you can use the signed in domain credentials for all you job submissions. 

This addition grants you more flexibilities to connect to your HDInsight clusters in addition to your Azure subscriptions and greatly simplify your experiences in submitting your Hive and Spark jobs.

How to link a cluster

  • Open the command palette by selecting CTRL+SHIFT+P, and then enter HDInsight: Link a cluster.

LinkCluster

  • Enter HDInsight cluster URL -> input Username -> input Password -> select cluster type – –> Link success confirmation message.  Now you can submit your hive / spark query or job  to this linked cluster.

link-cluster-process

Please note that you can use either Ambari username / pwd or Secure Hadoop domain username / pwd to connect.

  • Use command HDInsight: List cluster if you want to see more information on the Linked cluster.

linked-cluster

  • You also can unlink a cluster via command HDInsight: Unlink a cluster from command palette.

How to install or update

First, install Visual Studio Code and download Mono 4.2.x (for Linux and Mac). Then get the latest HDInsight Tools by going to the VSCode Extension repository or the VSCode Marketplace and searching “HDInsight Tools for VSCode”.

Install

For more information about HDInsight Tools for VSCode, please use the following resources:

Learn more about today’s announcements on the Azure blog and Big Data blog. Discover more on the Azure service updates page.

If you have questions, feedback, comments, or bug reports, please use the comments below or send a note to hdivstool@microsoft.com.
Source: Azure Blog Feed

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.