<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Ashish Thapliyal's Blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/ashish/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/ashish/feed.xml</link>
    <description>Big Data in Cloud</description>
    <lastBuildDate>Tue, 16 Apr 2019 04:42:31 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Apache Phoenix now supports Zeppelin in Azure HDInsight</title>
      <link>https://docs.microsoft.com/archive/blogs/ashish/apache-phoenix-now-supports-zeppelin-in-azure-hdinsight</link>
      <pubDate>Fri, 17 Aug 2018 20:17:42 GMT</pubDate>
      <dc:creator><![CDATA[AshishThapliyal]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/ashish/?p=2465</guid>
      <description><![CDATA[The HDInsight team is excited to announce Apache Zeppelin Support for Apache Phoenix

Phoenix in...]]></description>
      <content:encoded><![CDATA[<p><em>The HDInsight team is excited to announce Apache Zeppelin Support for Apache Phoenix</em></p>

<h2>Phoenix in Azure HDInsight</h2>

<p><a href="https://phoenix.apache.org/" target="_blank">Apache Phoenix</a> is an open source, massively parallel relational database layer built on HBase. Phoenix allows you to use SQL like queries over <a href="https://docs.microsoft.com/en-us/azure/hdinsight/hbase/apache-hbase-overview" target="_blank">HBase</a>. Phoenix uses JDBC drivers underneath to enable users to create, delete, alter SQL tables, indexes, views and sequences, upset rows individually and in bulk. Phoenix uses NOSQL native compilation rather than using MapReduce to compile queries, enabling the creation of low-latency applications on top of HBase.</p>

<p>Apache Phoenix enables OLTP and operational analytics in Hadoop for low latency applications by combining the best of both worlds. In Azure HDInsight Apache Phoenix is delivered as a 1st class Open Source framework.</p>

<h2>Why use Apache Phoenix in Azure HDInsight?</h2>

<p>HDInsight is the best place for you to run Apache Phoenix and other Open Source Big Data Applications. HDInsight makes Apache Phoenix even better in following ways:</p>

<h3>Out of the box highly tuned Apache Phoenix cluster in minutes</h3>

<p>In Azure, several large customers runs their mission critical HBase/Phoenix workloads, over the period of time services becomes more and more intelligent about right configurations for running the HBase workloads as efficiently as possible. This intelligence is than brought to you in the form of highly tuned clusters that will meet your needs. You can create clusters within minutes manually with Azure Portal or by automating the creation workflow with Azure JSON templates, Powershell, REST based API or Azure client SDK.</p>

<h3>Decoupled Storage and CPU</h3>

<p>HDInsight changes the game with seemingly simple , yet very powerful cloud construct where compute and CPU are decoupled. This is very powerful as you have inexpensive abundant cloud storage that could be mounted to a smallest HBase cluster. When you don&#039;t need to read/write, you can delete the cluster completely and still retain the data. This flexibility helps our customers achieve best price/performance.</p>

<h3>Delivered as a service, yet not compromising on control</h3>

<p>HDInsight delivers Phoenix as a service so you don&#039;t have to worry about setup, patching, upgrading , maintaining etc. Moreover, you get financially backed SLA of 99.9 percent as well as support, yet it doesn&#039;t take away any control. You have the option to further fine tune your cluster as well as install additional components and make further customizations.</p>

<h3>Best suited for mission critical production workloads</h3>

<p>As Microsoft&#039;s roots are in enterprises, you will find HDInsight Phoenix fitting very nicely into your enterprise architecture. You can host Phoenix clusters in a private virtual network in order to protect your valuable data. You can take advantage of Azure infrastructure to achieve high availability and disaster recovery. You can also find Azure and HDInsight constantly update their compliance status <a href="https://www.microsoft.com/en-us/TrustCenter/Compliance/default.aspx" target="_blank">@Azure Trust Center</a>.</p>

<h2>What is Apache Zeppelin?</h2>

<p>Apache Zeppelin is open source Web-based notebook that enables data-driven, interactive data analytics and collaborative documents with SQL, Scala and many other languages. It helps data developers &amp; data scientists in developing, organizing, executing, and sharing data code and visualizing results without referring to the command line or needing the cluster details.</p>

<h2>Integration with Apache Phoenix</h2>

<p>Now HDInsight customers can use Apache Zeppelin to query your Phoenix tables. Apache Zeppelin is integrated with HDInsight cluster and there are no additional steps to use it.</p>

<p>Simply create a Zeppelin Notebook with JDBC interpreter and start writing your Phoenix SQL queries</p>

<p><a href="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/8134695d-0c9f-4b5c-9898-0d8fb0c4f4a6.png"><img alt="image_thumb[2]" border="0" height="363" src="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/b30a28fc-cfbf-43a4-b9af-267a4e5a3db1.png" style="border: 0px currentcolor;margin-right: auto;margin-left: auto;float: none" title="image_thumb[2]" width="772" /></a></p>

<h2>Try HDInsight now</h2>

<p>We hope you will take full advantage Apache Zeppelin with Apache Phoenix. We are excited to see what you will build with Azure HDInsight. <a href="https://azure.microsoft.com/en-us/blog/azure-hdinsight-training-resources-learn-about-big-data-using-open-source-technologies/" target="_blank">Read this developer guide</a> and follow the quick start guide to learn more about implementing these pipelines and architectures on Azure HDInsight. Stay up-to-date on the latest Azure HDInsight news and features by following us on Twitter <a href="https://twitter.com/search?q=%23HDInsight&amp;src=typd" target="_blank">#HDInsight</a> and <a href="https://twitter.com/AzureHDInsight" target="_blank">@AzureHDInsight</a>. For questions and feedback, please reach out to <a>AskHDInsight@microsoft.com</a>.</p>

<h2>About HDInsight</h2>

<p>Azure HDInsight is Microsoft&rsquo;s premium managed offering for running open source workloads on Azure. Azure HDInsight powers mission critical applications ranging in a wide variety of sectors including, manufacturing, retail education, nonprofit, government, healthcare, media, banking, telecommunication, insurance, and many more industries ranging in use cases from ETL to Data Warehousing, from Machine Learning to IoT, and more.</p>

<h2>Additional resources</h2>

<ul>
	<li><a href="https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-phoenix-in-hdinsight?toc=%2Fen-us%2Fazure%2Fhdinsight%2Fhbase%2FTOC.json&amp;bc=%2Fen-us%2Fazure%2Fbread%2Ftoc.json" target="_blank">Apache Phoenix in HDInsight</a>.</li>
	<li><a href="https://docs.microsoft.com/en-us/azure/hdinsight/hbase/apache-hbase-phoenix-squirrel-linux" target="_blank">Use SQLLine with HDInsight Phoenix</a>.</li>
	<li><a href="https://docs.microsoft.com/en-us/azure/hdinsight/" target="_blank">Learn more about Azure HDInsight</a>.</li>
	<li><a href="https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-component-versioning#hadoop-components-available-with-different-hdinsight-versions" target="_blank">Open Source component guide on HDInsight</a>.</li>
	<li><a href="https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-release-notes" target="_blank">HDInsight release notes</a>.</li>
	<li><a href="https://social.msdn.microsoft.com/forums/azure/en-us/home?forum=hdinsight" target="_blank">Ask HDInsight questions on Msdn forums</a>.</li>
	<li><a href="https://stackoverflow.com/questions/tagged/hdinsight" target="_blank">Ask HDInsight questions on stackoverflow</a>.</li>
</ul>
]]></content:encoded>
    </item>
    <item>
      <title>Simplifying big data analytics architecture</title>
      <link>https://docs.microsoft.com/archive/blogs/ashish/simplifying-big-data-analytics-architecture</link>
      <pubDate>Fri, 17 Aug 2018 20:16:06 GMT</pubDate>
      <dc:creator><![CDATA[AshishThapliyal]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/ashish/?p=2455</guid>
      <description><![CDATA[Fast Interactive BI, data security and end user adoption are three critical challenges for...]]></description>
      <content:encoded><![CDATA[<p align="justify"><em>Fast Interactive BI, data security and end user adoption are three critical challenges for successful big data analytics implementations. Without right architecture and tools, many big data and analytics projects fail to catch on with common BI users and enterprise security architects. In this blog we will discuss architectural approaches that will help you architect big data solution for fast interactive queries, simplified security model and improved user adoption with BI users.</em></p>

<h2>Traditional approach to fast interactive BI</h2>
<p align="justify">Deep analytical queries processed on Hadoop systems have traditionally been slow. MapReduce jobs or hive queries are used for heavy processing of large datasets, however, not suitable for the fast response time required by interactive BI usage.</p>
<p align="justify">Faced with user dissatisfaction due to lack of query interactivity, data architects used techniques such as building OLAP cubes on top of Hadoop. An OLAP cube is a mechanism to store all the different dimensions, measures and hierarchies up front. Processing the cube usually takes place at the pre-specified interval. Post processing, results are available in advance, so once the BI tool queries the cube it just needs to locate the result, thereby limiting the query response time and making it a fast and interactive one. Since all measures get pre-aggregated by all levels and categories in the dimension, it is highly suitable for interactivity and fast response time. This approach is especially suitable if you need to light up summary views.</p>
&nbsp;

<img alt="image" border="0" height="314" src="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/0d4e83f9-fcff-42a0-a63b-ba0483d64f70.png" style="border: 0px currentcolor;margin-right: auto;margin-left: auto;float: none" title="image" width="650" />
<p align="justify">Above approach works for certain scenarios but not all. It tends to break down easily with large big data implementations, especially with use cases where many power users and data scientists are writing many ad-hoc queries.</p>
<p align="justify">Here are the key challenges:</p>

<ul>
 	<li>
<div align="justify">OLAP cubes require precomputations for creating aggregates which introduces latency. Businesses across all industries are demanding more from their reporting and analytics infrastructure within shorter business timeframes. OLAP cubes can’t deliver real-time analysis.</div></li>
 	<li>
<div align="justify">In big data analytics, precomputation puts heavy burden on underlying Hadoop system creating unsustainable pressure on entire big data pipeline which severely hampers performance, reliability and stability of entire pipeline.</div></li>
 	<li>
<div align="justify">This type of architecture forces large dataset movement between different systems which works well at small scale. However, falls apart at large data scale. Keeping data hot and fresh across multiple tiers is challenging.</div></li>
 	<li>
<div align="justify">Power users and data scientists requires a lot more agility and freedom in terms of their ability to experiment using sophisticated ad-hoc queries that puts additional burden on overall system.</div></li>
</ul>
&nbsp;
<h2>Azure HDInsight Interactive query overview</h2>
<p align="justify">One of the most exciting new features of Hive 2 is Low Latency Analytics Processing (LLAP), which produces significantly faster queries on raw data stored in commodity storage systems such as Azure Blob store or Azure Data Lake Store.</p>
<p align="justify">This reduces the need to introduce additional layers to enable fast interactive queries.</p>

<h2 align="justify">Key benefits of introducing Interactive Query in your big data BI architecture:</h2>
<p align="justify"><strong>Extremely fast Interactive Queries:</strong> Intelligent caching and optimizations in Interactive Query produces blazing-fast query results on remote cloud storage, such as Azure Blob and Azure Data Lake Store. Interactive Query enables data analysts to query data interactively in the same storage where data is prepared, eliminating the need for moving data from storage to another analytical engine for analytical needs. Refer to <a target="_blank" href="https://azure.microsoft.com/en-us/blog/hdinsight-interactive-query-performance-benchmarks-and-integration-with-power-bi-direct-query/" rel="noopener">Azure HDInsight Performance Benchmarking: Interactive Query, Spark, and Presto</a> to understand HDInsight Interactive Query performance expectations <strong>@ 100TB scale</strong>.</p>
<p align="justify">HDInsight Interactive Query (LLAP) leverages set of persistent daemons that execute fragments of Hive queries. Query execution on LLAP is very similar to Hive without LLAP, except that worker tasks run inside LLAP daemons, and not in containers.</p>
<p align="justify"><img alt="image" border="0" height="361" src="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/0c275e66-7fd7-45fd-841c-caf9ecc53084.png" style="border: 0px currentcolor;margin-right: auto;margin-left: auto;float: none" title="image" width="628" /></p>
<p align="justify"><strong>Lifecycle of a query: </strong>After client submits the JDBC query, query arrives at Hive Server 2 Interactive which is responsible for query planning, optimization, as well as security trimming. Since each query is submitted via Hive Server 2, <u>it becomes the single place to enforce security policies. </u></p>
<p align="justify"><u><img alt="image" border="0" height="135" src="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/db16d1a0-ac82-4ae8-9e24-14d57e3e5562.png" style="border: 0px currentcolor;margin-right: auto;margin-left: auto;float: none" title="image" width="675" /></u></p>
<p align="justify"><strong>File format versatility and Intelligent caching:</strong> Fast analytics on Hadoop have always come with one big catch: they require up-front conversion to a columnar format like ORCFile, Parquet or Avro, which is time-consuming, complex and limits your agility.</p>
With Interactive Query Dynamic Text Cache, which converts CSV or JSON data into optimized in-memory format on-the-fly, caching is dynamic, so the queries determine what data is cached. <b>After text data is cached, analytics run just as fast as if you had converted it to specific file formats</b>.

Interactive Query SSD cache combines RAM and SSD into a giant pool of memory with all the other benefits the LLAP cache brings. With the SSD Cache, a typical server profile can cache 4x more data, letting you process larger datasets or supporting more users. <b>Interactive query <u>cache is aware</u> of the underlying data changes in remote store (Azure Storage)</b>. If underlying data changes and user issues a query, updated data will be loaded in the memory without requiring any additional user steps.

<img alt="image" border="0" height="304" src="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/fdcaec11-a65f-4525-9743-9d89cef3aae2.png" style="border: 0px currentcolor;margin-right: auto;margin-left: auto;float: none" title="image" width="695" />

<b>Concurrency:</b> With the introduction of much improved fine-grain resource management, preemption and sharing cached data across queries and users, Interactive Query [Hive on LLAP] makes it better for concurrent users.

In addition, HDInsight supports creating multiple clusters on shared Azure storage and Hive metastore helps in achieving a high degree of concurrency, so you can scale the concurrency by simply adding more cluster nodes or adding more clusters pointing to same underlying data and metadata.
<h5>Please read <a target="_blank" href="https://blogs.msdn.microsoft.com/ashish/2017/03/24/hive-metastore-in-hdinsight-tips-tricks-best-practices/" rel="noopener">Hive Metastore in HDInsight</a> to learn more about sharing metastore across clusters and cluster types in Azure HDInsight.</h5>
<a></a>
<h2>Simplified and scalable architecture with HDInsight Interactive Query</h2>
<p align="justify">By introducing Interactive Query to your architecture, you can now route power users, data scientists, and data engineers to hit Interactive Query directly. This architectural improvement will reduce the overall burden from the BI system as well as increases user satisfaction due to fast interactive query response as well as increases flexibility to run ad-hoc queries at will.</p>
<img alt="image" border="0" height="320" src="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/5a51281e-a316-4eea-8986-1fb53d169139.png" style="border: 0px currentcolor;margin-right: auto;margin-left: auto;float: none" title="image" width="678" />
<p align="justify">In above described architecture, users who wants to see the summary views can still be served with OLAP cubes. However, all other users leverage Interactive Query for submitting their queries.</p>
<p align="justify">For OLAP based applications on Azure HDInsight, please see solutions such as <a target="_blank" href="https://www.atscale.com/azure-hdinsight/" rel="noopener">AtScale</a> and Apache <a target="_blank" href="https://azure.microsoft.com/en-us/blog/bring-interactive-analytics-to-azure-kyligence-analytics-platform-enables-sub-second-query-on-hdinsight/" rel="noopener">Kyligence</a>.</p>

<h2>Security model</h2>
Like Hadoop and Spark clusters, HDInsight Interactive Query leverages Azure Active Directory and Apache Ranger to provide fine-grain access control and auditing. Please read <a href="https://docs.microsoft.com/en-us/azure/hdinsight/domain-joined/apache-domain-joined-introduction">An introduction to Hadoop security</a> article to understand security model for HDInsight clusters.

In HDInsight Interactive Query, access restriction logic is pushed down into the Hive layer and Hive applies the access restrictions every time data access is attempted. This helps simplify authoring of the Hive queries and provides seamless behind-the-scenes enforcement without having to add this logic to the predicate of the query. Please read <a href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.5/bk_security/content/using_ranger_to_provide_authorization_in_hadoop.html">Using Ranger to Provide Authorization in Hadoop</a> to understand different type of security policies that can be created in Apache Ranger.
<h2>User adoption with familiar tools</h2>
<p align="justify">In big data analytics, organizations are increasingly concerned that their end users aren’t getting enough value out of the analytics systems because it is often too challenging and requires using unfamiliar and difficult-to-learn tools to run the analytics. HDInsight Interactive Query addresses this issue by requiring minimal to no new user training to get insight from the data. Users can write SQL queries (hql) in the tools they already use and love the most. HDInsight Interactive query out of the box supports BI tools such as <a href="https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-for-vscode">Visual Studio Code</a>, <a href="https://docs.microsoft.com/en-us/azure/hdinsight/interactive-query/apache-hadoop-connect-hive-power-bi-directquery">Power BI</a>, <a href="https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-connect-hive-zeppelin">Apache Zeppelin</a>, <a href="https://docs.microsoft.com/en-us/azure/hdinsight/hadoop/apache-hadoop-visual-studio-tools-get-started#run-interactive-hive-queries">Visual Studio</a>, <a href="https://docs.microsoft.com/en-us/azure/hdinsight/hadoop/apache-hadoop-use-hive-ambari-view">Ambari Hive View</a>, <a href="https://docs.microsoft.com/en-us/azure/hdinsight/hadoop/apache-hadoop-use-hive-beeline">Beeline</a>, and <a href="https://docs.microsoft.com/en-us/azure/hdinsight/hadoop/apache-hadoop-connect-excel-hive-odbc-driver">Hive ODBC</a>.</p>

<h5 align="justify"><img alt="image" border="0" height="356" src="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/5af7f5ea-2063-4bc0-b1b8-0e1d454dad58.png" style="border: 0px currentcolor;margin-right: auto;margin-left: auto;float: none" title="image" width="657" /></h5>
<h5>To learn more about these tools, please read <a target="_blank" href="https://azure.microsoft.com/en-us/blog/azure-hdinsight-interactive-query-ten-tools-to-analyze-big-data-faster/" rel="noopener">Azure HdInsight Interactive Query: Ten tools to analyze big data faster</a>.</h5>
<h2>Built to complement Spark, Hive, Presto, and other big data engines</h2>
<p align="justify">HDInsight Interactive query is designed to work well with popular big data engines such as Apache Spark, Hive, Presto, and more. This is especially useful because your users may choose any one of these tools to run their analytics. With HDInsight’s shared data and metadata architecture, users can create multiple clusters with the same or different engine pointing to same underlying data and metadata. This is very powerful concept as you are no longer bounded by one technology for analytics.</p>
    <img alt="image" border="0" height="251" src="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/e0fac778-f800-4ace-b957-1b1b62a849a5.png" style="border: 0px currentcolor;margin-right: auto;margin-left: auto;float: none" title="image" width="641" />
<h2>Try HDInsight now</h2>
<p align="justify">We hope you will take full advantage fast query capabilities of HDInsight Interactive Query. We are excited to see what you will build with Azure HDInsight. <a href="https://azure.microsoft.com/en-us/blog/azure-hdinsight-training-resources-learn-about-big-data-using-open-source-technologies/">Read this developer guide</a> and follow the quick start guide to learn more about implementing these pipelines and architectures on Azure HDInsight. Stay up-to-date on the latest Azure HDInsight news and features by following us on Twitter <a href="https://twitter.com/search?q=%23HDInsight&amp;src=typd">#HDInsight</a> and <a href="https://twitter.com/AzureHDInsight">@AzureHDInsight</a>. For questions and feedback, please reach out to <a>AskHDInsight@microsoft.com</a>.</p>

<h2>About HDInsight</h2>
<p align="justify">Azure HDInsight is Microsoft’s premium managed offering for running open source workloads on Azure. Azure HDInsight powers mission critical applications ranging in a wide variety of sectors including, manufacturing, retail education, nonprofit, government, healthcare, media, banking, telecommunication, insurance, and many more industries ranging in use cases from ETL to Data Warehousing, from Machine Learning to IoT, and more.</p>

<h2>Additional resources</h2>
<ul>
 	<li><a href="https://docs.microsoft.com/en-us/azure/hdinsight/interactive-query/apache-interactive-query-get-started">Get started with HDInsight Interactive Query Cluster in Azure</a></li>
 	<li><a target="_blank" href="https://azure.microsoft.com/en-us/blog/hdinsight-interactive-query-performance-benchmarks-and-integration-with-power-bi-direct-query/" rel="noopener">Azure HDInsight Performance Benchmarking: Interactive Query, Spark and Presto</a></li>
 	<li><a href="https://docs.microsoft.com/en-us/azure/hdinsight/">Learn more about Azure HDInsight</a></li>
 	<li><a href="https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-hadoop-linux-tutorial-get-started">Use Hive on HDInsight</a></li>
 	<li><a href="https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-component-versioning#hadoop-components-available-with-different-hdinsight-versions">Open Source component guide on HDInsight</a></li>
 	<li><a href="https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-release-notes">HDInsight release notes</a></li>
 	<li><a href="https://social.msdn.microsoft.com/forums/azure/en-us/home?forum=hdinsight">Ask HDInsight questions on Msdn forums</a></li>
 	<li><a href="https://stackoverflow.com/questions/tagged/hdinsight">Ask HDInsight questions on stackoverflow</a></li>
</ul>]]></content:encoded>
    </item>
    <item>
      <title>Ten tools to analyze big data faster</title>
      <link>https://docs.microsoft.com/archive/blogs/ashish/ten-tools-to-analyze-big-data-faster</link>
      <pubDate>Tue, 14 Aug 2018 02:57:13 GMT</pubDate>
      <dc:creator><![CDATA[AshishThapliyal]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/ashish/?p=2445</guid>
      <description><![CDATA[Customers use HDInsight Interactive Query (also called Hive LLAP, or Low Latency Analytical...]]></description>
      <content:encoded><![CDATA[Customers use HDInsight Interactive Query (also called Hive LLAP, or Low Latency Analytical Processing) to query data stored in Azure storage &amp; Azure Data Lake Storage in super-fast manner. Interactive query makes it easy for developers and data scientist to work with the big data using BI tools they love the most. HDInsight Interactive Query supports several tools to access big data in easy fashion. In this blog we have listed most popular tools used by our customers:
<h2>Microsoft Power BI</h2>
Microsoft Power BI Desktop has a native connector to perform direct query against  HDInsight Interactive Query cluster. You can explore and visualize the data in interactive manner. To learn more see <a target="_blank" href="https://docs.microsoft.com/en-us/azure/hdinsight/interactive-query/apache-hadoop-connect-hive-power-bi-directquery" rel="noopener">Visualize Interactive Query Hive data with Power BI in Azure HDInsight</a> and <a target="_blank" href="https://docs.microsoft.com/en-us/azure/hdinsight/hadoop/apache-hadoop-connect-hive-power-bi" rel="noopener">Visualize big data with Power BI in Azure HDInsight</a>.

<a href="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/9138f51a-8029-429f-9435-a1cfc72409a2.png"><img alt="image" border="0" height="280" src="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/25c67fe4-5ab0-45e1-831e-b3d7c2348a17.png" style="border: 0px currentcolor;margin-right: auto;margin-left: auto;float: none" title="image" width="563" /></a>
<h2>Apache Zeppelin</h2>
Apache Zeppelin interpreter concept allows any language/data-processing-backend to be plugged into Zeppelin. You can access Interactive Query from Apache Zeppelin using a JDBC interpreter. To learn more please see <a target="_blank" href="https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-connect-hive-zeppelin" rel="noopener">Use Zeppelin to run Hive queries in Azure HDInsight</a>.

<a href="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/b5315ca4-76d0-48ed-90e5-5cc368df7227.png"><img alt="image" border="0" height="416" src="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/82e16bdd-6258-406a-b2e3-c46934daf788.png" style="border: 0px currentcolor;margin-right: auto;margin-left: auto;float: none" title="image" width="543" /></a>
<h2>Visual Studio Code</h2>
With HDInsight Tools for VS Code, you can submit interactive queries as well at look at job information in HDInsight interactive query clusters. To learn more please see <a target="_blank" href="https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-for-vscode" rel="noopener">Use Visual Studio Code for Hive, LLAP or pySpark</a>.

<a href="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/0e1e8753-71cd-4dda-921a-7a7ac6a8fbea.png"><img alt="image" border="0" height="396" src="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/93f585ed-b47a-41b5-b71f-904aa9f3c4b4.png" style="border: 0px currentcolor;margin-right: auto;margin-left: auto;float: none" title="image" width="637" /></a>
<h2>Visual Studio</h2>
Visual Studio integration helps you create and query tables in visual fashion. You can create a Hive tables on top of data stored in Azure Data Lake Storage or Azure Storage. To learn more please see <a target="_blank" href="https://docs.microsoft.com/en-us/azure/hdinsight/hadoop/apache-hadoop-visual-studio-tools-get-started#run-interactive-hive-queries" rel="noopener">Connect to Azure HDInsight and run Hive queries using Data Lake Tools for Visual Studio</a>.

<a href="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/607af74a-d645-41fe-b15d-f43781e0f301.png"><img alt="image" border="0" height="350" src="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/c41e56c6-75d6-42c1-aca7-eaa159914e79.png" style="border: 0px currentcolor;margin-right: auto;margin-left: auto;float: none" title="image" width="646" /></a>
<h2>Ambari Hive View</h2>
Hive View is designed to help you author, optimize, and execute queries. With Hive Views you can:
<ul>
 	<li>Browse databases.</li>
 	<li>Write queries or browse query results in full-screen mode, which can be particularly helpful with complex queries or large query results.</li>
 	<li>Manage query execution jobs and history.</li>
 	<li>View existing databases, tables, and their statistics.</li>
 	<li>Create/upload tables and export table DDL to source control.</li>
 	<li>View visual explain plans to learn more about query plan.</li>
</ul>
To learn more please see <a target="_blank" href="https://docs.microsoft.com/en-us/azure/hdinsight/hadoop/apache-hadoop-use-hive-ambari-view" rel="noopener">Use Hive View with Hadoop in Azure HDInsight</a>.

<a href="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/c876ef96-371e-44bc-810c-da5300e49fac.png"><img alt="image" border="0" height="275" src="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/8245e067-59b7-4287-99bf-b8ecb9a80ace.png" style="border: 0px currentcolor;margin-right: auto;margin-left: auto;float: none" title="image" width="628" /></a>
<h2>Beeline</h2>
Beeline is a Hive client that is included on the head nodes of HDInsight cluster. Beeline uses JDBC to connect to HiveServer2, a service hosted on HDInsight cluster. You can also use Beeline to access Hive on HDInsight remotely over the internet. To learn more please see <a target="_blank" href="https://docs.microsoft.com/en-us/azure/hdinsight/hadoop/apache-hadoop-use-hive-beeline" rel="noopener">Use Hive with Hadoop in HDInsight with Beeline</a>.

<a href="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/467d60f1-4cb4-4288-ba78-6a68f2e3baa0.png"><img alt="image" border="0" height="351" src="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/831cc052-a22d-4244-bd9b-597e81510393.png" style="border: 0px currentcolor;margin-right: auto;margin-left: auto;float: none" title="image" width="602" /></a>
<h2>Hive ODBC</h2>
Open Database Connectivity (ODBC) API, a standard for the Hive database management system, enables ODBC compliant applications to interact seamlessly with Hive through a standard interface. Learn more about how <a target="_blank" href="https://www.microsoft.com/en-us/download/details.aspx?id=40886" rel="noopener">HDInsight publishes HDInsight Hive ODBC driver</a>.

<a href="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/c18236f1-40f5-4206-9d67-844336df486f.png"><img alt="image" border="0" height="521" src="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/576baaf4-f949-4aba-8fbe-81b1183f60f2.png" style="border: 0px currentcolor;margin-right: auto;margin-left: auto;float: none" title="image" width="623" /></a>
<h2>Tableau</h2>
Tableau is very popular data visualization tool. Customers can build visualizations by connecting Tableau with HDInsight interactive Query.

<a href="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/53690df3-a0f0-4593-9b7f-653147786981.png"><img alt="image" border="0" height="260" src="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/f53f0c85-4cd1-4d81-8a37-9b0cb49c3252.png" style="border: 0px currentcolor;margin-right: auto;margin-left: auto;float: none" title="image" width="476" /></a>
<h2><a href="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/052a7d12-8467-428f-9246-2689efa07d08.png"><img alt="image" border="0" height="242" src="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/71b2fc14-9f85-4784-99a1-7dc6c430d33c.png" style="border: 0px currentcolor;margin-right: auto;margin-left: auto;float: none" title="image" width="458" /></a></h2>
<h2>Apache DBeaver</h2>
Apache DBeaver is SQL client and a database administration tool. It is free and open-source (ASL). DBeaver use JDBC API to connect with SQL based databases. To learn more, see <a target="_blank" href="https://blogs.msdn.microsoft.com/ashish/2018/05/30/how-to-use-dbeaver-with-azure-hdinsight/" rel="noopener">How to use DBeaver with Azure #HDInsight</a>.

<a href="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/770ff86b-680d-494e-9f1f-6fb52a5c23ec.png"><img alt="image" border="0" height="362" src="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/2ed1ac67-50b6-43ac-8b43-ae42fdd7e83a.png" style="border: 0px currentcolor;margin-right: auto;margin-left: auto;float: none" title="image" width="607" /></a>
<h2>Excel</h2>
Microsoft Excel is the most popular data analysis tool and connecting it with big data is even more interesting for our customers. Azure HDInsight Interactive Query cluster can be integrated with Excel with ODBC connectivity.To learn more, see <a target="_blank" href="https://docs.microsoft.com/en-us/azure/hdinsight/hadoop/apache-hadoop-connect-excel-hive-odbc-driver" rel="noopener">Connect Excel to Hadoop in Azure HDInsight with the Microsoft Hive ODBC driver</a>.

<a href="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/77e40642-12c5-4aa1-b180-05b09fce2106.png"><img alt="image" border="0" height="257" src="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/b7c0bd70-8350-448d-987b-60ec30b007c3.png" style="border: 0px currentcolor;margin-right: auto;margin-left: auto;float: none" title="image" width="656" /></a>
<h2>Try HDInsight now</h2>
We hope you will take full advantage fast query capabilities of HDInsight Interactive Query using your favorite tools. We are excited to see what you will build with Azure HDInsight. <a target="_blank" href="https://azure.microsoft.com/en-us/blog/azure-hdinsight-training-resources-learn-about-big-data-using-open-source-technologies/" rel="noopener">Read this developer guide</a> and follow the quick start guide to learn more about implementing these pipelines and architectures on Azure HDInsight. Stay up-to-date on the latest Azure HDInsight news and features by following us on Twitter <a target="_blank" href="https://twitter.com/search?q=%23HDInsight&amp;src=typd" rel="noopener">#HDInsight</a> and <a target="_blank" href="https://twitter.com/AzureHDInsight" rel="noopener">@AzureHDInsight</a>. For questions and feedback, please reach out to <a href="mailto:AskHDInsight@microsoft.com">AskHDInsight@microsoft.com</a>.
<h2>About HDInsight</h2>
Azure HDInsight is Microsoft’s premium managed offering for running open source workloads on Azure. Azure HDInsight powers mission critical applications ranging in a wide variety of sectors including, manufacturing, retail education, nonprofit, government, healthcare, media, banking, telecommunication, insurance, and many more industries ranging in use cases from ETL to Data Warehousing, from Machine Learning to IoT, and more.
<h2>Additional resources</h2>
<ul>
 	<li><a target="_blank" href="https://docs.microsoft.com/en-us/azure/hdinsight/interactive-query/apache-interactive-query-get-started" rel="noopener">Get started with HDInsight Interactive Query Cluster in Azure</a>.</li>
 	<li><a target="_blank" href="https://dataworkssummit.com/berlin-2018/session/zero-etl-analytics-with-llap-in-azure-hdinsight/" rel="noopener">Zero ETL analytics with LLAP in Azure HDInsight</a>.</li>
 	<li><a target="_blank" href="https://azure.microsoft.com/en-us/blog/hdinsight-interactive-query-performance-benchmarks-and-integration-with-power-bi-direct-query/" rel="noopener">Azure HDInsight Performance Benchmarking: Interactive Query, Spark and Presto</a>.</li>
 	<li><a target="_blank" href="https://docs.microsoft.com/en-us/azure/hdinsight/" rel="noopener">Learn more about Azure HDInsight</a>.</li>
 	<li><a target="_blank" href="https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-hadoop-linux-tutorial-get-started" rel="noopener">Use Hive on HDInsight</a>.</li>
 	<li><a target="_blank" href="https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-component-versioning#hadoop-components-available-with-different-hdinsight-versions" rel="noopener">Open Source component guide on HDInsight</a>.</li>
 	<li><a target="_blank" href="https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-release-notes" rel="noopener">HDInsight release notes</a>.</li>
 	<li><a target="_blank" href="https://social.msdn.microsoft.com/forums/azure/en-us/home?forum=hdinsight" rel="noopener">Ask HDInsight questions on Msdn forums</a>.</li>
 	<li><a target="_blank" href="https://stackoverflow.com/questions/tagged/hdinsight" rel="noopener">Ask HDInsight questions on stackoverflow</a>.</li>
</ul>]]></content:encoded>
    </item>
    <item>
      <title>How to use DBeaver with Azure #HDInsight</title>
      <link>https://docs.microsoft.com/archive/blogs/ashish/how-to-use-dbeaver-with-azure-hdinsight</link>
      <pubDate>Wed, 30 May 2018 22:45:34 GMT</pubDate>
      <dc:creator><![CDATA[AshishThapliyal]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/ashish/?p=2415</guid>
      <description><![CDATA[&nbsp;

DBeaver is SQL client and a database administration tool. It is free and open-source...]]></description>
      <content:encoded><![CDATA[&nbsp;

DBeaver is SQL client and a database administration tool. It is free and open-source (<a href="https://dbeaver.io/files/dbeaver_license.txt">ASL</a>).

DBeaver use JDBC API to connect with SQL based databases. Following is a simple walk through of how to connect Azure HDInsight cluster [Hadoop or Interactive Query] with DBeaver. This article is based on HDInsight 3.6 version.

<strong>Step1:</strong> Install DBeaver from DBeaver <a target="_blank" href="https://dbeaver.jkiss.org/" rel="noopener">website</a>

<strong>Step2:</strong> Note down JDBC connection string for your cluster
<blockquote>
<h1><a href="443/default;ssl=true?hive.server2.transport.mode=http;hive.server2.thrift.http.path=/hive2" title="jdbc:hive2://donotdeletellap.azurehdinsight.net:443/default;ssl=true?hive.server2.transport.mode=http;hive.server2.thrift.http.path=/hive2"><span style="font-size: x-large">jdbc:hive2://&lt;yourclustername&gt;.azurehdinsight.net:443/default;ssl=true?hive.server2.transport.mode=http;hive.server2.thrift.http.path=/hive2</span></a></h1>
</blockquote>
<strong>Step3: </strong>Create new Apache Hive Connection

<a href="https://msdnshared.blob.core.windows.net/media/2018/05/start.png"><img width="695" height="367" title="start" style="border: 0px currentcolor" alt="start" src="https://msdnshared.blob.core.windows.net/media/2018/05/start_thumb.png" border="0" /></a>

<strong>Step4: </strong>Edit the driver properties and chose exact version of Hive driver that matches your cluster version. In below example we are working with LLAP (Hive version 2.0.1)

<a href="https://msdnshared.blob.core.windows.net/media/2018/05/driverversion.png"><img width="679" height="518" title="driverversion" style="border: 0px currentcolor" alt="driverversion" src="https://msdnshared.blob.core.windows.net/media/2018/05/driverversion_thumb.png" border="0" /></a>

<strong>Step5: </strong>Download the driver version, set JDBC connection and test the connection. If you are using a cluster with security package, you can also specify your domain credentials to log in.

<a href="https://msdnshared.blob.core.windows.net/media/2018/05/image308.png"><img width="659" height="370" title="image" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/05/image_thumb238.png" border="0" /></a>

<strong>Step6: </strong>Strat executing queries<img class="wlEmoticon wlEmoticon-smile" alt="Smile" src="https://msdnshared.blob.core.windows.net/media/2018/05/wlEmoticon-smile6.png" />

&nbsp;

<a href="https://msdnshared.blob.core.windows.net/media/2018/05/start-querying.png"><img width="659" height="354" title="start querying" style="border: 0px currentcolor" alt="start querying" src="https://msdnshared.blob.core.windows.net/media/2018/05/start-querying_thumb.png" border="0" /></a>

&nbsp;

There are several other tools you can use to connect with HDInsight cluster, some of them are documented below
<ul>
 	<li>Use Power BI

See <a href="https://docs.microsoft.com/en-us/azure/hdinsight/interactive-query/apache-hadoop-connect-hive-power-bi-directquery">Visualize Interactive Query Hive data with Power BI in Azure HDInsight</a> See <a href="https://docs.microsoft.com/en-us/azure/hdinsight/hadoop/apache-hadoop-connect-hive-power-bi">Visualize big data with Power BI in Azure HDInsight</a>.</li>
 	<li>Use Zeppelin

See <a href="https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-connect-hive-zeppelin">Use Zeppelin to run Hive queries in Azure HDInsight </a>.</li>
 	<li>Use Visual Studio

See <a href="https://docs.microsoft.com/en-us/azure/hdinsight/hadoop/apache-hadoop-visual-studio-tools-get-started#run-interactive-hive-queries">Connect to Azure HDInsight and run Hive queries using Data Lake Tools for Visual Studio</a>.</li>
 	<li>Use Visual Studio Code

See <a href="https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-for-vscode">Use Visual Studio Code for Hive, LLAP or pySpark</a>.</li>
 	<li>Run Hive by using Ambari Hive View.

See <a href="https://docs.microsoft.com/en-us/azure/hdinsight/hadoop/apache-hadoop-use-hive-ambari-view">Use Hive View with Hadoop in Azure HDInsight</a>.</li>
 	<li>Run Hive by using Beeline.

See <a href="https://docs.microsoft.com/en-us/azure/hdinsight/hadoop/apache-hadoop-use-hive-beeline">Use Hive with Hadoop in HDInsight with Beeline</a>.

You can use Beeline from either the head node or from an empty edge node. We recommend using Beeline from an empty edge node. For information about creating an HDInsight cluster by using an empty edge node, see <a href="https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-apps-use-edge-node">Use empty edge nodes in HDInsight</a>.</li>
 	<li>Run Hive by using Hive ODBC.

See <a href="https://docs.microsoft.com/en-us/azure/hdinsight/hadoop/apache-hadoop-connect-excel-hive-odbc-driver">Connect Excel to Hadoop with the Microsoft Hive ODBC driver</a>.</li>
</ul>]]></content:encoded>
    </item>
    <item>
      <title>HDInsight HBase: Migrating to new HDInsight version</title>
      <link>https://docs.microsoft.com/archive/blogs/ashish/hdinsight-hbase-migrating-to-new-hdinsight-version</link>
      <pubDate>Wed, 30 May 2018 19:35:48 GMT</pubDate>
      <dc:creator><![CDATA[AshishThapliyal]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/ashish/?p=2315</guid>
      <description><![CDATA[Following are short steps to upgrade your HDInsight HBase cluster with small downtime. Before you...]]></description>
      <content:encoded><![CDATA[<p>Following are short steps to upgrade your HDInsight HBase cluster with small downtime. <p>Before you migrate please note that there may be incompatibilities between HBase Major/Minor version and below steps only works if there is no version compatibility issues between source and destination cluster. We recommend you to review <a href="https://hbase.apache.org/book.html#upgrading" target="_blank">HBase book</a> before undertaking an upgrade.<h3><br></h3><table border="0" cellspacing="0" cellpadding="0"><tbody><tr><td width="273" valign="top"><p><b>Compatibility Type</b></p></td><td width="60"><p>Major</p></td><td width="69"><p>Minor</p></td><td width="119"><p>Patch</p></td></tr><tr><td width="273"><p>Client-Server wire Compatibility</p></td><td width="60"><p>N</p></td><td width="69"><p>Y</p></td><td width="119"><p>Y</p></td></tr><tr><td width="273"><p>Server-Server Compatibility</p></td><td width="60"><p>N</p></td><td width="69"><p>Y</p></td><td width="119"><p>Y</p></td></tr><tr><td width="273"><p>File Format Compatibility</p></td><td width="60" valign="bottom"><p>N </p></td><td width="69"><p>Y</p></td><td width="119"><p>Y</p></td></tr><tr><td width="273"><p>Client API Compatibility</p></td><td width="60"><p>N</p></td><td width="69"><p>Y</p></td><td width="119"><p>Y</p></td></tr><tr><td width="273"><p>Client Binary Compatibility</p></td><td width="60"><p>N</p></td><td width="69"><p>N</p></td><td width="119"><p>Y</p></td></tr><tr><td width="273"><p><b>Server-Side Limited API Compatibility</b></p></td><td width="60"></td><td width="69"></td><td width="119"></td></tr><tr><td width="273"><p>Stable</p></td><td width="60"><p>N</p></td><td width="69"><p>Y</p></td><td width="119"><p>Y</p></td></tr><tr><td width="273"><p>Evolving</p></td><td width="60"><p>N</p></td><td width="69"><p>N</p></td><td width="119"><p>Y</p></td></tr><tr><td width="273"><p>Unstable</p></td><td width="60"><p>N</p></td><td width="69"><p>N</p></td><td width="119"><p>N</p></td></tr><tr><td width="273"><p>Dependency Compatibility</p></td><td width="60"><p>N</p></td><td width="69"><p>Y</p></td><td width="119"><p>Y</p></td></tr><tr><td width="273"><p>Operational Compatibility</p></td><td width="60"><p>N</p></td><td width="69"><p>N</p></td><td width="119"><p>Y</p></td></tr></tbody></table><h3>Scenario:</h3><p>Migrate HDInsight 3.5 to 3.6 with same HBase major version or Migrate HDInsight between point versions e.g (3.6.2 to 3.6.3) of Azure HDInsight<p><b>Step1:</b> Make sure that your application works with the new version. <p><b>Step2:</b> Create HDInsight Cluster on same storage but with different container name<p><b>Step3:</b> Flush your source HBase cluster <a href="https://raw.githubusercontent.com/Azure/hbase-utils/master/scripts/flush_all_tables.sh">https://raw.githubusercontent.com/Azure/hbase-utils/master/scripts/flush_all_tables.sh</a><p><b>Step4:</b> Stop the ingestion to HBase cluster<p><b>Step5:</b> Flush the cluster again with <a href="https://raw.githubusercontent.com/Azure/hbase-utils/master/scripts/flush_all_tables.sh">https://raw.githubusercontent.com/Azure/hbase-utils/master/scripts/flush_all_tables.sh</a> [This will ensure that any remaining data in memstore is flushed]<p><b>Step6: </b>Stop HBase services from Ambari<p><a href="https://msdnshared.blob.core.windows.net/media/2018/05/image306.png"><img width="656" height="370" title="image" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/05/image_thumb236.png" border="0"></a><p><b>Step7:</b> Go to new HDInsight cluster /Ambari HDFS settings and change the container name to original container –&gt;Ambari –&gt;HDFSàAdvanced –&gt;Advanced core-site <p><a href="https://msdnshared.blob.core.windows.net/media/2018/05/image307.png"><img width="655" height="202" title="image" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/05/image_thumb237.png" border="0"></a><p><b>Step8: </b>Restart all required services [Ambari will indicate which services requires restart] <p><b>Step9: </b>Point your application to the new cluster.<p><b>Step10:</b> Start the ingestion to see if everything is working well<p><b>Step11:</b> delete the original cluster after you see everything is working well.]]></content:encoded>
    </item>
    <item>
      <title>Interactive ad-hoc analysis at petabyte scale with HDInsight Interactive Query</title>
      <link>https://docs.microsoft.com/archive/blogs/ashish/interactive-ad-hoc-analysis-at-petabyte-scale-with-hdinsight-interactive-query</link>
      <pubDate>Fri, 11 May 2018 00:53:30 GMT</pubDate>
      <dc:creator><![CDATA[AshishThapliyal]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/ashish/?p=2245</guid>
      <description><![CDATA[Recording from my BUILD session. You can download the slides from here 

]]></description>
      <content:encoded><![CDATA[Recording from my BUILD session. You can download the slides from <a href="https://www.slideshare.net/AshishThapliyal5/interactive-adhoc-analysis-at-petabyte-scale-with-hdinsight-interactive-query-96647248/AshishThapliyal5/interactive-adhoc-analysis-at-petabyte-scale-with-hdinsight-interactive-query-96647248" rel="noopener" target="_blank">here</a> 

<iframe width="1170" height="658" src="https://www.youtube.com/embed/UmiwPSkAeXY" frameborder="0" allowfullscreen="allowfullscreen"></iframe>]]></content:encoded>
    </item>
    <item>
      <title>What is Azure HDInsight?</title>
      <link>https://docs.microsoft.com/archive/blogs/ashish/what-is-azure-hdinsight</link>
      <pubDate>Tue, 08 May 2018 14:57:37 GMT</pubDate>
      <dc:creator><![CDATA[AshishThapliyal]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/ashish/?p=2235</guid>
      <description><![CDATA[Fully managed Big Data Open Source Analytics Service with popular open source frameworks such as...]]></description>
      <content:encoded><![CDATA[Fully managed Big Data Open Source Analytics Service with popular open source frameworks such as Kafka, Storm, R, Spark, Hive, HBase, Phoenix, LLAP, Sqoop, Oozie &amp; Hadoop.

100% Apache Open Source with No lock in. Customers can freely move between on premise, Azure and other clouds as Microsoft does not use any proprietary code with HDInsight.

Manageability &amp; Operations:
• Fully managed service with 99.9% availability SLAs [Industry’s best SLAs]
• Highly optimized, best performance with the default configuration [No fine tuning required for the great performance]
• Customers have full control on cluster. We support wide range of customizations
• Cluster scaling via Scale API
• Microsoft monitors underlying cluster infrastructure as well as various open source services running on cluster for issues and automatically fixes issues with its advanced healing infrastructure
• Integrated with Azure Log Analytics for Log Management &amp; Integrated dashboards
• High availability configurations such as multiple head nodes [if master goes down, your jobs keep running].
• Proven performance at large scale https://azure.microsoft.com/en-us/blog/hdinsight-interactive-query-performance-benchmarks-and-integration-with-power-bi-direct-query/

Enterprise Security:
• VNET and Network Access Control support for perimeter security
• Option for customers to bring their own firewalls
• Active Directory support for multi user configuration
• Role based isolation, access control for Table, Column &amp; row level data via Apache Ranger
• Auditing of all access attempts
• Support for multiple Open Source Frameworks with Ranger such as Hive, Spark, LLAP
• Encryption at REST and in transit
• Most comprehensive compliance
• Available is Government Cloud

Data Storage:
• Support Azure Data Lake Store, Azure Hot Storage, Azure Cool Storage for data storage
• Shared managed services such as Hive Metastore, Ranger Database, Oozie Database &amp; Sqoop Database

Tooling
• 100 % Open Source data science tools s Zeppelin, Jupyter and R Studio
• Best in class Spark debugging support in IntelliJ
• 1st class support for Eclipse, Visual Studio and Visual Studio Code, Power BI &amp; Apache DBeaver
• Native HBase and Phoenix REST SDKs
• Tez View, Grafana and Hive View for monitoring and debugging hive queries
• Cluster orchestration with PowerShell, Azure SDK, ARM templates or Azure Data Factory
• Rich curated marketplace with one-click deploy experience of most popular big data applications
Cost
• HDInsight is most cost-effective solution in its category
• Per Minute billing &amp; No additional support services are required for Open Source components

Use cases
• ETL/Batch [MR, Pig, Hive, Spark]
• Interactive Exploration [Hive, LLAP, Spark SQL]
• Data Science &amp; Machine Learning [R, Spark ML]
• Streaming [Kafka--&gt;Storm/Spark Streaming --&gt;HBase]
• Lift &amp; Shift [HDP &amp; Cloudera Migrations to Azure]]]></content:encoded>
    </item>
    <item>
      <title>HDInsight# Hive Frequently Asked Questions</title>
      <link>https://docs.microsoft.com/archive/blogs/ashish/hdinsight-hive-frequently-asked-questions</link>
      <pubDate>Fri, 27 Apr 2018 17:57:41 GMT</pubDate>
      <dc:creator><![CDATA[AshishThapliyal]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/ashish/?p=2205</guid>
      <description><![CDATA[In this bog post we have captured some common questions and answers related to Hive in Azure...]]></description>
      <content:encoded><![CDATA[In this bog post we have captured some common questions and answers related to Hive in Azure HDInsight.

<strong>How do I check DAG counters for a query?</strong>

Go to Tez View. Find the DAG and click on Dag counters tab.

<strong>How do I check that amount of data being read/writted/shuffled by a query?</strong>

Go to Dag counters and look for HDFS_BYTES_READ/HDFS_BYTES_WRITTEN/SHUFFLE_BYTES.

<strong>How do I download all YARN container logs?</strong>

yarn logs -applicationId &lt;application_id&gt; &gt; logs

<strong>How do I download YARN container logs for a particular container?</strong>

yarn logs -applicationId &lt;application_id&gt; -containerId &lt;container_id&gt; &gt; containerlogs

<strong>How do I download YARN container logs for all Application Master (AM) container?</strong>

yarn logs -applicationId &lt;application_id&gt; -am ALL &gt; amlogs

<strong>How do I download YARN container logs for only the latest Application Master (AM) container?</strong>

yarn logs -applicationId &lt;application_id&gt; -am -1 &gt; latestamlogs

<strong>How do I download YARN container logs for first 2 Application Master (AM) container?</strong>

yarn logs -applicationId &lt;application_id&gt; -am 1,2 &gt; first2amlogs

<strong>Where is hive client logs?</strong>

/tmp/&lt;username&gt;/hive.log

<strong>Where is hive metastore logs?</strong>

/var/log/hive/hivemetastore.log

<strong>Where is hiveserver logs?</strong>

/var/log/hive/hiveserver2.log

<strong>How to I start hive shell with debug logging enabled on console?</strong>

hive -hiveconf hive.root.logger=ALL,console

<strong>How do I use tez engine?</strong>

set hive.execution.engine=tez

<strong>How do I download tez DAG data?</strong>

From commandline:

hadoop jar /usr/hdp/current/tez-client/tez-history-parser-*.jar org.apache.tez.history.ATSImportTool -downloadDir . -dagId &lt;DagId&gt;

From Ambari tez view:

Go to Ambari --&gt; Go to Tez view (hidden under tiles icon in upper right corner) --&gt; Click on the dag you are interested in --&gt; Click on Download data.

<strong>How do I get CrticalPath for a Tez DAG?</strong>

hadoop jar /usr/hdp/current/tez-client/tez-job-analyzer-*.jar CriticalPath --saveResults --dagId &lt;DagId&gt; --eventFileName &lt;DagData.zip&gt;

<strong>What are the other analyzers available for Tez DAG?</strong>

You can list all the available analyzers with hadoop jar /usr/hdp/current/tez-client/tez-job-analyzer-*.jar. Currently it has the following analyzers available:
<ul>
 	<li>ContainerReuseAnalyzer: Print container reuse details in a DAG</li>
 	<li>CriticalPath: Find the critical path of a DAG</li>
 	<li>LocalityAnalyzer: Print locality details in a DAG</li>
 	<li>ShuffleTimeAnalyzer: Analyze the shuffle time details in a DAG</li>
 	<li>SkewAnalyzer: Analyze the skew details in a DAG</li>
 	<li>SlowNodeAnalyzer: Print node details in a DAG</li>
 	<li>SlowTaskIdentifier: Print slow task details in a DAG</li>
 	<li>SlowestVertexAnalyzer: Print slowest vertex details in a DAG</li>
 	<li>SpillAnalyzer: Print spill details in a DAG</li>
 	<li>TaskAssignmentAnalyzer: Print task-to-node assignment details of a DAG</li>
 	<li>TaskConcurrencyAnalyzer: Print the task concurrency details in a DAG</li>
 	<li>VertexLevelCriticalPathAnalyzer: Find critical path at vertex level in a DAG</li>
</ul>
<strong>How do I kill an application?</strong>

From the command line:

yarn application -kill &lt;application_id&gt;

From the Yarn UI:

Go to Ambari --&gt; Yarn UI --&gt; click on application that you want to kill --&gt; Click on "kill application" towards top left.

This will kill any query that is being run as part of the Tez session also.

<strong>How do I check currently running application on the cluster?</strong>

yarn top

<strong>How to I export hive metastore and import it on new cluster?</strong>

Run the following where you want to export the metastore:

for d in `hive -e "show databases"`; do echo "create database $d; use $d;" &gt;&gt; alltables.sql ; for t in `hive --database $d -e "show tables"` ; do ddl=`hive --database $d -e "show create table $t"`; echo "$ddl ;" &gt;&gt; alltables.sql ; echo "$ddl" | grep -q "PARTITIONED\s*BY" &amp;&amp; echo "MSCK REPAIR TABLE $t ;" &gt;&gt; alltables.sql ; done; done

This will generate a allatables.sql file. Copy this file to new cluster and run the following on new cluster:

hive -f alltables.sql

This assumes that data path on new cluster are same as on old. If not, you can manually edit the generated alltables.sql file to reflect any changes.

<strong>How do I specify the database while starting hive?</strong>

hive -database &lt;databaseName&gt;

<strong>How do I specify a config or variable while starting hive?</strong>

hive -hiveconf a=b

<strong>How do I list all columns and their types for a table?</strong>

Within hive/beeline shell run desc &lt;tablename&gt;

<strong>How do I list all properties of a table?</strong>

Within hive/beeline shell run desc extended &lt;tablename&gt;. The output includes all the column names, their types, data format, compression properties, table statistics, columns statistics etc.

<strong>How do I disable mapjoin?</strong>

set hive.auto.convert.join=false

<strong>How do I decide which joins are converted to mapjoins?</strong>

set hive.auto.convert.join.noconditionaltask.size to value of the largest join you want to convert to mapjoin. For example, set hive.auto.convert.join.noconditionaltask.size=1000000 will convert all joins to mapjoins where hive "estimates" the sum of smallest n-1 tables in n-join is less then 1MB.

<strong>Does hive support Transactions?</strong>

Yes. Look <a href="https://cwiki.apache.org/confluence/display/Hive/Hive+Transactions">here</a>

<strong>How do I change the container size for hive on tez?</strong>

Set hive.tez.container.size to the desired value in MB. While changing the container size you should make sure that values of hive.tez.java.opts (0.8*hive.tez.container.size) and tez.runtime.io.sort.mb (0.4*hive.tez.container.size) are adjusted accordingly.

<strong>How do I turn off vectorization in hive?</strong>

set hive.vectorized.execution.enabled to false. Hive vectorization has been source of many many errors and usually the error trace when the query fails, has the vectorization operator name.

<strong>My cluster disk space is filled what do I do?</strong>

Go to Ambari -&gt; HDFS. Check the values of Disk Usage (DFS Used) and Disk Usage (Non DFS Used) and decide which one is taking most of the space on the cluster. If most data is used for,
<ol>
 	<li>DFS : You have lot of data on HDFS, which is consuming disk space. The solution is to delete the data from the HDFS that you no longer require. FOr example, you can use hdfs dfs -rm -r -skipTrash hdfs://mycluster/tmp to remove the /tmp HDFS directory.</li>
 	<li>Non DFS : You have lot of intermediate job data that is consuming the disk space. You have to kill the application(s) responsible for writing lots of data. You can check the values of FILE_BYTES_WRITTEN counter to infer which is the bad application(s). Once you have killed the bad application(s), the cluster should become healthy in few minutes. If you re-run the hive query without fixing it to not to produce large intermediate data, the cluster will again end up in the same situation. One of the very common example of queries which result into a cross join. If you do explain of the query, the cross join would be flagged as [WARNING].</li>
</ol>
In both cases, using a larger cluster or cluster with more disk spaces on nodes can help mitigate the problem for short time.

<strong>How do I use connect automatically when starting beeline?</strong>

beeline -u "jdbc:hive2://localhost:10001/;transportMode=http" -n &lt;usernmae&gt; -p &lt;password&gt;

<strong>How do I connect to a different database(mydb) when starting beeline?</strong>

beeline -u "jdbc:hive2://localhost:10001/mydb;transportMode=http" -n &lt;usernmae&gt; -p &lt;password&gt;

<strong>How do I set hive scrath directory?</strong>

set hive.exec.scratchdir=/tmp/hdiuser

<strong>How do I configure the trash interval for HDFS?</strong>

Trash interval decides how long the data deleted from HDFS is kept around. You can configure it with fs.trash.interval. The deleted data is kept under .Trash/Current directory on HDFS and can be restored from there.

<strong>How do I use <a href="https://www.hplsql.org/">Hplsql</a>?</strong>

Use /usr/hdp/current/hive-server2-hive2/bin/hplsql

<strong>How do I know version of various components?</strong>

hdp-select

<strong>How do I check the version of hadoop?</strong>

hadoop version should return detailed version information as follows:

Hadoop 2.7.3.2.5.2.1-1

Subversion git@github.com:hortonworks/hadoop.git -r f3d31dd3dc216fff8acd4da01075656131947e1d

Compiled by jenkins on 2016-11-07T18:55Z

Compiled with protoc 2.5.0

From source with checksum a6c8c64bfe734b01a46c7c480ebc7ff

This command was run using /usr/hdp/2.5.2.1-1/hadoop/hadoop-common-2.7.3.2.5.2.1-1.jar

<strong>How do I check if native compression codecs are properly setup?</strong>

hadoop checknative -a should list output similar to

Native library checking:

hadoop:  true /usr/hdp/2.5.2.1-1/hadoop/lib/native/libhadoop.so.1.0.0

zlib:    true /lib/x86_64-linux-gnu/libz.so.1

snappy:  true /usr/lib/x86_64-linux-gnu/libsnappy.so.1

lz4:     true revision:99

bzip2:   true /lib/x86_64-linux-gnu/libbz2.so.1

openssl: true /usr/lib/x86_64-linux-gnu/libcrypto.so

<strong>How do I dump metadata of an ORC file?</strong>

hive --orcfiledump &lt;path-to-ORC-file&gt;

<strong>How do I dump content of an ORC file?</strong>

hive --orcfiledump -d &lt;path-to-ORC-file&gt;

<strong>How do I specify the ORC compression?</strong>

orc.compress. Possible values are NONE, ZLIB and SNAPPY. ZLIB is a good default choice.

<strong>How do I specify ORC strip size?</strong>

orc.stripe.size

<strong>How do I specify ORC encoding strategy for integers?</strong>

hive.exec.orc.encoding.strategy. Possible values are SPEED and COMPRESSION.

<strong>Where can I find more information about Hive ORC configurations?</strong>

here : <a href="https://orc.apache.org/docs/hive-config.html">https://orc.apache.org/docs/hive-config.html</a>

<strong>How can I list all the effective configurations?</strong>

run set.

<strong>How do I get the query plan?</strong>

run explain followed by the query string.

<strong>How do I get machine readble query plan?</strong>

run explain formatted followed by the query string.

<strong>How do I get very detailed query plans?</strong>

run explain extended followed by the query string. This includes things like what partitions were pruned.

<strong>How do I know if the a perticular join in the query is a map join or a merge join?</strong>

The query plan will have Map Join Operator and Merge Join Operarator to indicate that.

<strong>How do I specify ORC split strategy?</strong>

set hive.exec.orc.split.strategy. Possible values are BI, ETL and HYBIRD.

<strong>Where are all hive configurations listed?</strong>

here : <a href="https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties">https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties</a>

&nbsp;

Credit <a href="https://dharmeshkakadia.github.io/">Dharmesh Kakadia</a> for helping capture commonly asked questions]]></content:encoded>
    </item>
    <item>
      <title>HDInsight: How to enable Oozie UI in Ambari</title>
      <link>https://docs.microsoft.com/archive/blogs/ashish/hdinsight-how-to-enable-oozie-ui-in-ambari</link>
      <pubDate>Thu, 01 Mar 2018 06:31:44 GMT</pubDate>
      <dc:creator><![CDATA[AshishThapliyal]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/ashish/?p=2185</guid>
      <description><![CDATA[Oozie UI can be accessed by creating an Oozie view in Ambari
1.        Go the cluster Ambari...]]></description>
      <content:encoded><![CDATA[Oozie UI can be accessed by creating an Oozie view in Ambari
1.        Go the cluster Ambari dashboard
2.        Click on Admin -&gt; manage Ambari
3.        On the left click on views
4.        Expand WORKFLOW_MANAGER and press Create Instance
5.        Fill in the details for name and description
6.        Press Save
7.        This will show a permission section at the end. Check all that apply
8.        In the same window go to the grid next to the admin window and select the name you just chose as the display name]]></content:encoded>
    </item>
    <item>
      <title>Enable text caching in HDInsight Interactive Query Cluster to get super-fast performance with text data</title>
      <link>https://docs.microsoft.com/archive/blogs/ashish/enable-text-caching-in-hdinsight-interactive-hive-cluster-to-get-super-fast-performance-with-text-data</link>
      <pubDate>Thu, 04 Jan 2018 05:25:45 GMT</pubDate>
      <dc:creator><![CDATA[AshishThapliyal]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/ashish/?p=2166</guid>
      <description><![CDATA[From Ambari, put these configs in to custom hive-site section and then restart LLAP from Ambari –...]]></description>
      <content:encoded><![CDATA[From Ambari, put these configs in to custom hive-site section and then restart LLAP from Ambari –
 
hive.llap.cache.allow.synthetic.fileid=true
hive.vectorized.use.vector.serde.deserialize=true
hive.vectorized.use.row.serde.deserialize=true
hive.llap.io.encode.enabled=true
 ]]></content:encoded>
    </item>
  </channel>
</rss>