You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2017/07/07 12:48:00 UTC

[jira] [Closed] (FLINK-7114) Remove the hardcoded way like classpath is written by a string

     [ 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)