[ 
https://issues.apache.org/jira/browse/PHOENIX-1600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14284707#comment-14284707
 ] 

Hudson commented on PHOENIX-1600:
---------------------------------

SUCCESS: Integrated in Phoenix-3.0-hadoop1 #355 (See 
[https://builds.apache.org/job/Phoenix-3.0-hadoop1/355/])
PHOENIX-1600 Scanner is left unclosed in MetaDataEndpointImpl#doDropTable() 
(Ted Yu) (samarth.jain: rev 8d16f8b638d987645111d2bb74b2e8190472f6f2)
* 
phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java


> Scanner is left unclosed in MetaDataEndpointImpl#doDropTable()
> --------------------------------------------------------------
>
>                 Key: PHOENIX-1600
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1600
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Minor
>             Fix For: 5.0.0, 4.3, 3.3
>
>         Attachments: phoenix-1600-001.patch, phoenix-1600-002.patch, 
> phoenix-1600-3.0.patch
>
>
> {code}
>         RegionScanner scanner = region.getScanner(scan);
>         List<Cell> results = Lists.newArrayList();
>         scanner.next(results);
>         if (results.isEmpty()) { // Should not be possible
>             return new MetaDataMutationResult(MutationCode.TABLE_NOT_FOUND, 
> EnvironmentEdgeManager.currentTimeMillis(), null);
>         }
> {code}
> scanner is left unclosed.
> buildDeletedTable() has unclosed scanner as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to