You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Aaron T. Myers (JIRA)" <ji...@apache.org> on 2012/10/10 19:01:04 UTC

[jira] [Resolved] (MAPREDUCE-4717) Mapreduce job fails to run after configuring multiple namespaces [HDFS Federation]

     [ https://issues.apache.org/jira/browse/MAPREDUCE-4717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aaron T. Myers resolved MAPREDUCE-4717.
---------------------------------------

    Resolution: Not A Problem

Hi Sagar, this looks to me to be most likely a configuration error, in which case you should try emailing a user mailing list. I'm guessing from the facts that you say you configured federation and you're using MR1 that you're using CDH, in which case you should email cdh-user@cloudera.org. If I'm wrong about that and you're somehow using a straight Apache release, then you should email user@hadoop.apache.org.
                
> 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