FAQ
Dear All,

I've got a Folder A, and has a Symbol Link folder A' linked to A, but
when I add A' as one of the inputformat folders, it gives me this error:

Exception in thread "main"
org.apache.hadoop.hdfs.protocol.UnresolvedPathException:
hdfs://localhost:9000/user/songliu/W
at
org.apache.hadoop.hdfs.server.namenode.INodeDirectory.getExistingPathINodes(INodeDirectory.java:201)
at
org.apache.hadoop.hdfs.server.namenode.INodeDirectory.getNode(INodeDirectory.java:122)
at
org.apache.hadoop.hdfs.server.namenode.INodeDirectory.getNode(INodeDirectory.java:131)
at
org.apache.hadoop.hdfs.server.namenode.FSDirectory.getFileInfo(FSDirectory.java:1113)
at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getFileInfo(FSNamesystem.java:1874)
at
org.apache.hadoop.hdfs.server.namenode.NameNode.getFileInfo(NameNode.java:879)
...


My method works perfectly on LocalJobRunner, but fails on HDFS, any one
has any idea about that?

Best
Song Liu

Search Discussions

  • Li ping at Dec 15, 2010 at 1:15 am
    Seems HDFS does not support link
    On Wed, Dec 15, 2010 at 12:55 AM, lamfeeling2@gmail.com wrote:

    Dear All,

    I've got a Folder A, and has a Symbol Link folder A' linked to A, but
    when I add A' as one of the inputformat folders, it gives me this error:

    Exception in thread "main"
    org.apache.hadoop.hdfs.protocol.UnresolvedPathException:
    hdfs://localhost:9000/user/songliu/W
    at

    org.apache.hadoop.hdfs.server.namenode.INodeDirectory.getExistingPathINodes(INodeDirectory.java:201)
    at

    org.apache.hadoop.hdfs.server.namenode.INodeDirectory.getNode(INodeDirectory.java:122)
    at

    org.apache.hadoop.hdfs.server.namenode.INodeDirectory.getNode(INodeDirectory.java:131)
    at

    org.apache.hadoop.hdfs.server.namenode.FSDirectory.getFileInfo(FSDirectory.java:1113)
    at

    org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getFileInfo(FSNamesystem.java:1874)
    at

    org.apache.hadoop.hdfs.server.namenode.NameNode.getFileInfo(NameNode.java:879)
    ...


    My method works perfectly on LocalJobRunner, but fails on HDFS, any one
    has any idea about that?

    Best
    Song Liu


    --
    -----李平
  • Harsh J at Dec 15, 2010 at 3:12 am
    Are you using the new API or the old/stable one?

    On Tue, Dec 14, 2010 at 10:25 PM, lamfeeling2@gmail.com
    wrote:
    Dear All,

    I've got a Folder A, and has a Symbol Link folder A' linked to A, but
    when I add A' as one of the inputformat folders, it gives me this error:

    Exception in thread "main"
    org.apache.hadoop.hdfs.protocol.UnresolvedPathException:
    hdfs://localhost:9000/user/songliu/W
    at
    org.apache.hadoop.hdfs.server.namenode.INodeDirectory.getExistingPathINodes(INodeDirectory.java:201)
    at
    org.apache.hadoop.hdfs.server.namenode.INodeDirectory.getNode(INodeDirectory.java:122)
    at
    org.apache.hadoop.hdfs.server.namenode.INodeDirectory.getNode(INodeDirectory.java:131)
    at
    org.apache.hadoop.hdfs.server.namenode.FSDirectory.getFileInfo(FSDirectory.java:1113)
    at
    org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getFileInfo(FSNamesystem.java:1874)
    at
    org.apache.hadoop.hdfs.server.namenode.NameNode.getFileInfo(NameNode.java:879)
    ...


    My method works perfectly on LocalJobRunner, but fails on HDFS, any one
    has any idea about that?

    Best
    Song Liu


    --
    Harsh J
    www.harshj.com

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-user @
categorieshadoop
postedDec 14, '10 at 4:55p
activeDec 15, '10 at 3:12a
posts3
users3
websitehadoop.apache.org...
irc#hadoop

3 users in discussion

Harsh J: 1 post Li ping: 1 post Lamfeeling2: 1 post

People

Translate

site design / logo © 2022 Grokbase