You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Alejandro Abdelnur (JIRA)" <ji...@apache.org> on 2007/10/02 07:01:50 UTC
[jira] Created: (HADOOP-1982) TaskTracker provided
java.library.path is lost if set in the job.xml
TaskTracker provided java.library.path is lost if set in the job.xml
--------------------------------------------------------------------
Key: HADOOP-1982
URL: https://issues.apache.org/jira/browse/HADOOP-1982
Project: Hadoop
Issue Type: Bug
Components: mapred
Environment: all
Reporter: Alejandro Abdelnur
Priority: Blocker
Fix For: 0.14.2
if a job 'mapred.child.java.opts' property includes a '-Djava.library.path" option this overrides the one set by the TaskTracker when setting up the taskrunner.
instead it should append it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-1982) TaskTracker provided
java.library.path is lost if set in the job.xml
Posted by "Enis Soztutar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-1982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12531710 ]
Enis Soztutar commented on HADOOP-1982:
---------------------------------------
The lines below gets the library.path from System, apends them to the arguments to child task process. Are you sure there is a problem ? If so, could you please give more detail ASAP?
{code}
String libraryPath = System.getProperty("java.library.path");
if (libraryPath != null) {
boolean hasLibrary = false;
for(int i=0; i<javaOptsSplit.length ;i++) {
if(javaOptsSplit[i].startsWith("-Djava.library.path=")) {
javaOptsSplit[i] += sep + libraryPath;
hasLibrary = true;
break;
}
}
if(!hasLibrary)
vargs.add("-Djava.library.path=" + libraryPath);
}
{code}
> TaskTracker provided java.library.path is lost if set in the job.xml
> --------------------------------------------------------------------
>
> Key: HADOOP-1982
> URL: https://issues.apache.org/jira/browse/HADOOP-1982
> Project: Hadoop
> Issue Type: Bug
> Components: mapred
> Environment: all
> Reporter: Alejandro Abdelnur
> Priority: Blocker
> Fix For: 0.14.2
>
>
> if a job 'mapred.child.java.opts' property includes a '-Djava.library.path" option this overrides the one set by the TaskTracker when setting up the taskrunner.
> instead it should append it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HADOOP-1982) TaskTracker provided
java.library.path is lost if set in the job.xml
Posted by "Enis Soztutar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-1982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Enis Soztutar reassigned HADOOP-1982:
-------------------------------------
Assignee: Enis Soztutar
> TaskTracker provided java.library.path is lost if set in the job.xml
> --------------------------------------------------------------------
>
> Key: HADOOP-1982
> URL: https://issues.apache.org/jira/browse/HADOOP-1982
> Project: Hadoop
> Issue Type: Bug
> Components: mapred
> Environment: all
> Reporter: Alejandro Abdelnur
> Assignee: Enis Soztutar
> Priority: Blocker
> Fix For: 0.14.2
>
>
> if a job 'mapred.child.java.opts' property includes a '-Djava.library.path" option this overrides the one set by the TaskTracker when setting up the taskrunner.
> instead it should append it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HADOOP-1982) TaskTracker provided
java.library.path is lost if set in the job.xml
Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-1982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alejandro Abdelnur resolved HADOOP-1982.
----------------------------------------
Resolution: Duplicate
Hadoop 1493 already fixed this problem.
> TaskTracker provided java.library.path is lost if set in the job.xml
> --------------------------------------------------------------------
>
> Key: HADOOP-1982
> URL: https://issues.apache.org/jira/browse/HADOOP-1982
> Project: Hadoop
> Issue Type: Bug
> Components: mapred
> Environment: all
> Reporter: Alejandro Abdelnur
> Assignee: Enis Soztutar
> Priority: Blocker
> Fix For: 0.14.2
>
>
> if a job 'mapred.child.java.opts' property includes a '-Djava.library.path" option this overrides the one set by the TaskTracker when setting up the taskrunner.
> instead it should append it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-1982) TaskTracker provided
java.library.path is lost if set in the job.xml
Posted by "Enis Soztutar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-1982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12531712 ]
Enis Soztutar commented on HADOOP-1982:
---------------------------------------
To clarify a bit, the code above is not a patch, just the code in the trunk (and in 0.14 branch).
> TaskTracker provided java.library.path is lost if set in the job.xml
> --------------------------------------------------------------------
>
> Key: HADOOP-1982
> URL: https://issues.apache.org/jira/browse/HADOOP-1982
> Project: Hadoop
> Issue Type: Bug
> Components: mapred
> Environment: all
> Reporter: Alejandro Abdelnur
> Assignee: Enis Soztutar
> Priority: Blocker
> Fix For: 0.14.2
>
>
> if a job 'mapred.child.java.opts' property includes a '-Djava.library.path" option this overrides the one set by the TaskTracker when setting up the taskrunner.
> instead it should append it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-1982) TaskTracker provided
java.library.path is lost if set in the job.xml
Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-1982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doug Cutting updated HADOOP-1982:
---------------------------------
Fix Version/s: (was: 0.14.2)
> TaskTracker provided java.library.path is lost if set in the job.xml
> --------------------------------------------------------------------
>
> Key: HADOOP-1982
> URL: https://issues.apache.org/jira/browse/HADOOP-1982
> Project: Hadoop
> Issue Type: Bug
> Components: mapred
> Environment: all
> Reporter: Alejandro Abdelnur
> Assignee: Enis Soztutar
> Priority: Blocker
>
> if a job 'mapred.child.java.opts' property includes a '-Djava.library.path" option this overrides the one set by the TaskTracker when setting up the taskrunner.
> instead it should append it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.