FAQ
task-controller can drop last char from config file
---------------------------------------------------

Key: HADOOP-7476
URL: https://issues.apache.org/jira/browse/HADOOP-7476
Project: Hadoop Common
Issue Type: Bug
Components: security
Affects Versions: 0.20.203.0
Reporter: Allen Wittenauer
Priority: Trivial


It looks as though task-controller's configuration file reader assumes that the output of getline() always ends with \n\0. This assumption does not appear to be safe. See comments for more.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Search Discussions

  • Aaron T. Myers (JIRA) at Jul 19, 2011 at 9:43 pm
    [ https://issues.apache.org/jira/browse/HADOOP-7476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Aaron T. Myers resolved HADOOP-7476.
    ------------------------------------

    Resolution: Duplicate
    task-controller can drop last char from config file
    ---------------------------------------------------

    Key: HADOOP-7476
    URL: https://issues.apache.org/jira/browse/HADOOP-7476
    Project: Hadoop Common
    Issue Type: Bug
    Components: security
    Affects Versions: 0.20.203.0
    Reporter: Allen Wittenauer
    Priority: Trivial

    It looks as though task-controller's configuration file reader assumes that the output of getline() always ends with \n\0. This assumption does not appear to be safe. See comments for more.
    --
    This message is automatically generated by JIRA.
    For more information on JIRA, see: http://www.atlassian.com/software/jira

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedJul 19, '11 at 9:27p
activeJul 19, '11 at 9:43p
posts2
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Aaron T. Myers (JIRA): 2 posts

People

Translate

site design / logo © 2022 Grokbase