You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "zhihai xu (JIRA)" <ji...@apache.org> on 2015/06/05 01:00:43 UTC
[jira] [Assigned] (YARN-3768) Index out of range exception with
environment variables without values
[ https://issues.apache.org/jira/browse/YARN-3768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
zhihai xu reassigned YARN-3768:
-------------------------------
Assignee: zhihai xu
> Index out of range exception with environment variables without values
> ----------------------------------------------------------------------
>
> Key: YARN-3768
> URL: https://issues.apache.org/jira/browse/YARN-3768
> Project: Hadoop YARN
> Issue Type: Bug
> Components: yarn
> Affects Versions: 2.5.0
> Reporter: Joe Ferner
> Assignee: zhihai xu
>
> Looking at line 80 of org.apache.hadoop.yarn.util.Apps an index out of range exception occurs if an environment variable is encountered without a value.
> I believe this occurs because java will not return empty strings from the split method. Similar to this http://stackoverflow.com/questions/14602062/java-string-split-removed-empty-values
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)