[ 
https://issues.apache.org/jira/browse/HADOOP-18952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

liang yu updated HADOOP-18952:
------------------------------
    Attachment:     (was: image-2023-10-26-10-00-19-636.png)

> 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
>            Priority: Major
>         Attachments: image-2023-10-26-10-07-11-637.png
>
>
> Using Hadoop version 3.3.4
>  
> When executing Ls command and Stat command on the same hadoop file, I get two 
> timestamps.
>  
>  
> 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]

Reply via email to