You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Peter Bacsko (JIRA)" <ji...@apache.org> on 2019/04/12 10:32:00 UTC

[jira] [Updated] (YARN-9477) Investigate device discovery mechanisms

     [ https://issues.apache.org/jira/browse/YARN-9477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Bacsko updated YARN-9477:
-------------------------------
    Description: 
Right now we have a Python script which is able to discover VE cards using pyudev.

Java does not officially support libudev. There are some projects on Github (example: https://github.com/Zubnix/udev-java-bindings) but they're not available as Maven artifacts.

However it's not terribly difficult to create a minimal layer around libudev using JNA. We don't have to wrap every function, we need to call 4-5 methods.

> Investigate device discovery mechanisms
> ---------------------------------------
>
>                 Key: YARN-9477
>                 URL: https://issues.apache.org/jira/browse/YARN-9477
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Peter Bacsko
>            Priority: Major
>
> Right now we have a Python script which is able to discover VE cards using pyudev.
> Java does not officially support libudev. There are some projects on Github (example: https://github.com/Zubnix/udev-java-bindings) but they're not available as Maven artifacts.
> However it's not terribly difficult to create a minimal layer around libudev using JNA. We don't have to wrap every function, we need to call 4-5 methods.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org