You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Giovanni Matteo Fumarola (JIRA)" <ji...@apache.org> on 2018/05/14 18:48:00 UTC

[jira] [Commented] (HADOOP-15462) Create a JNI interface to interact with Windows

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

Giovanni Matteo Fumarola commented on HADOOP-15462:
---------------------------------------------------

Thanks [~aw] and [~elgoiri] for the feedback. 
I created a new umbrella under Hadoop project and moved the existing ones under it.

We will create new subtasks for 
 * Replace by native Java APIs (e.g., symlinks)
 * Fix the build system to fully leverage cmake instead of msbuild
 * Other possible improvements.

I will start working on the replacement of the winutils calls with Java API calls and validate the improvements in performance.

 

> Create a JNI interface to interact with Windows
> -----------------------------------------------
>
>                 Key: HADOOP-15462
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15462
>             Project: Hadoop Common
>          Issue Type: Sub-task
>            Reporter: Giovanni Matteo Fumarola
>            Assignee: Giovanni Matteo Fumarola
>            Priority: Major
>         Attachments: WinUtils-Functions.pdf, WinUtils.CSV
>
>
> I did a quick investigation of the performance of WinUtils in YARN. In average NM calls 4.76 times per second and 65.51 per container.
>  
> | |Requests|Requests/sec|Requests/min|Requests/container|
> |*Sum [WinUtils]*|*135354*|*4.761*|*286.160*|*65.51*|
> |[WinUtils] Execute -help|4148|0.145|8.769|2.007|
> |[WinUtils] Execute -ls|2842|0.0999|6.008|1.37|
> |[WinUtils] Execute -systeminfo|9153|0.321|19.35|4.43|
> |[WinUtils] Execute -symlink|115096|4.048|243.33|57.37|
> |[WinUtils] Execute -task isAlive|4115|0.144|8.699|2.05|
>  Interval: 7 hours, 53 minutes and 48 seconds
> Each execution of WinUtils does around *140 IO ops*, of which 130 are DDL ops.
> This means *666.58* IO ops/second due to WinUtils.
> We should start considering to remove WinUtils from Hadoop and creating a JNI interface.



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

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