Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-9557

Application fails in diskchecker when ReadWriteDiskValidator is configured.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.1.1
    • 3.3.0, 3.2.1, 3.1.3
    • nodemanager
    • None
    • Configure:

      <property>
      <name>yarn.nodemanager.disk-validator</name>
      <value>read-write</value>
      </property>

    Description

      Application fails to execute successfully when ReadWriteDiskValidator is configured.

      <property>
      <name>yarn.nodemanager.disk-validator</name>
      <value>read-write</value>
      </property>
      
      Exception thrown while starting Container:
      
      java.io.IOException: org.apache.hadoop.util.DiskChecker$DiskErrorException: Disk Check failed!
       at org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ContainerLocalizer.runLocalization(ContainerLocalizer.java:200)
       at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.startLocalizer(DefaultContainerExecutor.java:180)
       at org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceLocalizationService$LocalizerRunner.run(ResourceLocalizationService.java:1233)
       Caused by: org.apache.hadoop.util.DiskChecker$DiskErrorException: Disk Check failed!
       at org.apache.hadoop.util.ReadWriteDiskValidator.checkStatus(ReadWriteDiskValidator.java:82)
       at org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ContainerLocalizer.download(ContainerLocalizer.java:255)
       at org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ContainerLocalizer.localizeFiles(ContainerLocalizer.java:312)
       at org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ContainerLocalizer.runLocalization(ContainerLocalizer.java:198)
       ... 2 more
       Caused by: org.apache.hadoop.util.DiskChecker$DiskErrorException: /opt/HA/AN0805/nmlocal/usercache/dsperf/appcache/application_1557736108162_0009/filecache/11 is not a directory!
       at org.apache.hadoop.util.ReadWriteDiskValidator.checkStatus(ReadWriteDiskValidator.java:50)
      

       

      Attachments

        1. YARN-9557-001.patch
          1 kB
          Bilwa S T
        2. YARN-9557-002.patch
          5 kB
          Bilwa S T
        3. YARN-9557-003.patch
          5 kB
          Bilwa S T
        4. YARN-9557-branch-3.2.001.patch
          5 kB
          Bilwa S T

        Activity

          People

            BilwaST Bilwa S T
            nayak1910 Anuruddh Nayak
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: