You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Zhijie Shen (JIRA)" <ji...@apache.org> on 2013/08/14 19:46:50 UTC
[jira] [Commented] (HADOOP-9869) Configuration.getSocketAddr()
should use getTrimmed()
[ https://issues.apache.org/jira/browse/HADOOP-9869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13739944#comment-13739944 ]
Zhijie Shen commented on HADOOP-9869:
-------------------------------------
getEnum and getPattern seem not to trim the string before usage as well.
> Configuration.getSocketAddr() should use getTrimmed()
> ------------------------------------------------------
>
> Key: HADOOP-9869
> URL: https://issues.apache.org/jira/browse/HADOOP-9869
> Project: Hadoop Common
> Issue Type: Improvement
> Components: conf
> Affects Versions: 3.0.0, 2.1.0-beta, 1.3.0
> Reporter: Steve Loughran
> Priority: Minor
>
> YARN-1059 has shown that the hostname:port string used for the address of things like the RM isn't trimmed before its parsed, leading to errors that aren't that obvious.
> We should trim it -it's clearly not going to break any existing (valid) configurations
--
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