The Programmers Book

Month: July 2018


In this Study, we are going to study how to clean the scala console, exit from console and help commands Clean console Press Ctrl+L .. then it will be cleared. Exit Console. Type as :q Type as :quit Press Ctrl+C Read more…


Go to Scala . Type the following . Testing the following .. Expressions Expressions are computable statements. 1 + 1 You can output results of expressions using println. println(1) // 1 println(1 + 1) // 2 println(“Hello!”) // Hello! println(“Hello,” Read more…


You can run Scala in your browser with ScalaFiddle. Go to scalafiddle. Paste println(“Hello, world!”) in the left pane. Hit “Run” button. Output appears in the right pane. This is an easy, zero-setup way to experiment with pieces of Scala Read more…


First, make sure you have the Java 8 JDK installed. To check, open the terminal and type: java -version(Make sure you have version 1.8.) Download the Scala With the following link. Scala Download you will find the following . click Read more…


Hive Installation With MySQL Database Metastore NOTE Hive versions 1.2 onward require Java 1.7 or newer. Hive versions 0.14 to 1.1 work with Java 1.6 as well. Hadoop 2.x (preferred), 1.x (not supported by Hive 2.0.0 onward). Hive versions up Read more…


Pre Requirements 1) A machine with Ubuntu 14.04 LTS operating system 2) Apache Hadoop 2.6.4 pre installed 3) Apache Hive 2.1.0 Software (Download Here) Hive Installation With Pre Built Derby Database NOTE Hive versions 1.2 onward require Java 1.7 or Read more…


Pre Requirements 1) A machine with Ubuntu 14.04 LTS operating system 2) Apache Hadoop 2.6.4 pre installed 3) Apache Pig 0.15.0 Software (Download Here) Pig Installation Installation Steps Step 1 – Creating pig directory. Open a new terminal(CTRL + ALT Read more…


Sqoop List-Tables Command With Example This post describes how to list out the tables of a particular database in MySQL database server using Sqoop. Sqoop list-tables tool parses and executes the ‘SHOW TABLES’ query against a particular database. Thereafter, it Read more…


Sqoop List-Databases Command With Example This post describes how to list out the databases using Sqoop. Sqoop list-databases tool parses and executes the ‘SHOW DATABASES’ query against the database server. Thereafter, it lists out the present databases on the server. Read more…


Sqoop Eval Command With Example This post describes how to use the Sqoop ‘eval’ tool. It allows users to execute user-defined queries against respective database servers and preview the result in the console. So, the user can expect the resultant Read more…