liang yu created HADOOP-18952:
---------------------------------
Summary: FsCommand Stat class set the timeZone"UTC", which is
different from the machine's timeZone
Key: HADOOP-18952
URL: https://issues.apache.org/jira/browse/HADOOP-18952
Project: Hadoop Common
Issue Type: Bug
Environment: Using Hadoop 3.3.4-release
Reporter: liang yu
Attachments: image-2023-10-26-10-00-19-636.png
Using Hadoop version 3.3.4
When executing Ls command and Stat command on the same hadoop file, I get two
timestamps.
!image-2023-10-26-10-00-19-636.png!
I am in China, the timezone is “UTC+8”, so the timestamp from LS command is
correct and timestamp from STAT command is wrong.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]