Managing Data Operating System
Also available as:
PDF
loading table of contents...

Prerequisites for developing a device plug-in

You can develop your device plug-in using Maven or SBT. You must add the required property in your build file.

  • If you are using Maven to build the project, add the following property in the pom.xml file:
    <dependencies>
      <dependency>
        <groupId>org.apache.hadoop</groupId>
          <artifactId>hadoop-yarn-server-nodemanager</artifactId>
          <version>3.3.0</version>
          <scope>provided</scope>
      </dependency>
    </dependencies>
  • If you are using SBT to build your project, add the following line in the build.sbt file:
    libraryDependencies += "org.apache.hadoop" % "hadoop-yarn-server-nodemanager" % "3.3.0"
    

After adding the property, you can implement the plug-in interfaces based on classes provided in org.apache.hadoop.yarn.server.nodemanager.api.deviceplugin.