flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-4315) Deprecate Hadoop dependent methods in flink-java
Date Mon, 31 Oct 2016 15:50:58 GMT

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

ASF GitHub Bot commented on FLINK-4315:
---------------------------------------

Github user fhueske commented on a diff in the pull request:

    https://github.com/apache/flink/pull/2637#discussion_r85768134
  
    --- Diff: flink-java/src/test/java/org/apache/flink/api/java/operator/JoinOperatorTest.java
---
    @@ -1211,7 +1210,6 @@ public String toString() {
     		public String myString;
     		public Object nothing;
     		public List<String> countries;
    -		public Writable interfaceTest;
    --- End diff --
    
    The interface here checks for correct type extraction and handling of Flink. For that
this variable does not need to be used but just declared. 
    However, this functionality is tested at other places as well. 
    So, +1 for removing this line.


> Deprecate Hadoop dependent methods in flink-java
> ------------------------------------------------
>
>                 Key: FLINK-4315
>                 URL: https://issues.apache.org/jira/browse/FLINK-4315
>             Project: Flink
>          Issue Type: Task
>          Components: Java API
>            Reporter: Stephan Ewen
>            Assignee: Evgeny Kincharov
>             Fix For: 2.0.0
>
>
> The API projects should be independent of Hadoop, because Hadoop is not an integral part
of the Flink stack, and we should have the option to offer Flink without Hadoop dependencies.
> The current batch APIs have a hard dependency on Hadoop, mainly because the API has utility
methods like `readHadoopFile(...)`.
> I suggest to deprecate those methods and add helpers in the `flink-hadoop-compatibility`
project.
> FLINK-4048 will later remove the deprecated methods.



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

Mime
View raw message