incorrect document in libhdfs api (hdfs.h)
------------------------------------------

                 Key: HDFS-711
                 URL: https://issues.apache.org/jira/browse/HDFS-711
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: documentation
    Affects Versions: 0.20.1
            Reporter: freestyler


in HADOOP/src/c++/libhdfs/hdfs.h

The following function document is incorrect:
/*   @param mtime new modification time or 0 for only set access time in seconds
      @param atime new access time or 0 for only set modification time in 
seconds
*/
    int hdfsUtime(hdfsFS fs, const char* path, tTime mtime, tTime atime);

Setting mtime or atime to 0 has no special meaning. That is, file last modified 
time will change to 0 if the mtime argument is 0.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to