You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Andrew Wang (JIRA)" <ji...@apache.org> on 2014/01/28 00:16:39 UTC
[jira] [Commented] (HADOOP-10294) Using backtick "`" as delimiter
for parsing file path disallows "`" in file path name
[ https://issues.apache.org/jira/browse/HADOOP-10294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13883502#comment-13883502 ]
Andrew Wang commented on HADOOP-10294:
--------------------------------------
Hi Yongjun,
I tried a quick test with trunk and backticks via the fs shell, and things looked okay. Do you have a small test case that reproduces this error?
{noformat}
-> % hadoop fs -mkdir /tickdir\`
-> % hadoop fs -touchz /tickdir\`/myfile
-> % hadoop fs -put ~/testfiles/4K.temp /tickdir\`/tickfile\`
-> % hadoop fs -ls /
Found 1 items
drwxr-xr-x - andrew supergroup 0 2014-01-27 15:10 /tickdir`
-> % hadoop fs -ls /tickdir\`
Found 2 items
-rw-r--r-- 3 andrew supergroup 0 2014-01-27 15:10 /tickdir`/myfile
-rw-r--r-- 3 andrew supergroup 4096 2014-01-27 15:10 /tickdir`/tickfile`
-> % hadoop fs -ls file:///tmp/tickfile\`
Found 1 items
-rw-r--r-- 1 andrew andrew 4096 2014-01-27 15:11 file:///tmp/tickfile`
-> % hadoop fs -cat /tickdir\`/tickfile\` > /dev/null
{noformat}
> Using backtick "`" as delimiter for parsing file path disallows "`" in file path name
> -------------------------------------------------------------------------------------
>
> Key: HADOOP-10294
> URL: https://issues.apache.org/jira/browse/HADOOP-10294
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs
> Affects Versions: 2.3.0
> Reporter: Yongjun Zhang
>
> This is the second issue reported in bug HADOOP-10293.
> When symlink code is enabled, it uses backtick "`" as delimiter when interpreting a path and to tell whether it's a link or not. This disallows "`" to appear in file pathname that's not a link.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)