katty he created HDFS-17236:
-------------------------------

             Summary: Namenode failover will make empty file?
                 Key: HDFS-17236
                 URL: https://issues.apache.org/jira/browse/HDFS-17236
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: hdfs
    Affects Versions: 3.1.2
            Reporter: katty he


recently, i met a problem, the time line was below:
2023-10-19 19:22:56,584  client had warn wth SocketTimeoutException,Call From 
node74-53-35-bdxs.qiyi.hadoop/10.74.53.35 to 
namenode14-bdxs-g1.qiyi.hadoop:8888 failed on socket timeout exception: 
java.net.SocketTimeoutException: 60000 millis timeout while waiting for channel 
to be ready for read.
2023-10-19 19:22:56,588  then faileover:  A failover has occurred since the 
start of call #727 ClientNamenodeProtocolTranslatorPB.create over 
namenode39-bdxs-g1.qiyi.hadoop/10.71.64.221:8888
i can find when the file a was created by searching for audit log
2023-10-19 19:22:56,598  file a was created
2023-10-19 19:23:24,691  file a was created in the second time

i can see the length of the file a was created in the first time from client 
log, however when i see the file a was empty after 19:23:24,691, the client has 
no other message, why the file a become empty?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to