TheDeveloperBlog.com

Home | Contact Us

C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML

Pig Installation

Apache Pig Installation for beginners and professionals with examples on hive, pig, hbase, hdfs, mapreduce, oozie, zooker, spark, sqoop

<< Back to PIG

Apache Pig Installation

In this section, we will perform the pig installation.

Pre-requisite

  • Java Installation - Check whether the Java is installed or not using the following command.
$java -version
  • Hadoop Installation - Check whether the Hadoop is installed or not using the following command.
$hadoop version

If any of them is not installed in your system, follow the below link to install it. Click Here to Install

Steps to install Apache Pig

$ tar -xvf pig-0.16.0.tar.gz
  • Open the bashrc file.
$ sudo nano ~/.bashrc
  • Now, provide the following PIG_HOME path.
export PIG_HOME=/home/hduser/pig-0.16.0
export PATH=$PATH:$PIG_HOME/bin
Pig Installation
  • Update the environment variable
$ source ~/.bashrc
  • Let's test the installation on the command prompt type
$ pig -h
  • Let's start the pig in MapReduce mode.
$ pig
Next TopicPig Run Modes




Related Links:


Related Links

Adjectives Ado Ai Android Angular Antonyms Apache Articles Asp Autocad Automata Aws Azure Basic Binary Bitcoin Blockchain C Cassandra Change Coa Computer Control Cpp Create Creating C-Sharp Cyber Daa Data Dbms Deletion Devops Difference Discrete Es6 Ethical Examples Features Firebase Flutter Fs Git Go Hbase History Hive Hiveql How Html Idioms Insertion Installing Ios Java Joomla Js Kafka Kali Laravel Logical Machine Matlab Matrix Mongodb Mysql One Opencv Oracle Ordering Os Pandas Php Pig Pl Postgresql Powershell Prepositions Program Python React Ruby Scala Selecting Selenium Sentence Seo Sharepoint Software Spellings Spotting Spring Sql Sqlite Sqoop Svn Swift Synonyms Talend Testng Types Uml Unity Vbnet Verbal Webdriver What Wpf