You can rename the folder in HDFS environment by using mv command
hadoop fs -mv 'Old folder name with path' ' new folder name with path'
Example: I have folder in HDFS at location /test/abc
and I want to rename it to PQR
hadoop fs -mv '/test/abc' '/test/PQR';
Results: