flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chesnay Schepler (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (FLINK-7114) Remove the hardcoded way like classpath is written by a string
Date Fri, 07 Jul 2017 12:48:00 GMT

     [ https://issues.apache.org/jira/browse/FLINK-7114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chesnay Schepler closed FLINK-7114.
-----------------------------------
    Resolution: Won't Fix

The classes are hard-coded to reduce the dependency on hadoop. The eventual goal is to eliminate
hadoop as a dependency for Flink, and rely on reflection to load classes if needed, effectively
making it an optional dependency.

> Remove the hardcoded way like classpath is written by a string
> --------------------------------------------------------------
>
>                 Key: FLINK-7114
>                 URL: https://issues.apache.org/jira/browse/FLINK-7114
>             Project: Flink
>          Issue Type: Bug
>          Components: Local Runtime
>            Reporter: mingleizhang
>            Assignee: mingleizhang
>
> For example, Like in {{HadoopFileSystem}}  class, there is a field which is written like
{{private static final String DEFAULT_HDFS_CLASS = "org.apache.hadoop.hdfs.DistributedFileSystem";}}.
This way of writing has a bad stuff, once the classpath changes, it is difficult to find the
error. I suggest we should change it to a more flexable way.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message