[
https://issues.apache.org/jira/browse/HADOOP-1552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12629000#action_12629000
]
Pete Wyckoff commented on HADOOP-1552:
--------------------------------------
I wrote the following:
{code}
hdfsUtime(path, mtime, atime);
{code}
patch is coming soon.
> touchFile support in libhdfs
> ----------------------------
>
> Key: HADOOP-1552
> URL: https://issues.apache.org/jira/browse/HADOOP-1552
> Project: Hadoop Core
> Issue Type: New Feature
> Components: libhdfs
> Affects Versions: 0.13.0
> Reporter: Christian Kunz
> Priority: Minor
>
> Sometimes it would be convenient to just create an empty file stamp with a
> single call to some libhdfs method. There seems to be support for it in java:
> FileSystem.createNewFile.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.