Durga Gadiraju

Object Oriented Concepts – Case Classes

As part of this topic, we will cover Case Classes in Scala Case Class Case classes can be pattern matched Case classes automatically define hashcode and equals Case classes automatically define getter methods for the constructor arguments(if we use var in the argument). Example case class Order(var orderId:Int,var orderDate:String,var orderCustomerId:Int,var orderStatus:String) { println(“I am inside …

Object Oriented Concepts – Case Classes Read More »

Object Oriented Concepts – Classes

In this topic we will see Object Oriented Concepts – Classes Defining a class To define a class in Scala we declare keyword class in front of identifier. Class names should be capitalized.syntax class className Example class Order(orderId: Int, orderDate: String, orderCustomerId: Int, orderStatus: String) { println(“I am inside Order Constructor”) } Disassemble and Decompile Scala code Use the javap command …

Object Oriented Concepts – Classes Read More »

Functions

In this topic, we will see what are Functions and Anonymous Functions. Functions Let us understand more about Functions in Scala. A function is a group of statements that perform a task We need to give function name, arguments and argument types for regular functions Functions are expressions (not statements) Functions can be returned, passed …

Functions Read More »

Install the Cluster

Demonstrate an understanding of the installation process for Cloudera Manager, CDH, and the ecosystem projects. Set up a local CDH Repository Perform OS-level configuration for Hadoop installation Install Cloudera Manager Server and Agents Install CDH using Cloudera Manager Add a New Node to an Existing Cluster Add a Service using Cloudera Manager