Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8862331
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T15:42:11+00:00 2026-06-14T15:42:11+00:00

I just started learning Hadoop and PIG (from last two days!) for one of

  • 0

I just started learning Hadoop and PIG (from last two days!) for one of my future project.

For experiments I’ve installed Hadoop (HDFS on default localhost:9000) as pseudo distributed mode and PIG (map-reduce mode).

When I initialized PIG by typing ./bin/pig command it launched GRUNT command line and I got message that pig connected with HDFS (localhost:9000), later I could successfully able to access HDFS thru pig.

I was expecting to perform some manual configuration for PIG to access HDFS (as per various internet articles).

My question is, from where PIG identified default HDFS configuration (localhost:9000)? I checked pig.properties but I didn’t find anything there. I need this info as I might change default HDFS configuration in future.

BTW, I have HADOOP_HOME and PIG_HOME defined in my OS PATH variable.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T15:42:12+00:00Added an answer on June 14, 2026 at 3:42 pm

    When installing Pig (I assume v0.10.0) you have to tell how it will connect to the HDFS.
    I don’t know how you did this but generally this is done by adding the hadoop conf dir path to the PIG_CLASSPATH environment variable. You can also set HADOOP_CONF_DIR as well.

    If you are starting the grunt shell Pig will locate the directory of the Hadoop configuration XMLs, and takes the value of fs.default.name (core-site.xml) and mapred.job.tracker (mapred-site.xml) , i.e: the location of the Namenode and JobTracker.

    For reference you may have a look at the Pig shell script to see how env. variables are collected and evaluated.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just started learning C# and started with Windows Forms project. When I try
I just started learning Common Lisp a few days ago, and I'm trying to
I just started learning C++ (coming from Java ) and am having some serious
I'm just getting started with learning Hadoop, and I'm wondering the following: suppose I
I just started learning Python a couple of days ago as my first language
I just started learning C++(coming from Java & Python) and am trying to learn
I just started learning SQL a couple of days ago, and I'm trying to
I just started learning C++ and I wrote this sample program from the text
I just started learning objective c and iphone development. Coming from an asp.net and
i just started learning assembly and making some custom loop for swapping two variables

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.