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-1219) Add support for Apache Tez as execution engine
Date Thu, 04 Dec 2014 14:08:13 GMT

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

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

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

    https://github.com/apache/incubator-flink/pull/189#discussion_r21305376
  
    --- Diff: flink-addons/flink-tez/src/main/java/org/apache/flink/tez/examples/ConnectedComponentsStep.java
---
    @@ -0,0 +1,201 @@
    +/*
    + * 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.tez.examples;
    +
    +import org.apache.flink.api.common.ProgramDescription;
    +import org.apache.flink.api.common.functions.FlatJoinFunction;
    +import org.apache.flink.api.common.functions.FlatMapFunction;
    +import org.apache.flink.api.common.functions.JoinFunction;
    +import org.apache.flink.api.common.functions.MapFunction;
    +import org.apache.flink.api.java.DataSet;
    +import org.apache.flink.api.java.ExecutionEnvironment;
    +import org.apache.flink.api.java.aggregation.Aggregations;
    +import org.apache.flink.api.java.functions.FunctionAnnotation;
    +import org.apache.flink.api.java.tuple.Tuple1;
    +import org.apache.flink.api.java.tuple.Tuple2;
    +import org.apache.flink.examples.java.graph.util.ConnectedComponentsData;
    +import org.apache.flink.util.Collector;
    +
    +
    +public class ConnectedComponentsStep implements ProgramDescription {
    +
    +	// *************************************************************************
    +	//     PROGRAM
    +	// *************************************************************************
    +
    +	public static void main(String... args) throws Exception {
    +
    +		if(!parseParameters(args)) {
    +			return;
    +		}
    +
    +		// set up execution environment
    +		ExecutionEnvironment env = ExecutionEnvironment.getExecutionEnvironment();
    --- End diff --
    
    I left this as is so that the tests can create their environment and the example does
not overwrite that


> Add support for Apache Tez as execution engine
> ----------------------------------------------
>
>                 Key: FLINK-1219
>                 URL: https://issues.apache.org/jira/browse/FLINK-1219
>             Project: Flink
>          Issue Type: New Feature
>            Reporter: Kostas Tzoumas
>            Assignee: Kostas Tzoumas
>
> This is an umbrella issue to track Apache Tez support.
> The goal is to be able to run unmodified Flink programs as Apache Tez jobs.



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

Mime
View raw message