You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Kihwal Lee (JIRA)" <ji...@apache.org> on 2011/08/31 02:45:09 UTC
[jira] [Created] (MAPREDUCE-2915) LinuxTaskController does not work
when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is
enabled
LinuxTaskController does not work when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is enabled
----------------------------------------------------------------------------------------------------------------
Key: MAPREDUCE-2915
URL: https://issues.apache.org/jira/browse/MAPREDUCE-2915
Project: Hadoop Map/Reduce
Issue Type: Bug
Components: task-controller
Affects Versions: 0.20.205.0
Reporter: Kihwal Lee
Assignee: Kihwal Lee
Fix For: 0.20.205.0
When a job is submitted, LinuxTaskController launches the native task-controller binary for job initialization. The native program does a series of prep work and call execv() to run JobLocalizer. It was observed that JobLocalizer does fails to run when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is enabled, resulting in 100% job failures.
JobLocalizer normally does not need the native library (libhadoop) for its functioning, but enabling a JNI user-to-group mapping function cause it to load the library. However, JobLocalizer cannot locate the library since "java.library.path" is not set.
The proposed solution is to pass the java.library.path property through task-controller. LinuxTaskController already does it when launching the task log truncater.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MAPREDUCE-2915) LinuxTaskController does not
work when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is
enabled
Posted by "Kihwal Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13094223#comment-13094223 ]
Kihwal Lee commented on MAPREDUCE-2915:
---------------------------------------
This bug does not exist in trunk/branch-0.23. The native task-controller no longer executes the java JobLocalizer.
> LinuxTaskController does not work when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is enabled
> ----------------------------------------------------------------------------------------------------------------
>
> Key: MAPREDUCE-2915
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-2915
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: task-controller
> Affects Versions: 0.20.205.0
> Reporter: Kihwal Lee
> Assignee: Kihwal Lee
> Fix For: 0.20.205.0
>
> Attachments: linux_tc_fix.patch.txt
>
>
> When a job is submitted, LinuxTaskController launches the native task-controller binary for job initialization. The native program does a series of prep work and call execv() to run JobLocalizer. It was observed that JobLocalizer does fails to run when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is enabled, resulting in 100% job failures.
> JobLocalizer normally does not need the native library (libhadoop) for its functioning, but enabling a JNI user-to-group mapping function cause it to load the library. However, JobLocalizer cannot locate the library since "java.library.path" is not set.
> The proposed solution is to pass the java.library.path property through task-controller. LinuxTaskController already does it when launching the task log truncater.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MAPREDUCE-2915) LinuxTaskController does not
work when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is
enabled
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13095510#comment-13095510 ]
Hadoop QA commented on MAPREDUCE-2915:
--------------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12492643/mr-2915.patch.txt
against trunk revision .
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 3 new or modified tests.
-1 patch. The patch command could not apply the patch.
Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/583//console
This message is automatically generated.
> LinuxTaskController does not work when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is enabled
> ----------------------------------------------------------------------------------------------------------------
>
> Key: MAPREDUCE-2915
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-2915
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: task-controller
> Affects Versions: 0.20.205.0
> Reporter: Kihwal Lee
> Assignee: Kihwal Lee
> Fix For: 0.20.205.0
>
> Attachments: linux_tc_fix.patch.txt, mr-2915.patch.txt
>
>
> When a job is submitted, LinuxTaskController launches the native task-controller binary for job initialization. The native program does a series of prep work and call execv() to run JobLocalizer. It was observed that JobLocalizer does fails to run when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is enabled, resulting in 100% job failures.
> JobLocalizer normally does not need the native library (libhadoop) for its functioning, but enabling a JNI user-to-group mapping function cause it to load the library. However, JobLocalizer cannot locate the library since "java.library.path" is not set.
> The proposed solution is to pass the java.library.path property through task-controller. LinuxTaskController already does it when launching the task log truncater.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MAPREDUCE-2915) LinuxTaskController does not
work when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is
enabled
Posted by "Kihwal Lee (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13134978#comment-13134978 ]
Kihwal Lee commented on MAPREDUCE-2915:
---------------------------------------
Sorry, I misread the code in trunk/0.23. They do have a similar problem. MAPREDUCE-3259 has been filed.
> LinuxTaskController does not work when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is enabled
> ----------------------------------------------------------------------------------------------------------------
>
> Key: MAPREDUCE-2915
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-2915
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: task-controller
> Affects Versions: 0.20.205.0
> Reporter: Kihwal Lee
> Assignee: Kihwal Lee
> Fix For: 0.20.205.0
>
> Attachments: linux_tc_fix.patch.txt, mr-2915.patch.txt
>
>
> When a job is submitted, LinuxTaskController launches the native task-controller binary for job initialization. The native program does a series of prep work and call execv() to run JobLocalizer. It was observed that JobLocalizer does fails to run when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is enabled, resulting in 100% job failures.
> JobLocalizer normally does not need the native library (libhadoop) for its functioning, but enabling a JNI user-to-group mapping function cause it to load the library. However, JobLocalizer cannot locate the library since "java.library.path" is not set.
> The proposed solution is to pass the java.library.path property through task-controller. LinuxTaskController already does it when launching the task log truncater.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (MAPREDUCE-2915) LinuxTaskController does not work
when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is
enabled
Posted by "Kihwal Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kihwal Lee updated MAPREDUCE-2915:
----------------------------------
Attachment: linux_tc_fix.patch.txt
> LinuxTaskController does not work when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is enabled
> ----------------------------------------------------------------------------------------------------------------
>
> Key: MAPREDUCE-2915
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-2915
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: task-controller
> Affects Versions: 0.20.205.0
> Reporter: Kihwal Lee
> Assignee: Kihwal Lee
> Fix For: 0.20.205.0
>
> Attachments: linux_tc_fix.patch.txt
>
>
> When a job is submitted, LinuxTaskController launches the native task-controller binary for job initialization. The native program does a series of prep work and call execv() to run JobLocalizer. It was observed that JobLocalizer does fails to run when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is enabled, resulting in 100% job failures.
> JobLocalizer normally does not need the native library (libhadoop) for its functioning, but enabling a JNI user-to-group mapping function cause it to load the library. However, JobLocalizer cannot locate the library since "java.library.path" is not set.
> The proposed solution is to pass the java.library.path property through task-controller. LinuxTaskController already does it when launching the task log truncater.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (MAPREDUCE-2915) LinuxTaskController does not work
when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is
enabled
Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arun C Murthy updated MAPREDUCE-2915:
-------------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
I just committed this. Thanks Kihwal!
> LinuxTaskController does not work when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is enabled
> ----------------------------------------------------------------------------------------------------------------
>
> Key: MAPREDUCE-2915
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-2915
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: task-controller
> Affects Versions: 0.20.205.0
> Reporter: Kihwal Lee
> Assignee: Kihwal Lee
> Fix For: 0.20.205.0
>
> Attachments: linux_tc_fix.patch.txt, mr-2915.patch.txt
>
>
> When a job is submitted, LinuxTaskController launches the native task-controller binary for job initialization. The native program does a series of prep work and call execv() to run JobLocalizer. It was observed that JobLocalizer does fails to run when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is enabled, resulting in 100% job failures.
> JobLocalizer normally does not need the native library (libhadoop) for its functioning, but enabling a JNI user-to-group mapping function cause it to load the library. However, JobLocalizer cannot locate the library since "java.library.path" is not set.
> The proposed solution is to pass the java.library.path property through task-controller. LinuxTaskController already does it when launching the task log truncater.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MAPREDUCE-2915) LinuxTaskController does not
work when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is
enabled
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13094241#comment-13094241 ]
Hadoop QA commented on MAPREDUCE-2915:
--------------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12492403/linux_tc_fix.patch.txt
against trunk revision .
+1 @author. The patch does not contain any @author tags.
-1 tests included. The patch doesn't appear to include any new or modified tests.
Please justify why no new tests are needed for this patch.
Also please list what manual steps were performed to verify this patch.
-1 patch. The patch command could not apply the patch.
Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/566//console
This message is automatically generated.
> LinuxTaskController does not work when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is enabled
> ----------------------------------------------------------------------------------------------------------------
>
> Key: MAPREDUCE-2915
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-2915
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: task-controller
> Affects Versions: 0.20.205.0
> Reporter: Kihwal Lee
> Assignee: Kihwal Lee
> Fix For: 0.20.205.0
>
> Attachments: linux_tc_fix.patch.txt
>
>
> When a job is submitted, LinuxTaskController launches the native task-controller binary for job initialization. The native program does a series of prep work and call execv() to run JobLocalizer. It was observed that JobLocalizer does fails to run when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is enabled, resulting in 100% job failures.
> JobLocalizer normally does not need the native library (libhadoop) for its functioning, but enabling a JNI user-to-group mapping function cause it to load the library. However, JobLocalizer cannot locate the library since "java.library.path" is not set.
> The proposed solution is to pass the java.library.path property through task-controller. LinuxTaskController already does it when launching the task log truncater.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (MAPREDUCE-2915) LinuxTaskController does not work
when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is
enabled
Posted by "Kihwal Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kihwal Lee updated MAPREDUCE-2915:
----------------------------------
Attachment: mr-2915.patch.txt
New patch with additional test.
Result of test-patch on 0.20-securuty:
{noformat}
[exec] +1 overall.
[exec]
[exec] +1 @author. The patch does not contain any @author tags.
[exec]
[exec] +1 tests included. The patch appears to include 3 new or modified tests.
[exec]
[exec] +1 javadoc. The javadoc tool did not generate any warning messages.
[exec]
[exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings.
[exec]
[exec] +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.
{noformat}
> LinuxTaskController does not work when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is enabled
> ----------------------------------------------------------------------------------------------------------------
>
> Key: MAPREDUCE-2915
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-2915
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: task-controller
> Affects Versions: 0.20.205.0
> Reporter: Kihwal Lee
> Assignee: Kihwal Lee
> Fix For: 0.20.205.0
>
> Attachments: linux_tc_fix.patch.txt, mr-2915.patch.txt
>
>
> When a job is submitted, LinuxTaskController launches the native task-controller binary for job initialization. The native program does a series of prep work and call execv() to run JobLocalizer. It was observed that JobLocalizer does fails to run when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is enabled, resulting in 100% job failures.
> JobLocalizer normally does not need the native library (libhadoop) for its functioning, but enabling a JNI user-to-group mapping function cause it to load the library. However, JobLocalizer cannot locate the library since "java.library.path" is not set.
> The proposed solution is to pass the java.library.path property through task-controller. LinuxTaskController already does it when launching the task log truncater.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MAPREDUCE-2915) LinuxTaskController does not
work when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is
enabled
Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13098639#comment-13098639 ]
Mahadev konar commented on MAPREDUCE-2915:
------------------------------------------
+1 for the patch. Kihwal, can you please confirm if ant test pass?
> LinuxTaskController does not work when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is enabled
> ----------------------------------------------------------------------------------------------------------------
>
> Key: MAPREDUCE-2915
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-2915
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: task-controller
> Affects Versions: 0.20.205.0
> Reporter: Kihwal Lee
> Assignee: Kihwal Lee
> Fix For: 0.20.205.0
>
> Attachments: linux_tc_fix.patch.txt, mr-2915.patch.txt
>
>
> When a job is submitted, LinuxTaskController launches the native task-controller binary for job initialization. The native program does a series of prep work and call execv() to run JobLocalizer. It was observed that JobLocalizer does fails to run when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is enabled, resulting in 100% job failures.
> JobLocalizer normally does not need the native library (libhadoop) for its functioning, but enabling a JNI user-to-group mapping function cause it to load the library. However, JobLocalizer cannot locate the library since "java.library.path" is not set.
> The proposed solution is to pass the java.library.path property through task-controller. LinuxTaskController already does it when launching the task log truncater.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (MAPREDUCE-2915) LinuxTaskController does not work
when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is
enabled
Posted by "Kihwal Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kihwal Lee updated MAPREDUCE-2915:
----------------------------------
Status: Patch Available (was: Open)
> LinuxTaskController does not work when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is enabled
> ----------------------------------------------------------------------------------------------------------------
>
> Key: MAPREDUCE-2915
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-2915
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: task-controller
> Affects Versions: 0.20.205.0
> Reporter: Kihwal Lee
> Assignee: Kihwal Lee
> Fix For: 0.20.205.0
>
> Attachments: linux_tc_fix.patch.txt
>
>
> When a job is submitted, LinuxTaskController launches the native task-controller binary for job initialization. The native program does a series of prep work and call execv() to run JobLocalizer. It was observed that JobLocalizer does fails to run when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is enabled, resulting in 100% job failures.
> JobLocalizer normally does not need the native library (libhadoop) for its functioning, but enabling a JNI user-to-group mapping function cause it to load the library. However, JobLocalizer cannot locate the library since "java.library.path" is not set.
> The proposed solution is to pass the java.library.path property through task-controller. LinuxTaskController already does it when launching the task log truncater.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MAPREDUCE-2915) LinuxTaskController does not
work when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is
enabled
Posted by "Kihwal Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13099295#comment-13099295 ]
Kihwal Lee commented on MAPREDUCE-2915:
---------------------------------------
The test just finished: No additional failures.
> LinuxTaskController does not work when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is enabled
> ----------------------------------------------------------------------------------------------------------------
>
> Key: MAPREDUCE-2915
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-2915
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: task-controller
> Affects Versions: 0.20.205.0
> Reporter: Kihwal Lee
> Assignee: Kihwal Lee
> Fix For: 0.20.205.0
>
> Attachments: linux_tc_fix.patch.txt, mr-2915.patch.txt
>
>
> When a job is submitted, LinuxTaskController launches the native task-controller binary for job initialization. The native program does a series of prep work and call execv() to run JobLocalizer. It was observed that JobLocalizer does fails to run when JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is enabled, resulting in 100% job failures.
> JobLocalizer normally does not need the native library (libhadoop) for its functioning, but enabling a JNI user-to-group mapping function cause it to load the library. However, JobLocalizer cannot locate the library since "java.library.path" is not set.
> The proposed solution is to pass the java.library.path property through task-controller. LinuxTaskController already does it when launching the task log truncater.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira