Sets or removes the expiration time on the specified file. This operation can only be executed against files. Folders are not supported.
Supports noop? false
Parameters
path(Optional[String[1]])
— The Data Lake Store path (starting with '/') of the file on which to set or remove the expiration time.
expiry_option(Optional[String[1]])
— Indicates the type of expiration to use for the file: 1. NeverExpire: ExpireTime is ignored. 2. RelativeToNow: ExpireTime is an integer in milliseconds representing the expiration date relative to when file expiration is updated. 3. RelativeToCreationDate: ExpireTime is an integer in milliseconds representing the expiration date relative to file creation. 4. Absolute: ExpireTime is an integer in milliseconds, as a Unix timestamp relative to 1/1/1970 00:00:00.
expire_time(Optional[String[1]])
— The time that the file will expire, corresponding to the ExpiryOption that was set.
op(Optional[String[1]])
— The constant value for the operation.
api_version(Optional[String[1]])
— Client Api Version.
remoteexception(Optional[String[1]])
— the object representing the actual WebHDFS exception being returned.