[
https://issues.apache.org/jira/browse/HADOOP-1508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12508274
]
Chris Douglas commented on HADOOP-1508:
---------------------------------------
I wasn't sure whether this temporary version of touch should operate on
directories; it's apropos of touch, but not necessarily this "overwrite at the
namenode" version. Leaving it deficient in this way emphasizes that it is a
crude stand-in until modification is more widely supported. That said, there's
no technical reason directory touching can't be implemented now. I left it as a
"TODO" for whoever implements 'touch', but could be convinced it belongs here.
I left %F undocumented, since what it queries isn't really a 'filetype', it's a
boolean. It's my understanding that FsShell shouldn't encounter a file that
isn't either a "regular file" or a "directory" in the near future, but it seems
dangerous to advertise that flag when it will probably lag behind a change that
introduces a third filetype. I left it in to aid anyone hoping to use stat like
a formatted 'ls' (none of the other options indicate file/directory
explicitly). Again, I could probably just raise this objection in the
documentation I've omitted, so... either way.
> ant Task for FsShell operations
> -------------------------------
>
> Key: HADOOP-1508
> URL: https://issues.apache.org/jira/browse/HADOOP-1508
> Project: Hadoop
> Issue Type: New Feature
> Components: build, fs
> Reporter: Chris Douglas
> Assignee: Chris Douglas
> Priority: Minor
> Attachments: HADOOP-1508.patch
>
>
> This issue will document the requirements, design and implementation of an
> ant Task providing FsShell functionality within that framework.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.