Blog Archives
1 … 7 8 9 10 11 12 13

19: Docker Tutorial: Apache Spark SQL – on Cloudera quickstart

This extends Docker Tutorial: BigData on Cloudera quickstart via Docker.

Step 1: Run the container on a command line.

Create a .csv in HDFS

Step 2: Create a csv file “employee.csv” in the local file system.

…

Read more ›



2. Apache Pig: Regex (Regular expressions)

This extends the tutorial 1. Apache Pig Getting started.

Input Data

scores.xml in folder:/Users/arulk/projects representing marks of 4 students in 3 subjects:

Step 1: Start pig in local file system mode.

…

Read more ›



2. Hadoop MapReduce Basic Tutorial

This extends the Part 1 tutorial 1. Hadoop MapReduce Basic Tutorial. The key difference of this tutorial is using a “TextInputFormat” instead of “KeyValueTextInputFormat“.

TextInputFormat reads

The key as line offset number starting from 0 and the values as “Science,

…

Read more ›



2. HBase Shell commands

This extends 1. HBase Tutorial Getting Started. You can learn HBase basics at HBase interview Questions & Answers.

Step 1: Unlike relational databases, the NoSQL databases are semi-structured, hence you can add new columns on the fly. In HBase, you can define the table name and the column family first and then new columns for a column family can be added programmatically on the fly.

…

Read more ›



20: Databricks – Spark ML K-Means

Prerequisite: Extends Databricks – Spark ML Random Forrest Classifier. Q. What is K-Means algorithm? A. K-Means is an unsupervised algorithm, hence it does only have “features“, … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


20: Docker Tutorial: Apache Spark (spark-submit) in Java on Cloudera quickstart

This extends Docker Tutorial: BigData on Cloudera quickstart via Docker. Step 1: Run the container on a command line.

Step 2: Java is already installed as part of the “cloudera/quickstart” docker image.

update-alternatives If you have multiple versions or installations of Java, … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


21: Databricks – Spark ML Naive Bayes

Prerequisite: Extends 16: Databricks – Spark ML Multiclass Logistic Regression & Pipeline. Problem statement: Predict the iris flower species based on its sepal & petal length & width. Independent Variables (aka features): sepal length in cm, … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


21: Docker Tutorial: Apache Spark (spark-submit) in Scala on Cloudera quickstart

Extends 20: Docker Tutorial: Apache Spark-submit in Java – on Cloudera quickstart, and Docker Tutorial: BigData on Cloudera quickstart via Docker. Step 1: Run the container on a command line.

Install Java 8 Step 2: Install Java 8. … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


22: Docker Tutorial: Apache Spark (spark-submit) in Python 2.6 on Cloudera quickstart

Extends 20: Docker Tutorial: Apache Spark-submit in Java – on Cloudera quickstart, and Docker Tutorial: BigData on Cloudera quickstart via Docker. Step 1: Run the container on a command line.

Python version Step 2: The cloudera/quickstart comes with Python 2.6. … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


22: Writing Tests in Databricks Notebooks in Python

Prerequisite: Extends 03: Databricks – Spark SCD Type 1. Note: databricks-connect let’s you connect your favourite IDE to your Databricks cluster. This allows you to lint, test, and package the code that you want to run on Databricks as explained in Enhance Your Databricks Workflow. … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


23: Docker Tutorial: Apache Spark (spark-submit) in Python 3 with virtual env on Cloudera quickstart

Prerequisite: Docker is installed on your Windows or Mac, and you have a basic understanding of Docker. Docker tutorials step by step | Hadoop, Hive, Impala & Spark on Cloudera quickstart on Docker tutorials

Step 1: Pull the modified image “gdancik/cloudera”

…

Read more ›



23: PySpark Delta Lake on Databricks notebook

Prerequisite: Databricks – Spark SCD Type 1. Delta Lake bring features like ACID Transactions, Scalable metadata, time travel, etc to a Data Lake. Databricks notebook has delta-spark package preinstalled. … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


24: Docker Tutorial: HBase (i.e. NoSQL DB) Shell on Cloudera quickstart

This extends Docker Tutorial: BigData on Cloudera quickstart via Docker. Step 1: Run the container on a command line.

hbase cli We are going to focus on “shell” command to create a table, column-families, and columns, … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


1 … 7 8 9 10 11 12 13

300+ Java Interview Questions - FAQs

Tutorials on Java & Big Data