Try this "touchz" hadoop command.
hadoop -touchz filename
Thanks and Regards,
Adi Reddy Murali
On Thu, Sep 5, 2013 at 11:06 AM, Harsh J <[EMAIL PROTECTED]> wrote:
> There's no shell command (equivalent to Linux's touch) but you can use
> the Java API:
> On Thu, Sep 5, 2013 at 10:58 AM, Ramasubramanian Narayanan
> <[EMAIL PROTECTED]> wrote:
> > Hi,
> > Can you please help on to update the date & timestamp of a file in HDFS.
> > regards,
> > Rams
> Harsh J