You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by tillrohrmann <gi...@git.apache.org> on 2017/10/19 12:43:22 UTC

[GitHub] flink pull request #4862: [FLINK-7862] [flip6] Add TaskManagerDetailsHandler

GitHub user tillrohrmann opened a pull request:

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

    [FLINK-7862] [flip6] Add TaskManagerDetailsHandler

    ## What is the purpose of the change
    
    Adds the `TaskManagerDetailsHandler` for the new Flip-6 REST endpoint.
    
    Additionally, this PR changes the Web UI such that it automatically calculates the total memory from the heap and non-heap values. Moreover, when requesting a single TaskManager's details, then no longer a single element array is sent but only the json for the details information.
    
    ## Verifying this change
    
    - Added `TaskManagerDetailsInfoTest` to test the (un)marshalling of the `TaskManagerDetailsInfo`.
    
    ## 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/tillrohrmann/flink addTaskManagerDetailsHandler

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

    https://github.com/apache/flink/pull/4862.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 #4862
    
----
commit df1225960193974918cd04ee43e957a72afb0fa1
Author: Till <ti...@gmail.com>
Date:   2017-10-19T11:51:55Z

    [FLINK-7875] [flip6] Start StaticFileServerHandler with random tmp dir

commit dd3300f4351378343be5a78b0f69b856c12c3787
Author: Till <ti...@gmail.com>
Date:   2017-10-19T10:32:26Z

    [FLINK-7874] Add logging to the ClusterEntrypoints

commit f35d6e73447acf954cf177bb917ecd1003fd339c
Author: Till <ti...@gmail.com>
Date:   2017-10-19T09:06:41Z

    [FLINK-7872] Allow to pass in additional HTTP headers
    
    HandlerUtils#sendResponse now accepts a map of additional http response headers
    and their values. This allows to set additional headers such as the
    ACCESS_CONTROL_ALLOW_ORIGIN header and its value.

commit 6a77f76b80deca381969ef346286ebefee40c1db
Author: Till <ti...@gmail.com>
Date:   2017-10-13T07:19:51Z

    [FLINK-7832] [flip6] Extend SlotManager to report free slots per TM
    
    Fail if slot belongs to a unregistered TaskManager
    
    Add more sanity checks
    
    Make the TaskManagerSlot state transitions clearer
    
    Introduce proper TaskManagerSlot state enum
    
    Refactor SlotManager for better maintainability

commit 2b45eed2b2bef11ad252d9a42cdc80a33bdf96c1
Author: Till <ti...@gmail.com>
Date:   2017-10-18T11:50:06Z

    [FLINK-7863] Generalize MetricFetcher to work with a RestfulGateway
    
    Add more logging to MetricFetcher

commit c5298103df6e2d6cf5db9a03554a882f6d240150
Author: Till <ti...@gmail.com>
Date:   2017-10-18T14:54:44Z

    [FLINK-7867] Start MetricQueryService in TaskManagerRunner

commit 54f90dd8b54b5390ca8e9a755060599c9066393d
Author: Till Rohrmann <tr...@apache.org>
Date:   2017-10-11T22:40:17Z

    [FLINK-7648] [flip6] Add TaskManagersHandler
    
    Send dataPort and HardwareDescription to RM
    
    Instantiate RM leader retriever

commit aa20de7592bb3942204649c74d2f261010cdd3ab
Author: Till <ti...@gmail.com>
Date:   2017-10-12T16:24:02Z

    [FLINK-7831] Make last received heartbeat retrievable
    
    This commit adds functionality to retrieve the last received heartbeat from
    the HeartbeatManager.

commit 70e2cbd2db5b92af633cfccc5d2addc90274d561
Author: Till <ti...@gmail.com>
Date:   2017-10-13T14:32:56Z

    [FLINK-7648] [flip6] Write HardwareDescription in sub object of legacy.TaskManagersHandler

commit a7cc6a605cfeb6056d64b9420049260552bb714d
Author: Till <ti...@gmail.com>
Date:   2017-10-17T13:03:41Z

    Move TaskManagersHandler to rest.handler.taskmanager

commit 4347099d48704d2e7411bde3d2e51acb0febbf0a
Author: Till <ti...@gmail.com>
Date:   2017-10-17T13:06:01Z

    Move TaskManager messages to rest.messages.taskmanager

commit 6ef2d1a06de062d91974cc75bbc96f58019bfa46
Author: Till <ti...@gmail.com>
Date:   2017-10-17T13:06:45Z

    Move TaskManager message tests to rest.messages.taskmanager

commit 17b44d8c280c8b5d2c9b535c815a47b66cdbdb83
Author: Till <ti...@gmail.com>
Date:   2017-10-17T15:02:30Z

    [FLINK-7862] [flip6] Add TaskManagerDetailsHandler
    
    Pass MetricQueryServiceRetriever to DispatcherRestEndpoint

commit 9cc0acb44817f7e1ec6525fb285c744c628234eb
Author: Till <ti...@gmail.com>
Date:   2017-10-18T17:03:28Z

    [FLINK-7862] No longer send inidividual TaskManager information in an array

commit 4818bfe77b65dda271f1f12b8cc31a1efafc897f
Author: Till <ti...@gmail.com>
Date:   2017-10-19T12:00:07Z

    [FLINK-7862] Change web ui to calculate total memory from heap and non-heap data

----


---

[GitHub] flink pull request #4862: [FLINK-7862] [flip6] Add TaskManagerDetailsHandler

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

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


---