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

Doug Cutting commented on HADOOP-4998:
--------------------------------------

> Are you asking whether those invocations take a big portion of execution time 
> in the real application?

Yes, precisely.

If HADOOP-4656 is the motivating case, then, after HADOOP-4656, the namenode 
might become nearly unusably slow without native code, which would be a 
significant negative change.  So, for HADOOP-4656, we might instead change the 
default to, e.g., read /etc/group rather than exec a command.

In general, it's best to design things so that we do not require native code 
for decent performance.

> Implement a native OS runtime for Hadoop
> ----------------------------------------
>
>                 Key: HADOOP-4998
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4998
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: native
>            Reporter: Arun C Murthy
>            Assignee: Arun C Murthy
>             Fix For: 0.21.0
>
>
> It would be useful to implement a JNI-based runtime for Hadoop to get access 
> to the native OS runtime. This would allow us to stop relying on exec'ing 
> bash to get access to information such as user-groups, process limits etc. 
> and for features such as chown/chgrp (org.apache.hadoop.util.Shell).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to