All Projects → Azure → Hadoop-Migrations

Azure / Hadoop-Migrations

Licence: MIT license
Hadoop Migrations to Azure

Programming Languages

Bicep
55 projects
shell
77523 projects

EHMA - Enabling Hadoop Migration on Azure

Contributors: Namrata Maheshwary, Ram Yerrabotu, Daman Kaur, Hideo Takagi, Amanjeet Singh, Raja N, Ram Baskaran, Pawan Hosatti, Ben Sadeghi, Sunil Sattiraju, Danny Liu, Nagaraj Seeplapudur Venkatesan, Jose Mendez, Eugene Chung.

Brief introduction to Apache Hadoop

Hadoop provides a distributed file system and a framework for the analysis and transformation of very large data sets using the MapReduce paradigm. An important characteristic of Hadoop is the partitioning of data and computation across many (thousands) of hosts, and executing application computations in parallel close to their data. A Hadoop cluster scales computation capacity, storage capacity and IO bandwidth by simply adding commodity hardware. The key components of an Hadoop system include-

EHMA- Enabling Hadoop Migrations on Azure

Enabling quicker, easier and efficient Hadoop migrations hence making Azure as the preferred cloud while migrating Hadoop workloads.This guide recognizes that Hadoop provides an extensive ecosystem of services and frameworks. This guide is not intended to be a definitive document that describes components of the Hadoop ecosystem in detail, or how they are implemented on Azure. Rather, this guide focuses on specific guidance and considerations you can follow to help move your existing platform/infrastructure -- On-Premises and Other Cloud like AWS to Azure.

End State Reference Architecture

One of the challenges while migrating workloads from on-premises Hadoop to Azure is having the right deployment done which is aligning with the desired end state architecture and the application. With this bicep project we are aiming to reduce a significant effort which goes behind deploying the PaaS services on Azure and having a production ready architecture up and running.

We will be looking at the end state architecture for big data workloads on Azure PaaS listing all the components deployed as a part of bicep template deployment. With Bicep we also have an additional advantage of deploying only the modules we prefer for a customised architecture. In the later sections we will cover the pre-requisites for the template and different methods of deploying the resources on Azure such as One-click, Azure CLI, Github Actions and DevOps Pipeline.

See Reference Architecture Deployment for more information.

Target States

image

Component Description Decision Flow/Flowchats Targeted Azure Services
Apache HDFS Distributed File System Planning the data migration , Pre-checks prior to data migration Azure Data Lake Storage gen2
Apache HBase Column-oriented table service Choosing landing target for Apache HBase , Choosing storage for Apache HBase on Azure HBase on VM, HDInsight, Cosmos DB
Apache Spark Data processing Framework Choosing landing target for Apache Spark on Azure HDInsight, Synapse, Databricks
Apache Hive Datawarehouse infrastructure Choosing landing target for Hive, Selecting target DB for hive metadata Hive on VM, HDInsight, Synapse
Apache Ranger Frame work to monitor and manage Data secuirty HDInsight Enterprise Security Package, Azure AD, Ranger on VM
Apache Sentry Frame work to monitor and manage Data secuirty Choosing landing Targets for Apache Sentry on Azure Sentry/Ranger on VM, HDInsight Engerprise Security Package, Azure AD
Apache MapReduce Distributed computation framework MapReduce, Spark
Apache Zookeeper Distributed coordination service ZooKeeper on VM, Built-in solution in PaaS
Apache YARN Resource manager for Hadoop ecosystem YARN on VM, Built-in solution in PaaS
Apache Storm Distributed real-time computing system Choosing landing targets for Apache Storm on Azure Storm/Flink/etc on VM. Stream Analytics, Spark Streaming on HDInsight/Databricks, Functions
Apache Sqoop Command line interface tool for transferring data between Apache Hadoop clusters and relational databases Choosing landing targets for Apache Sqoop on Azure Sqoop on VM, Sqoop on HDInsight, Data Factory
Apache Kafka Highly scalable fault tolerant distributed messaging system Choosing landing targets for Apache Kafka on Azure Kafka on VM, Event Hub for Kafka, HDInsight
Apache Atlas Open source framework for data governance and Metadata Management Purview

Modernize(Azure Synapse Analytics & Azure Databricks)

image

Lift and Shift(HDInsight)

image

For more information Refer the Guide to migrating Big Data workloads to Azure HDInsight

Lift and Shift(IaaS)

