carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ravipesala <...@git.apache.org>
Subject [GitHub] incubator-carbondata pull request #594: [CARBONDATA-701]Fix memory leak issu...
Date Thu, 16 Feb 2017 04:30:12 GMT
Github user ravipesala commented on a diff in the pull request:

    https://github.com/apache/incubator-carbondata/pull/594#discussion_r101443741
  
    --- Diff: processing/src/main/java/org/apache/carbondata/processing/newflow/sort/Sorter.java
---
    @@ -39,11 +39,13 @@
        * Sorts the data of all iterators, this iterators can be
        * read parallely depends on implementation.
        *
    -   * @param iterators array of iterators to read data.
        * @return
        * @throws CarbonDataLoadingException
        */
    -  Iterator<CarbonRowBatch>[] sort(Iterator<CarbonRowBatch>[] iterators)
    +  Iterator<CarbonRowBatch>[] sort()
    +      throws CarbonDataLoadingException;
    +
    +  void prepare(Iterator<CarbonRowBatch>[] iterators)
    --- End diff --
    
    Already previous steps file resources are closed where and when the use of it is over.
I don't think this method is required. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message