tez-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jteagles <...@git.apache.org>
Subject [GitHub] tez pull request #33: TEZ-3998: support constructing DAG with concurrent edg...
Date Fri, 19 Oct 2018 20:17:34 GMT
Github user jteagles commented on a diff in the pull request:

    https://github.com/apache/tez/pull/33#discussion_r226708226
  
    --- Diff: tez-runtime-library/src/main/java/org/apache/tez/dag/library/edgemanager/SilentEdgeManager.java
---
    @@ -0,0 +1,89 @@
    +/**
    + * 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.tez.dag.library.edgemanager;
    +
    +import org.apache.tez.dag.api.EdgeManagerPlugin;
    +import org.apache.tez.dag.api.EdgeManagerPluginContext;
    +import org.apache.tez.runtime.api.events.DataMovementEvent;
    +import org.apache.tez.runtime.api.events.InputReadErrorEvent;
    +
    +import java.util.List;
    +import java.util.Map;
    +
    +/**
    + * A dummy edge manager used in scenarios where application will depend on
    + * the direct connection between containers/tasks to handle all data communications,
    + * including both routing and actual data transfers.
    + */
    +
    +public class SilentEdgeManager extends EdgeManagerPlugin{
    --- End diff --
    
    Insert a space between "EdgeManagerPlugin" and "{"
    ```suggestion
    public class SilentEdgeManager extends EdgeManagerPlugin {
    ```


---

Mime
View raw message