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-7057) move BLOB ref-counting from LibraryCacheManager to BlobCache
Date Thu, 17 Aug 2017 11:39:00 GMT

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

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

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

    https://github.com/apache/flink/pull/4238#discussion_r133688568
  
    --- Diff: flink-runtime/src/test/java/org/apache/flink/runtime/testtasks/FailingBlockingInvokable.java
---
    @@ -0,0 +1,48 @@
    +/*
    + * Licensed to the Apache Software Foundation (ASF) under one
    + * or more contributor license agreements.  See the NOTICE file
    + * distributed with this work for additional information
    + * regarding copyright ownership.  The ASF licenses this file
    + * to you under the Apache License, Version 2.0 (the
    + * "License"); you may not use this file except in compliance
    + * with the License.  You may obtain a copy of the License at
    + *
    + *     http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing, software
    + * distributed under the License is distributed on an "AS IS" BASIS,
    + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    + * See the License for the specific language governing permissions and
    + * limitations under the License.
    + */
    +
    +package org.apache.flink.runtime.testtasks;
    +
    +import org.apache.flink.runtime.jobgraph.tasks.AbstractInvokable;
    +
    +/**
    + * Task which blocks until the (static) {@link #unblock()} method is called and then
fails with an
    + * exception.
    + */
    +public class FailingBlockingInvokable extends AbstractInvokable {
    +	private static boolean blocking = true;
    --- End diff --
    
    oh, sure


> move BLOB ref-counting from LibraryCacheManager to BlobCache
> ------------------------------------------------------------
>
>                 Key: FLINK-7057
>                 URL: https://issues.apache.org/jira/browse/FLINK-7057
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Distributed Coordination, Network
>    Affects Versions: 1.4.0
>            Reporter: Nico Kruber
>            Assignee: Nico Kruber
>
> Currently, the {{LibraryCacheManager}} is doing some ref-counting for JAR files managed
by it. Instead, we want the {{BlobCache}} to do that itself for all job-related BLOBs. Also,
we do not want to operate on a per-{{BlobKey}} level but rather per job. Therefore, the cleanup
process should be adapted, too.



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

Mime
View raw message