You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by Tang <sh...@gmail.com> on 2015/01/22 07:04:34 UTC

Enable symlinks

hi,

anyone know how to enable symlinks in HDFS?

I call it FileSystem.enableSymlinks() in client side,and try to create a symlink, it throw following exceptions:

org.apache.hadoop.ipc.RemoteException: Symlinks not supported
        at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.createSymlink(FSNamesystem.java:2009)
        at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.createSymlink(NameNodeRpcServer.java:963)
        at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.createSymlink(ClientNamenodeProtocolServerSideTranslatorPB.java:844)
        at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
        at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:585)
        at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:928)
        at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2013)
        at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2009)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:415)
        at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1556)
        at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2007)

I go through all source code, don't find how to enable it.

Anyone knows?

Thanks in advance.

Tang.

RE: Enable symlinks

Posted by ha...@visolve.com.
Hello Tang,

 

There are few resolved issues which might help you with this

 

https://issues.apache.org/jira/browse/HDFS-6629

https://issues.apache.org/jira/browse/HDFS-245

 

Hope it helps!!!

 

Thanks and Regards,
S.RagavendraGanesh

Hadoop Support Team

ViSolve Inc.| <http://www.visolve.com> www.visolve.com

 

From: Rich Haase [mailto:rhaase@pandora.com] 
Sent: Thursday, January 22, 2015 9:22 PM
To: user@hadoop.apache.org
Subject: Re: Enable symlinks 

 

Hadoop does not currently support symlinks.  Hence the "Symlinks not
supported" exception message.  

 

You can follow progress on making symlinks production ready via this JIRA:
<https://issues.apache.org/jira/browse/HADOOP-10019>
https://issues.apache.org/jira/browse/HADOOP-10019

 

Cheers,

 

Rich

 

From: Tang < <ma...@gmail.com> shawndowell@gmail.com>
Reply-To: " <ma...@hadoop.apache.org> user@hadoop.apache.org" <
<ma...@hadoop.apache.org> user@hadoop.apache.org>
Date: Wednesday, January 21, 2015 at 10:04 PM
To: " <ma...@hadoop.apache.org> user@hadoop.apache.org" <
<ma...@hadoop.apache.org> user@hadoop.apache.org>
Subject: Enable symlinks 

 

org.apache.hadoop.ipc.RemoteException: Symlinks not supported






RE: Enable symlinks

Posted by ha...@visolve.com.
Hello Tang,

 

There are few resolved issues which might help you with this

 

https://issues.apache.org/jira/browse/HDFS-6629

https://issues.apache.org/jira/browse/HDFS-245

 

Hope it helps!!!

 

Thanks and Regards,
S.RagavendraGanesh

Hadoop Support Team

ViSolve Inc.| <http://www.visolve.com> www.visolve.com

 

From: Rich Haase [mailto:rhaase@pandora.com] 
Sent: Thursday, January 22, 2015 9:22 PM
To: user@hadoop.apache.org
Subject: Re: Enable symlinks 

 

Hadoop does not currently support symlinks.  Hence the "Symlinks not
supported" exception message.  

 

You can follow progress on making symlinks production ready via this JIRA:
<https://issues.apache.org/jira/browse/HADOOP-10019>
https://issues.apache.org/jira/browse/HADOOP-10019

 

Cheers,

 

Rich

 

From: Tang < <ma...@gmail.com> shawndowell@gmail.com>
Reply-To: " <ma...@hadoop.apache.org> user@hadoop.apache.org" <
<ma...@hadoop.apache.org> user@hadoop.apache.org>
Date: Wednesday, January 21, 2015 at 10:04 PM
To: " <ma...@hadoop.apache.org> user@hadoop.apache.org" <
<ma...@hadoop.apache.org> user@hadoop.apache.org>
Subject: Enable symlinks 

 

org.apache.hadoop.ipc.RemoteException: Symlinks not supported






RE: Enable symlinks

Posted by ha...@visolve.com.
Hello Tang,

 

There are few resolved issues which might help you with this

 

https://issues.apache.org/jira/browse/HDFS-6629

https://issues.apache.org/jira/browse/HDFS-245

 

Hope it helps!!!

 

Thanks and Regards,
S.RagavendraGanesh

Hadoop Support Team

ViSolve Inc.| <http://www.visolve.com> www.visolve.com

 

From: Rich Haase [mailto:rhaase@pandora.com] 
Sent: Thursday, January 22, 2015 9:22 PM
To: user@hadoop.apache.org
Subject: Re: Enable symlinks 

 

Hadoop does not currently support symlinks.  Hence the "Symlinks not
supported" exception message.  

 

You can follow progress on making symlinks production ready via this JIRA:
<https://issues.apache.org/jira/browse/HADOOP-10019>
https://issues.apache.org/jira/browse/HADOOP-10019

 

Cheers,

 

Rich

 

