You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tez.apache.org by Raajay <ra...@gmail.com> on 2015/08/27 22:52:59 UTC
Tez client
Hi,
How should I go about writing a Tez client? Essentially, I have DAG's
de-serialized from Hive, and make modifications to it. Now I want to use
information from the DAG and submit a tez job.
Any sample code for a tez client will help me get started quickly.
Thanks
Raajay
Re: Tez client
Posted by Oleg Zhurakousky <oz...@hortonworks.com>.
You can look at Tez examples that come with the project. They all go through the process of creating DAG, initializing TezClient and submitting a job.
Cheers
Oleg
Sent from my iPhone
> On Aug 27, 2015, at 16:53, Raajay <ra...@gmail.com> wrote:
>
> Hi,
>
> How should I go about writing a Tez client? Essentially, I have DAG's de-serialized from Hive, and make modifications to it. Now I want to use information from the DAG and submit a tez job.
>
> Any sample code for a tez client will help me get started quickly.
>
> Thanks
> Raajay
Re: Tez client
Posted by Raajay <ra...@gmail.com>.
Great. Thanks!
On Thu, Aug 27, 2015 at 4:00 PM, Hitesh Shah <hi...@apache.org> wrote:
> Take a look at say OrderedWordCount.java and TezExampleBase.java from
> tez-examples.
>
> The basic steps are:
> - construct TezClient, call tezclient.start()
> - submit dag using TezClient::submitDAG
> - use DAGClient from the submitDAG response to monitor the DAG progress
>
> — Hitesh
>
> On Aug 27, 2015, at 1:52 PM, Raajay <ra...@gmail.com> wrote:
>
> > Hi,
> >
> > How should I go about writing a Tez client? Essentially, I have DAG's
> de-serialized from Hive, and make modifications to it. Now I want to use
> information from the DAG and submit a tez job.
> >
> > Any sample code for a tez client will help me get started quickly.
> >
> > Thanks
> > Raajay
>
>
Re: Tez client
Posted by Hitesh Shah <hi...@apache.org>.
Take a look at say OrderedWordCount.java and TezExampleBase.java from tez-examples.
The basic steps are:
- construct TezClient, call tezclient.start()
- submit dag using TezClient::submitDAG
- use DAGClient from the submitDAG response to monitor the DAG progress
— Hitesh
On Aug 27, 2015, at 1:52 PM, Raajay <ra...@gmail.com> wrote:
> Hi,
>
> How should I go about writing a Tez client? Essentially, I have DAG's de-serialized from Hive, and make modifications to it. Now I want to use information from the DAG and submit a tez job.
>
> Any sample code for a tez client will help me get started quickly.
>
> Thanks
> Raajay