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-7312) activate checkstyle for flink/core/memory/*
Date Tue, 01 Aug 2017 08:49:00 GMT

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

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

GitHub user NicoK opened a pull request:

    https://github.com/apache/flink/pull/4447

    [FLINK-7312][checkstyle] activate checkstyle for flink/core/memory/*

    ## What is the purpose of the change
    
    Activate checkstyle for `flink/core/memory/*`.
    
    This PR is based on #4446.
    
    ## Brief change log
    
      - adapt the code to the checkstyle rules
      - remove the checkstyle suppression for `"(.*)core[/\\]memory[/\\](.*)"`
    
    ## Verifying this change
    
    This change is a trivial rework / code cleanup without any test coverage.
    
    ## Does this pull request potentially affect one of the following parts:
    
      - Dependencies (does it add or upgrade a dependency): (no)
      - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (no)
      - The serializers: (no)
      - The runtime per-record code paths (performance sensitive): (no)
      - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing,
Yarn/Mesos, ZooKeeper: (no)
    
    ## Documentation
    
      - Does this pull request introduce a new feature? (no)
      - If yes, how is the feature documented? (not applicable)
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/NicoK/flink flink-7312

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/4447.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4447
    
----
commit c62e793712effbfb53ea6442b5d714a68081f7ec
Author: Nico Kruber <nico@data-artisans.com>
Date:   2017-07-31T10:06:14Z

    [hotfix] fix some typos

commit d3c4e231a96b6ae133576a74646294749ab3809a
Author: Nico Kruber <nico@data-artisans.com>
Date:   2017-07-31T12:18:42Z

    [FLINK-7310][core] always use the HybridMemorySegment
    
    Since we'd like to use our own off-heap buffers for network communication, we
    cannot use HeapMemorySegment anymore and need to rely on HybridMemorySegment.
    We thus drop any code that loads the HeapMemorySegment (it is still available
    if needed) in favour of the HybridMemorySegment which is able to work on both
    heap and off-heap memory.
    
    For the performance penalty of this change compared to using HeapMemorySegment
    alone, see this interesting blob article (from 2015):
    https://flink.apache.org/news/2015/09/16/off-heap-memory.html

commit e1de341a82148939314a90fde6f5c289f3dc9a10
Author: Nico Kruber <nico@data-artisans.com>
Date:   2017-07-31T12:36:56Z

    [FLINK-7311][tests] refrain from using fail(Exception#getMessage())

commit 3839b83d708a48ac789261d86f6f08beb3d65b34
Author: Nico Kruber <nico@data-artisans.com>
Date:   2017-07-31T13:35:37Z

    [FLINK-7312][checkstyle] activate checkstyle for flink/core/memory/*

----


> activate checkstyle for flink/core/memory/*
> -------------------------------------------
>
>                 Key: FLINK-7312
>                 URL: https://issues.apache.org/jira/browse/FLINK-7312
>             Project: Flink
>          Issue Type: Improvement
>          Components: Checkstyle, Core
>    Affects Versions: 1.4.0
>            Reporter: Nico Kruber
>            Assignee: Nico Kruber
>            Priority: Minor
>




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

Mime
View raw message