Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
MapReduce, mail # user - Problem while running simple WordCount program(hadoop-1.0.4) on eclipse.


+
Khaleel Khalid 2013-05-10, 11:32
+
Nitin Pawar 2013-05-10, 11:54
Copy link to this message
-
Re: Problem while running simple WordCount program(hadoop-1.0.4) on eclipse.
shashwat shriparv 2013-05-12, 17:42
the user through which you are running your hadoop, set permission to tmp
dir for that user.

*Thanks & Regards    *


Shashwat Shriparv

On Fri, May 10, 2013 at 5:24 PM, Nitin Pawar <[EMAIL PROTECTED]>wrote:

> What are the permission of your /tmp/ folder?
> On May 10, 2013 5:03 PM, "Khaleel Khalid" <[EMAIL PROTECTED]>
> wrote:
>
>>  Hi all,
>>
>> I am facing the following error when I run a simple WordCount
>> program using hadoop-1.0.4 on eclipse(Galileo).  The map/reduce plugin
>> version I use is 1.0.4 as well.  It would be really helpful if
>> someone gives me a solution for the problem.
>>
>> ERROR:
>>
>> 13/05/10 16:53:51 WARN util.NativeCodeLoader: Unable to load
>> native-hadoop library for your platform... using builtin-java classes where
>> applicable
>>
>> 13/05/10 16:53:51 ERROR security.UserGroupInformation:
>> *PriviledgedActionException* as:khaleelk *cause:java.io.IOException*:
>> Failed to set permissions of path:
>> \tmp\hadoop-khaleelk\mapred\staging\khaleelk-1067522586\.staging to 0700
>>
>> Exception in thread "main"
>> *java.io.IOException*: Failed to set permissions of path:
>> \tmp\hadoop-khaleelk\mapred\staging\khaleelk-1067522586\.staging to 0700
>>
>> at org.apache.hadoop.fs.FileUtil.checkReturnValue(
>> *FileUtil.java:689*)
>>
>> at org.apache.hadoop.fs.FileUtil.setPermission(
>> *FileUtil.java:662*)
>>
>> at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(
>> *RawLocalFileSystem.java:509*)
>>
>> at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(
>> *RawLocalFileSystem.java:344*)
>>
>> at org.apache.hadoop.fs.FilterFileSystem.mkdirs(
>> *FilterFileSystem.java:189*)
>>
>> at org.apache.hadoop.mapreduce.JobSubmissionFiles.getStagingDir(
>> *JobSubmissionFiles.java:116*)
>>
>> at org.apache.hadoop.mapred.JobClient$2.run(
>> *JobClient.java:856*)
>>
>> at org.apache.hadoop.mapred.JobClient$2.run(
>> *JobClient.java:850*)
>>
>> at java.security.AccessController.doPrivileged(
>> *Native Method*)
>>
>> at javax.security.auth.Subject.doAs(Unknown Source)
>>
>> at org.apache.hadoop.security.UserGroupInformation.doAs(
>> *UserGroupInformation.java:1121*)
>>
>> at org.apache.hadoop.mapred.JobClient.submitJobInternal(
>> *JobClient.java:850*)
>>
>> at org.apache.hadoop.mapreduce.Job.submit(
>> *Job.java:500*)
>>
>> at org.apache.hadoop.mapreduce.Job.waitForCompletion(
>> *Job.java:530*)
>>
>> at WordCount.main(
>> *WordCount.java:65*)
>>
>>
>>
>> Thank you in advance.
>>
>>
>>
>>
>>
>>
>>
>
+
Nitin Pawar 2013-05-12, 17:46