StorageErrorReporter (Apache Hadoop HDFS 3.5.0 API)
Description: declaration: package: org.apache.hadoop.hdfs.server.common, interface: StorageErrorReporter

Package org.apache.hadoop.hdfs.server.common

# Interface StorageErrorReporter

All Known Implementing Classes:
  `NNStorage`

@Private public interface StorageErrorReporter
Interface which implementations of `JournalManager` can use to report errors on underlying storage directories. This avoids a circular dependency between journal managers and the storage which instantiates them.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `reportErrorOnFile(File f)`
  Indicate that some error occurred on the given file.

- ## Method Details

  - ### reportErrorOnFile

    void reportErrorOnFile(File f)
    Indicate that some error occurred on the given file.
    Parameters:
      `f` - the file which had an error.