Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-5983 [Umbrella] Support for FPGA as a Resource in YARN
  3. YARN-8456

Fix a configuration handling bug when user leave FPGA discover executable path configuration default but set OpenCL SDK path environment variable

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.2.1
    • yarn
    • None
    • Reviewed

    Description

      Issue:
      When the user doesn't configure "yarn.nodemanager.resource-plugins.fpga.path-to-discovery-executables" in yarn-site.xml and have "ALTERAOCLSDKROOT" environment variable set, the FPGA discoverer cannot find the correct executable path (with IntelFPGAOpenclPlugin).

      Reason:

      In IntelFPGAOpenclPlugin,  the current code builds a wrong path string after getting the environment variable value. It should append "/bin/<executable name>" otherwise it would fail the FPGA resource discovery.

       

      Solution:

      Fix the path construction code in IntelFPGAOpenclPlugin.

       

      Attachments

        1. YARN-8456-trunk.001.patch
          8 kB
          Zhankun Tang
        2. YARN-8456-trunk.002.patch
          6 kB
          Zhankun Tang

        Activity

          People

            tangzhankun Zhankun Tang
            tangzhankun Zhankun Tang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: