

It is the core component in a Hadoop ecosystem for processing data. MapReduce is the heart of the Hadoop framework. Dynamic allocation of cluster resources.It works with NodeManager(s) for executing and monitoring the tasks. The ApplicationMaster negotiates resources from the ResourceManager. Each slave DataNode has its own NodeManager for executing tasks. ResourceManager interacts with NodeManagers. ResourceManager is the central master node responsible for managing all processing requests. YARN consists of ResourceManager, NodeManager, and per-application ApplicationMaster. YARN sits in between the HDFS and MapReduce. It is designed to split the functionality of job scheduling and resource management into separate daemons. Yet Another Resource Negotiator (YARN) manages resources and schedules jobs in the Hadoop cluster. They are in-expensive commodity hardware responsible for performing processing. DataNode: There are multiple DataNodes in the Hadoop cluster. It keeps the meta-data about the data blocks like locations, permissions, etc.

NameNode: NameNode is the master node in HDFS architecture.

HDFS consists of two daemons, that is, NameNode and DataNode.Ī. It is a java based distributed file system that provides distributed, fault-tolerant, reliable, cost-effective and scalable storage. HDFs stores data of any format either structured, unstructured or semi-structured. HDFS enables Hadoop to store huge amounts of data from heterogeneous sources. It serves as a backbone for the Hadoop framework. Hadoop Distributed File System is a core component of the Hadoop ecosystem. Hadoop is known for its distributed storage (HDFS). GameBtn9 = Button(tk, text=' ', font='Arial', bg='black', fg='white', height=5, width=10, command=lambda: btnClick(gameBtn9)) GameBtn8 = Button(tk, text=' ', font='Arial', bg='black', fg='white', height=5, width=10, command=lambda: btnClick(gameBtn8)) GameBtn7 = Button(tk, text=' ', font='Arial', bg='black', fg='white', height=5, width=10, command=lambda: btnClick(gameBtn7)) GameBtn6 = Button(tk, text=' ', font='Arial', bg='black', fg='white', height=5, width=10,command=lambda: btnClick(gameBtn6)) GameBtn5 = Button(tk, text=' ', font='Arial', bg='black', fg='white', height=5, width=10, command=lambda: btnClick(gameBtn5)) GameBtn4 = Button(tk, text=' ', font='Arial', bg='black', fg='white', height=5, width=10, command=lambda: btnClick(gameBtn4)) GameBtn3 = Button(tk, text=' ',font='Arial', bg='black', fg='white', height=5, width=10, command=lambda: btnClick(gameBtn3)) GameBtn2 = Button(tk, text=' ', font='Arial', bg='black', fg='white', height=5, width=10, command=lambda: btnClick(gameBtn2)) GameBtn1 = Button(tk, text=" ", font='Arial', bg='black', fg='white', height=5, width=10, command=lambda: btnClick(gameBtn1)) Label = Label( tk, text="Player 2:", font='Arial', bg='white', fg='black', height=1, width=8) Label = Label( tk, text="Player 1:", font='Arial', bg='white', fg='black', height=1, width=8) GameBtn7 = 'O' and gameBtn6 = 'O' and gameBtn9 = 'O'): GameBtn2 = 'O' and gameBtn5 = 'O' and gameBtn8 = 'O' or GameBtn1 = 'O' and gameBtn4 = 'O' and gameBtn7 = 'O' or GameBtn1 = 'O' and gameBtn2 = 'O' and gameBtn3 = 'O' or GameBtn3 = 'O' and gameBtn5 = 'O' and gameBtn7 = 'O' or GameBtn1 = 'O' and gameBtn5 = 'O' and gameBtn9 = 'O' or GameBtn7 = 'O' and gameBtn8 = 'O' and gameBtn9 = 'O' or GameBtn4 = 'O' and gameBtn5 = 'O' and gameBtn6 = 'O' or ("Tic-Tac-Toe", "It's a Tie")Įlif (gameBtn1 = 'O' and gameBtn2 = 'O' and gameBtn3 = 'O' or GameBtn7 = 'X' and gameBtn6 = 'X' and gameBtn9 = 'X'): GameBtn2 = 'X' and gameBtn5 = 'X' and gameBtn8 = 'X' or

GameBtn1 = 'X' and gameBtn4 = 'X' and gameBtn7 = 'X' or GameBtn1 = 'X' and gameBtn2 = 'X' and gameBtn3 = 'X' or GameBtn3 = 'X' and gameBtn5 = 'X' and gameBtn7 = 'X' or GameBtn1 = 'X' and gameBtn5 = 'X' and gameBtn9 = 'X' or GameBtn7 ='X' and gameBtn8 = 'X' and gameBtn9 = 'X' or GameBtn4 = 'X' and gameBtn5 = 'X' and gameBtn6 = 'X' or If (gameBtn1 = 'X' and gameBtn2 = 'X' and gameBtn3 = 'X' or Code: #Defining conditions for winning the game:
