[ https://issues.apache.org/jira/browse/MAPREDUCE-4397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492801#comment-13492801 ]
Yu Gao commented on MAPREDUCE-4397: ----------------------------------- Posted test-patch result. Here is the test result of test-task-controller: [exec] Starting tests [exec] [exec] Testing get_user_directory() [exec] [exec] Testing get_job_directory() [exec] [exec] Testing get_attempt_directory() [exec] [exec] Testing get_task_launcher_file() [exec] [exec] Testing get_job_log_dir() [exec] [exec] Testing get_config_path [exec] [exec] Testing check_configuration_permissions [exec] File /tmp/test-task-controller must be owned by root, but is owned by 500 [exec] [exec] Testing get_task_log_dir() [exec] [exec] Testing delete_task() [exec] Unreadable directory /tmp/test-task-controller/local-2/taskTracker/biadmin/jobcache/job_1/task_1/work/who/let, chmoding. [exec] [exec] Testing delete_job() [exec] Unreadable directory /tmp/test-task-controller/local-2/taskTracker/biadmin/jobcache/job_2/task_1/work/who/let, chmoding. [exec] [exec] Testing delete_user [exec] [exec] Testing test_check_user [exec] Requested user lp has id 4, which is below the minimum allowed 100 [exec] Running as root is not allowed [exec] User mapred not found [exec] [exec] Testing test_create_log_directory [exec] [exec] Testing delete_log_directory [exec] [exec] Running test test_signal_task in child process [exec] [exec] Testing signal_task [exec] Child task launched as 26548 [exec] Killing process 26548 with 3 [exec] [exec] Running test test_signal_task_group in child process [exec] [exec] Testing group signal_task [exec] Child task launched as 26550 [exec] Killing process group 26550 with 9 [exec] [exec] Finished tests [exec] PASS: test-task-controller [exec] ================== [exec] All 1 tests passed [exec] ================== > Introduce HADOOP_SECURITY_CONF_DIR for task-controller > ------------------------------------------------------ > > Key: MAPREDUCE-4397 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-4397 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Components: task-controller > Reporter: Luke Lu > Assignee: Yu Gao > Attachments: mapreduce-4397-branch-1.patch, test-patch.result > > > The linux task controller concurrently hard code the directory to look for > its config file at compile time (via the HADOOP_CONF_DIR macro). Adding a new > environment variable to look for task-controller's conf dir (with strict > permission checks) would make installation much more flexible. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira