[
https://issues.apache.org/jira/browse/DRILL-4603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15252406#comment-15252406
]
ASF GitHub Bot commented on DRILL-4603:
---------------------------------------
Github user vkorukanti commented on the pull request:
https://github.com/apache/drill/pull/476#issuecomment-213052943
Updated patch:
- Add optional Hadoop configuration override for WorkspaceConfig
- Rename FormatSelect to FileSystemReadEntry. An additional entry
'workspace'
is added to identify which workspace this read entry came from.
- GroupScans/SubScans/Writers in FileSystemPlugin now have one more extra
parameter "workspace"
> Refactor FileSystem plugin code to allow customizations
> -------------------------------------------------------
>
> Key: DRILL-4603
> URL: https://issues.apache.org/jira/browse/DRILL-4603
> Project: Apache Drill
> Issue Type: Improvement
> Components: Storage - Other
> Reporter: Venki Korukanti
> Assignee: Venki Korukanti
> Fix For: 1.7.0
>
>
> Currently FileSystemPlugin is hard to extend, lot of logic for creating
> component implementations ({{WorkspaceSchemaFactory}}s, {{FormatCreator},
> defining default workspaces and configuration (implicit to FileSystem
> implementation)) are hard coded in constructor.
>
> This JIRA is to track
> * refactoring the FileSystemPlugin to allow custom component implementations
> (Configuration, WorkSpaceSchemaFactory, FileSystemSchemaFactory or
> FormatCreator).
> * Share a single Hadoop {{Configuration}} object to create new
> {{Configuration}} objects. Creating a new {{Configuration}} without an
> existing copy is not efficient, because it involves scanning the classpath
> for *-site files.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)