The following pattern presents a point of view on how to deploy OSS on Azure IaaS with a tight integration back to a customer's on-premises systems such as Active Directory; Domain Controller; DNS etc. The deployment follows Enterprise Scale Landing Zone guidance from Microsoft where management capabilities such as monitoring; security; governance; networking etc. are hosted within a management subscription. The workloads (all IaaS-based) are hosted in a separate subscription. Enterprise Scale Landing Zones (ESLZ) guidance is covered in details here.

image

  1. On-premises AD will synchronize with Azure AD (AAD) using AD Connect hosted on-premises.

  2. ExpressRoute provides secure and private network connectivity between on-premises and Azure.

  3. Management (or hub) subscription provides networking and management capabilities for the deployment. This pattern is in line with Enterprise Scale Landing Zones (ESLZ) guidance from Microsoft.

  4. The services hosted inside hub subscription provide network connectivity and management capabilities.

    • NTP (hosted on Azure VM) is required to keep the clocks across all the virtual machines synchornized. In the context of various applications (such as HBase, ZooKeeper etc.), it is recommended that you run a Network Time Protocol (NTP) service, or another time-synchronization mechanism on your cluster and that all nodes look to the same service for time synchronization. Instructions for setting up NTP on Linux are available here.

    • Azure Network Watcher provides tools to monitor, diagnose, view metrics, and enable or disable logs for resources in an Azure virtual network. Network Watcher is designed to monitor and repair the network health of IaaS (Infrastructure-as-a-Service) products which includes Virtual Machines, Virtual Networks, Application Gateways, Load balancers, etc.

    • Azure Advisor analyzes your resource configuration and usage telemetry and then recommends solutions that can help you improve the cost effectiveness, performance, Reliability (formerly called High availability), and security of your Azure resources.

    • Azure Monitor provides a comprehensive solution for collecting, analyzing, and acting on telemetry from your cloud and on-premises environments. This information helps you understand how your applications are performing and proactively identify issues affecting them and the resources they depend on.

    • Log Analytics Workspace is a unique environment for Azure Monitor log data. Each workspace has its own data repository and configuration, and data sources and solutions are configured to store their data in a particular workspace. You require a Log Analytics workspace if you intend on collecting data from the following sources:

      • Azure resources in your subscription
      • On-premises computers monitored by System Center Operations Manager
      • Device collections from Configuration Manager
      • Diagnostics or log data from Azure storage
    • Azure DevOps Self-Hosted Agent hosted on Azure VM Scale-Sets (VMSS) gives you flexibility over the size and the image of machines on which agents run. You specify a virtual machine scale set, a number of agents to keep on standby, a maximum number of virtual machines in the scale set, and Azure Pipelines manages the scaling of your agents for you.

  5. Azure Active Directory (AAD) tenant is synchronized with on-premises AD via AD Connect (1).

  6. Azure AD Domain Services (AAD DS) provides LDAP and Kerberos capabilities on Azure. When you first deploy Azure AD DS, an automatic one-way synchronization is configured and started to replicate the objects from Azure AD. This one-way synchronization continues to run in the background to keep the Azure AD DS managed domain up-to-date with any changes from Azure AD. No synchronization occurs from Azure AD DS back to Azure AD.

  7. Services such as Azure DNS,Azure Security Center and Azure Key Vault sit inside the management subscription and provide service/IP address resolution; unified infrastructure security management system and certificate/key management capabilities resptively.

  8. Virtual Network Peering provides connectivity between VNETs deployed in two subscriptions - management (hub) and workload (spoke).

  9. In line with ESLZ, Workload subscription is used for hosting application workloads.

  10. ADLS Gen2 is a set of capabilities dedicated to big data analytics, built on Azure Blob storage. In context of big data workloads, ADLS Gen2 can be used as secondary storage for Hadoop. Data written to ADLS Gen2 can be consumed by other Azure services independent of Hadoop framework.

  11. Big data workloads are hosted on a set of independent Azure virtual machines. Please refer to guidance for Hadoop, HBase, Hive, Rangerand Spark on Azure IaaS for more information.

  12. Azure DevOps Services is a SaaS offering from Microsoft and provides an integrated set of services and tools to manage your software projects, from planning and development through testing and deployment.

Glossary of Terms and Acronyms

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's_Trademark_&_Brand_Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This repo is adhering to Microsoft documentation standards. Please make sure that you use Visual Studio Code for alterations and have the Azure Docs Extension installed. Please refer to Docs Authoring Pack for VS Code on how to use this extension and the Microsoft Writing Style Guide.

Final Note

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].