[ https://issues.apache.org/jira/browse/HADOOP-17918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17417147#comment-17417147 ]
Viraj Jasani commented on HADOOP-17918: --------------------------------------- Same limit applies to "seq.io.sort.mb" right? > memory field in SequenceFile.Sorter java int overflow > ----------------------------------------------------- > > Key: HADOOP-17918 > URL: https://issues.apache.org/jira/browse/HADOOP-17918 > Project: Hadoop Common > Issue Type: Bug > Components: common > Affects Versions: 3.3.1 > Reporter: yinan zhan > Priority: Major > > memory field in SequenceFile.Sorter, can cause run method in > SequenceFile.Sorter.SortPass enter an endless loop. > If you set the "io.sort.mb" attribute to a value greater than 2050, as a > result of > {code:java} > this.memory = conf.getInt(CommonConfigurationKeys.IO_SORT_MB_KEY, > CommonConfigurationKeys.SEQ_IO_SORT_MB_DEFAULT) * 1024 * 1024;{code} > , memory field java int overflow, may become negative, so memoryLimit field > in SequenceFile.Sorter.SortPass will be negative too, lead to run method in > SequenceFile.Sorter.SortPass enter an endless loop. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org