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 8818127
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T05:01:27+00:00 2026-06-14T05:01:27+00:00

I am getting the following error when I try to run pig -help. Exception

  • 0

I am getting the following error when I try to run pig -help.

Exception in thread "main" java.io.IOException: Permission denied
    at java.io.UnixFileSystem.createFileExclusively(Native Method)
    at java.io.File.checkAndCreate(File.java:1717)
    at java.io.File.createTempFile0(File.java:1738)
    at java.io.File.createTempFile(File.java:1815)
    at org.apache.hadoop.util.RunJar.main(RunJar.java:115)

Here is my configuration-
Apache Hadoop – 1.0.3
Apache Pig – 0.10.0
OS – Ubuntu 64-bit

User for whom the error is seen – “sumod” this is an admin level account. I have also created directory for him in the HDFS.
User for whom this error is NOT seen – “hadoop”. I have created this user for hadoop jobs. He is not an admin user. But he belongs to “supergroup” on HDFS.
The paths are properly set for both the users.
I do not have to start hadoop while running “pig -help” command. I only want to make sure that Pig is installed properly.
I am following Apache doc and my understanding is that I do not have to be hadoop user to run Pig and I can be a general system user.

Why am I getting these errors? What am I doing wrong?

  • 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-14T05:01:28+00:00Added an answer on June 14, 2026 at 5:01 am

    Please check the permissions of the directory where the pigscript is placed.

    Whenever a pigscript is executed, errors are logged in a log file, which is written in your present working directory.

    Assume your pigscript is in dir1 and your pwd is dir2 and since you are executing as user sumod; sumod should have write permissions in dir2.

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

Sidebar

Related Questions

I'm getting the following error when I try to run a simple Java JDBC
I am getting following error when try to run the above command 'Program Files\java\jdk1.5.0_22\bin>keytool
When i try and run at server i am getting the following severe error:
I am getting the following error when I am trying to run a java
I am getting the following error when try to run make: Makefile:1: *** missing
I've just installed play-2.0 and keep getting the following error when I try run
I'm getting the following error when I try to run a jsp page with
I am getting the following error if I try to run the ASP.NET 4.0
I am getting the following error, when I try to run my application: uninitialized
I am getting the following error when I try to run jgr-x64.exe on Windows

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.