Hive-Based Analytics Pipeline for Titanic Survival Data
Connect to the Hive metastore using Beeline:
./beeline -u jdbc:hive2://node2:10000 -n root -p
Initialize the analytics environment:
CREATE DATABASE IF NOT EXISTS maritime_analytics;
USE maritime_analytics;
Establish an external staging table pointing to HDFS storage:
CREATE EXTERNAL TABLE external_titanic_stage (
pid INT,
survived_fla ...
Posted on Thu, 17 Sep 2026 15:59:40 +0000 by alapimba
Apache Hive Data Import and Export Operations
Apache Hive serves as a data warehouse infrastructure built on top of Hadoop, enabling the summarization, querying, and analysis of large datasets. A critical aspect of managing this data involves transferring it efficient between Hive and external systems. This guide outlines the primary methods for importing data into Hive tables and exportin ...
Posted on Tue, 15 Sep 2026 16:24:49 +0000 by Springroll
Interacting with HDFS Using Python via PyHDFS
Hadoop Distributed File System (HDFS) can be accessed programmatically through various client libraries. While Java provides native APIs, Python developers often use the PyHDFS library to interact with HDFS efficiently.
Setting Up PyHDFS
To begin, enstall the PyHDFS package using pip:
pip install PyHDFS
Basic Operations with PyHDFS
The followi ...
Posted on Sun, 06 Sep 2026 16:27:54 +0000 by DanDaBeginner
MapReduce Global Sort Example with IntWritable Keys
MapReduce performs an implicit distributed sort before data reaches each reducer. The following walk-through shows how to exploit this feature to globally order a dataset by an integer column.
Shuffle & Sort Internals
The framework guarantees that every reducer receives its partition already sorted by key. The steps below highlight the crit ...
Posted on Mon, 31 Aug 2026 16:00:00 +0000 by corillo181
Practical Guide to HBase Database Programming
This laboratory exercise focuses on practical HBase database operations, covering both command-line interfaces and Java programming implementations. You will learn how to perform essential database administration tasks, transform relational data structures for NoSQL storage, and develop Java applications that interact with HBase clusters.
Learn ...
Posted on Sun, 30 Aug 2026 16:46:49 +0000 by Entanio
Building a Hadoop+Spark+Zookeeper+HBase+Hive Cluster: Complete Setup Guide
Environment Overview
Cluster Architecture
This cluster uses three machines configured as master-slave topology. The following table summarizes the hardware specificasions:
Node
Role
CPU Cores
RAM
Disk Space
master
NameNode + ResourceManager
4
16GB
500GB
slave1
DataNode + NodeManager
4
16GB
500GB
slave2
DataNode + NodeManager
4
16GB
5 ...
Posted on Mon, 27 Jul 2026 16:51:19 +0000 by qaokpl
Setting Up a Standalone Hadoop Environment on CentOS 6.8
Environment Choices
Server Selection
Cloud provider: Alibaba Cloud (pay-as-you-go entry tier)
Operating system: Linux CentOS 6.8
CPU: 1 core
Memory: 1 GB
Disk: 40 GB
Public IP: 39.108.77.250
Software Versions
JDK: 1.8 (jdk-8u144-linux-x64.tar.gz)
Hadoop: 2.8.2 (hadoop-2.8.2.tar.gz)
Download Locations
Official sources:
JDK: http://www.ora ...
Posted on Thu, 02 Jul 2026 16:41:27 +0000 by troublemaker
Understanding Hive, HBase, and HDFS in the Hadoop Ecosystem
Hive, HBase, and HDFS serve distinct but complementary roles in the Hadoop architecture—each addressing different data access patterns and storage requirements.
Hive: SQL Abstraction Over Batch Processing
Hive is a data warehousing infrastructure built atop Hadoop that translates declarative SQL-like queries (HiveQL) into distributed batch jobs ...
Posted on Sun, 21 Jun 2026 17:35:21 +0000 by drbigfresh
Hive Fundamentals and Core Concepts
Hive Introduction
What is Hive?
Hive is an open-source data warehouse solution originally developed by Facebook that operates on Hadoop infrastructure
It provides SQL-like query capabilities (HQL) for structured data stored in HDFS
Core functionality involves translating SQL queries into MapReduce jobs
Primary use case: batch data analytics wi ...
Posted on Mon, 15 Jun 2026 18:24:52 +0000 by bobbfwed
Troubleshooting HBase Snapshot Reads with LZO Compression
Issue 1: UnsatisfiedLinkError to gplcompression
When attempting to read HBase snapshot data, the following error occurs:
java.lang.UnsatisfiedLinkError: no gplcompression in java.library.path
at com.hadoop.compression.lzo.GPLNativeCodeLoader.<clinit>(GPLNativeCodeLoader.java:31)
at com.hadoop.compression.lzo.LzoCodec.<clinit> ...
Posted on Sun, 14 Jun 2026 16:47:10 +0000 by zMastaa