You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apex.apache.org by "Tushar Gosavi (JIRA)" <ji...@apache.org> on 2016/06/15 11:24:09 UTC
[jira] [Created] (APEXMALHAR-2119) Make DirectoryScanner in
AbstractFileInputOperator inheritance friendly.
Tushar Gosavi created APEXMALHAR-2119:
-----------------------------------------
Summary: Make DirectoryScanner in AbstractFileInputOperator inheritance friendly.
Key: APEXMALHAR-2119
URL: https://issues.apache.org/jira/browse/APEXMALHAR-2119
Project: Apache Apex Malhar
Issue Type: Bug
Reporter: Tushar Gosavi
Assignee: Tushar Gosavi
The DirectoryScanner has partitionIndex and partitionCount declared as private without any setters. Inherited DirectoryScanner can not set them and hence can not call most of the methods in DirectoryScanner which depends on these fields (acceptFile).
Also new DirectoryScanner has to implement createPartition as default one creates instance of DirectoryScanner by default.
Make the class inheritance friendly by adding setters and use kryo clone in createPartition.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)