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 "Stephen O'Donnell (Jira)" <ji...@apache.org> on 2021/03/18 16:26:00 UTC
[jira] [Commented] (HADOOP-17310) Touch command with -c option is
broken
[ https://issues.apache.org/jira/browse/HADOOP-17310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17304259#comment-17304259 ]
Stephen O'Donnell commented on HADOOP-17310:
--------------------------------------------
Is it worth cherry-picking this down to 3.1 when the touch command was introduced?
> Touch command with -c option is broken
> ---------------------------------------
>
> Key: HADOOP-17310
> URL: https://issues.apache.org/jira/browse/HADOOP-17310
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Ayush Saxena
> Assignee: Ayush Saxena
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.4.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> The touch command has an option -c :
> {noformat}
> touch
> Usage: hadoop fs -touch [-a] [-m] [-t TIMESTAMP] [-c] URI [URI ...]{noformat}
> Ref : [https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/FileSystemShell.html#touch]
> But on using it, it gives error as :
> {noformat}
> -touch: Illegal option -c
> Usage: hadoop fs [generic options]{noformat}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org