⚙️
Setting Up Cloudera Data Platform(CDP)
  • CDP Overview
  • Why CDP?
  • CDP Services
  • Setting up Google Cloud Platform(GCP) for Cloudera
  • Creating User
  • Configuring Network Settings
  • Configuring Oracle Java
  • Installing Server
  • Configuring MySQL
  • Set Firewall rule on GCP
  • Cloudera Data Platform Installation
  • Working with Cloudera Manager
  • Set Up a Cluster
  • Testing Your Hadoop Installation
  • Installing Hive
  • Hive Validation
  • Deploying Spark 2.4
  • Running Job on Apache Spark2
  • Installing Kafka
  • Kafka Validation
  • Common Warnings and Errors
Powered by GitBook
On this page

Testing Your Hadoop Installation

You will now test the Hadoop installation in center machine by uploading some data from local machine.

  • Git clone “hadoop-admin” file

sudo yum install git -y
git clone https://github.com/datacouch16/hadoop-admin.git
  • Upload hadoop-admin/data/sherlock.txt / in HDFS.

cd hadoop-admin/data
hdfs dfs -mkdir data/
hdfs dfs -put sherlock.txt data/
  • Verify that the file is now in HDFS.

In Cloudera Manager choose Clusters > HDFS. Then click on File Browser.

Browse into tmp and confirm that sherlock.txt appears.

hdfs dfs -ls data/
PreviousSet Up a ClusterNextInstalling Hive

Last updated 3 years ago