Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-17236

Namenode failover will make empty file?

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.1.2
    • None
    • hdfs
    • None

    Description

      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?

      Attachments

        Activity

          People

            Unassigned Unassigned
            katty0924 katty he
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: