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

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

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

    https://github.com/apache/flink/pull/189#discussion_r25512682
  
    --- Diff: 
flink-staging/flink-tez/src/main/java/org/apache/flink/tez/client/RemoteTezEnvironment.java
 ---
    @@ -0,0 +1,79 @@
    +/*
    + * 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.client;
    +
    +import org.apache.commons.logging.Log;
    +import org.apache.commons.logging.LogFactory;
    +import org.apache.flink.api.common.JobExecutionResult;
    +import org.apache.flink.api.common.Plan;
    +import org.apache.flink.api.java.ExecutionEnvironment;
    +import org.apache.flink.compiler.DataStatistics;
    +import org.apache.flink.compiler.PactCompiler;
    +import org.apache.flink.compiler.costs.DefaultCostEstimator;
    +import org.apache.hadoop.conf.Configuration;
    +import org.apache.hadoop.fs.Path;
    +import org.apache.hadoop.util.ClassUtil;
    +import org.apache.hadoop.util.ToolRunner;
    +
    +
    +public class RemoteTezEnvironment extends ExecutionEnvironment {
    +
    +   private static final Log LOG = LogFactory.getLog(TezExecutor.class);
    +   
    +   private PactCompiler compiler;
    +   private TezExecutor executor;
    +   private Path jarPath = null;
    +   
    +
    +   public void registerMainClass (Class mainClass) {
    +           jarPath = new Path(ClassUtil.findContainingJar(mainClass));
    +           //this.jarURL = 
mainClass.getProtectionDomain().getCodeSource().getLocation();
    --- End diff --
    
    this looks like debugging code


> 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)

Reply via email to