From: Tang < <ma...@gmail.com> shawndowell@gmail.com>
Reply-To: " <ma...@hadoop.apache.org> user@hadoop.apache.org" <
<ma...@hadoop.apache.org> user@hadoop.apache.org>
Date: Wednesday, January 21, 2015 at 10:04 PM
To: " <ma...@hadoop.apache.org> user@hadoop.apache.org" <
<ma...@hadoop.apache.org> user@hadoop.apache.org>
Subject: Enable symlinks 

 

org.apache.hadoop.ipc.RemoteException: Symlinks not supported






RE: Enable symlinks

Posted by ha...@visolve.com.
Hello Tang,

 

There are few resolved issues which might help you with this

 

https://issues.apache.org/jira/browse/HDFS-6629

https://issues.apache.org/jira/browse/HDFS-245

 

Hope it helps!!!

 

Thanks and Regards,
S.RagavendraGanesh

Hadoop Support Team

ViSolve Inc.| <http://www.visolve.com> www.visolve.com

 

From: Rich Haase [mailto:rhaase@pandora.com] 
Sent: Thursday, January 22, 2015 9:22 PM
To: user@hadoop.apache.org
Subject: Re: Enable symlinks 

 

Hadoop does not currently support symlinks.  Hence the "Symlinks not
supported" exception message.  

 

You can follow progress on making symlinks production ready via this JIRA:
<https://issues.apache.org/jira/browse/HADOOP-10019>
https://issues.apache.org/jira/browse/HADOOP-10019

 

Cheers,

 

Rich

 

From: Tang < <ma...@gmail.com> shawndowell@gmail.com>
Reply-To: " <ma...@hadoop.apache.org> user@hadoop.apache.org" <
<ma...@hadoop.apache.org> user@hadoop.apache.org>
Date: Wednesday, January 21, 2015 at 10:04 PM
To: " <ma...@hadoop.apache.org> user@hadoop.apache.org" <
<ma...@hadoop.apache.org> user@hadoop.apache.org>
Subject: Enable symlinks 

 

org.apache.hadoop.ipc.RemoteException: Symlinks not supported






Re: Enable symlinks

Posted by Rich Haase <rh...@pandora.com>.
Hadoop does not currently support symlinks.  Hence the “Symlinks not supported” exception message.

You can follow progress on making symlinks production ready via this JIRA: https://issues.apache.org/jira/browse/HADOOP-10019

Cheers,

Rich

From: Tang <sh...@gmail.com>>
Reply-To: "user@hadoop.apache.org<ma...@hadoop.apache.org>" <us...@hadoop.apache.org>>
Date: Wednesday, January 21, 2015 at 10:04 PM
To: "user@hadoop.apache.org<ma...@hadoop.apache.org>" <us...@hadoop.apache.org>>
Subject: Enable symlinks

org.apache.hadoop.ipc.RemoteException: Symlinks not supported


Re: Enable symlinks

Posted by Rich Haase <rh...@pandora.com>.
Hadoop does not currently support symlinks.  Hence the “Symlinks not supported” exception message.

You can follow progress on making symlinks production ready via this JIRA: https://issues.apache.org/jira/browse/HADOOP-10019

Cheers,

Rich

From: Tang <sh...@gmail.com>>
Reply-To: "user@hadoop.apache.org<ma...@hadoop.apache.org>" <us...@hadoop.apache.org>>
Date: Wednesday, January 21, 2015 at 10:04 PM
To: "user@hadoop.apache.org<ma...@hadoop.apache.org>" <us...@hadoop.apache.org>>
Subject: Enable symlinks

org.apache.hadoop.ipc.RemoteException: Symlinks not supported


Re: Enable symlinks

Posted by Rich Haase <rh...@pandora.com>.
Hadoop does not currently support symlinks.  Hence the “Symlinks not supported” exception message.

You can follow progress on making symlinks production ready via this JIRA: https://issues.apache.org/jira/browse/HADOOP-10019

Cheers,

Rich

From: Tang <sh...@gmail.com>>
Reply-To: "user@hadoop.apache.org<ma...@hadoop.apache.org>" <us...@hadoop.apache.org>>
Date: Wednesday, January 21, 2015 at 10:04 PM
To: "user@hadoop.apache.org<ma...@hadoop.apache.org>" <us...@hadoop.apache.org>>
Subject: Enable symlinks

org.apache.hadoop.ipc.RemoteException: Symlinks not supported


Re: Enable symlinks

Posted by Rich Haase <rh...@pandora.com>.
Hadoop does not currently support symlinks.  Hence the “Symlinks not supported” exception message.

You can follow progress on making symlinks production ready via this JIRA: https://issues.apache.org/jira/browse/HADOOP-10019

Cheers,

Rich

From: Tang <sh...@gmail.com>>
Reply-To: "user@hadoop.apache.org<ma...@hadoop.apache.org>" <us...@hadoop.apache.org>>
Date: Wednesday, January 21, 2015 at 10:04 PM
To: "user@hadoop.apache.org<ma...@hadoop.apache.org>" <us...@hadoop.apache.org>>
Subject: Enable symlinks

org.apache.hadoop.ipc.RemoteException: Symlinks not supported