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 "Hemanth Yamijala (JIRA)" <ji...@apache.org> on 2010/03/10 05:43:27 UTC

[jira] Commented: (MAPREDUCE-1418) LinuxTaskController binary misses validation of arguments passed for relative components in some cases.

    [ https://issues.apache.org/jira/browse/MAPREDUCE-1418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12843432#action_12843432 ] 

Hemanth Yamijala commented on MAPREDUCE-1418:
---------------------------------------------

The following functions in task-controller need modification:
- initialize_user
- initialize_task
- initialize_job
- initialize_distributed_cache_file

I will try and add unit tests in appropriate LinuxTaskController related test classes that call the taskcontroller with relative paths in arguments and verify the right error occurs.

> LinuxTaskController binary misses validation of arguments passed for relative components in some cases.
> -------------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1418
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1418
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: security, tasktracker
>            Reporter: Vinod K V
>            Assignee: Hemanth Yamijala
>
> The function {{int check_path_for_relative_components(char * path)}} should be used to validate the absence of relative components before any operation is done on those paths. This is missed in all the {{initialize*()}} functions, as Hemanth pointed out offline.

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