hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sagar Shimpi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAPREDUCE-4717) Mapreduce job fails to run after configuring multiple namespaces [HDFS Federation]
Date Wed, 10 Oct 2012 06:59:02 GMT
Sagar Shimpi created MAPREDUCE-4717:
---------------------------------------

             Summary: Mapreduce job fails to run after configuring multiple namespaces [HDFS
Federation]
                 Key: MAPREDUCE-4717
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4717
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: mrv1
    Affects Versions: 0.20.2
         Environment: 2 Standalone Desktop with 360Gb HDD and 4GB RAM - Acting as two Namenodes
2 Virtual Machine with 60GB HDD and 1GB RAM - Acting as Job tracker and zookeeper
            Reporter: Sagar Shimpi


I am having setup of 4 nodes with following details -

Standalone Desktop-1 -> NameNode1,Tasktracker,Zookeeper,Jobtracker,datanode,HMaster

Standalone Desktop-2 -> NameNode2,Tasktracker,datanode.RegionServer

Virtual Machine-1 -> Namenode3,Datanode,Tasktracker

Virtual Machine-2 -> Namenode4,Datanode,Tasktracker


I have configured HDFS Federation with following name service -
a) nameservice1
b) oss-hadoop-nameservice

While executing Mapreduce job I am getting following error -

================================================================
-bash-4.1$ id
uid=496(hdfs) gid=496(hdfs) groups=496(hdfs),497(hadoop)
-bash-4.1$ hadoop jar /usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar wordcount /hbase/install.log.syslog
/hbase/testing
12/10/10 12:30:21 ERROR security.UserGroupInformation: PriviledgedActionException as:hdfs
(auth:SIMPLE) cause:java.io.IOException: viewfs://cluster6/
java.io.IOException: viewfs://cluster6/
        at org.apache.hadoop.fs.viewfs.InodeTree.<init>(InodeTree.java:338)
        at org.apache.hadoop.fs.viewfs.ViewFileSystem$1.<init>(ViewFileSystem.java:178)
        at org.apache.hadoop.fs.viewfs.ViewFileSystem.initialize(ViewFileSystem.java:178)
        at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2150)
        at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:80)
        at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2184)
        at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2166)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:302)
        at org.apache.hadoop.fs.Path.getFileSystem(Path.java:194)
        at org.apache.hadoop.mapreduce.JobSubmissionFiles.getStagingDir(JobSubmissionFiles.java:103)
        at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:850)
        at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:844)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:396)
        at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1232)
        at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:844)
        at org.apache.hadoop.mapreduce.Job.submit(Job.java:481)
        at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:511)
        at org.apache.hadoop.examples.WordCount.main(WordCount.java:67)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:72)
        at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:144)
        at org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java:64)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:208)
-bash-4.1$
================================================================

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message