hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From li ping <li.j...@gmail.com>
Subject Re: Symbol Link as InputFormat Folder
Date Wed, 15 Dec 2010 01:15:01 GMT
Seems HDFS does not support link

On Wed, Dec 15, 2010 at 12:55 AM, lamfeeling2@gmail.com <
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
>



-- 
-----李平

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message