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 "Wei-Chiu Chuang (Jira)" <ji...@apache.org> on 2019/08/30 20:01:00 UTC

[jira] [Commented] (YARN-9477) Implement VE discovery using libudev

    [ https://issues.apache.org/jira/browse/YARN-9477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16919857#comment-16919857 ] 

Wei-Chiu Chuang commented on YARN-9477:
---------------------------------------

For future reference, when you add a new dependency, please add it to LICENSE.txt too.

Also, when we include a dual-licensed dependency like Java Native Access, better to specify which license do we use.

 

In fact, I'll file a jira.

> Implement VE discovery using libudev
> ------------------------------------
>
>                 Key: YARN-9477
>                 URL: https://issues.apache.org/jira/browse/YARN-9477
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Peter Bacsko
>            Assignee: Peter Bacsko
>            Priority: Major
>             Fix For: 3.3.0
>
>         Attachments: YARN-9477-001.patch, YARN-9477-002.patch, YARN-9477-003.patch, YARN-9477-004.patch, YARN-9477-005.patch, YARN-9477-006.patch, YARN-9477-007.patch, YARN-9477-POC.patch, YARN-9477-POC2.patch, YARN-9477-POC3.patch
>
>
> Right now we have a Python script which is able to discover VE cards using pyudev: https://pyudev.readthedocs.io/en/latest/
> 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 that 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
(v8.3.2#803003)

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