Yes, there is a trash policy in HDFS, where the file is stored in .Trash directory once they are deleted. But you have to check whether the trash policy is activated or not. Check whether the fs.trash.interval > 1.
If this property is set, then you can locate the file in .Trash directory. Generally you’ll find the directory in /user/username/.Trash
If you have not enabled the trash policy then you need to go ahead use data recovery tool, to recover the lost data.