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

DataStreamer DataNode exclusion log message should be warning

    Details

    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      When adding a DN to excludedNodes, it should log a warning message instead of info.

            success = createBlockOutputStream(nodes, storageTypes, 0L, false);
      
            if (!success) {
              LOG.info("Abandoning " + block);
              dfsClient.namenode.abandonBlock(block, stat.getFileId(), src,
                  dfsClient.clientName);
              block = null;
              final DatanodeInfo badNode = nodes[errorState.getBadNodeIndex()];
              LOG.info("Excluding datanode " + badNode);
              excludedNodes.put(badNode, badNode);
            }
      

        Attachments

          Activity

            People

            • Assignee:
              jzhuge John Zhuge
              Reporter:
              jzhuge John Zhuge
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: