Just to give a bit more color - these exist because the yarn API
changed and we'd like to support both for a while. Rather than
introduce shims we just factored out the common code and maintain
isolated builds for either one.

- Patrick

On Fri, Jan 3, 2014 at 2:34 PM, Patrick Wendell <pwend...@gmail.com> wrote:
> Yes
>
> On Fri, Jan 3, 2014 at 2:33 PM, Ted Yu <yuzhih...@gmail.com> wrote:
>> Hi,
>> There're two copies of classes w.r.t. YARN:
>>
>> -rw-r--r--  1 tyu  staff  9710 Jan  3 10:14
>> /Users/tyu/spark//yarn/alpha/src/main/scala/org/apache/spark/deploy/yarn/WorkerLauncher.scala
>> -rw-r--r--  1 tyu  staff  8189 Jan  3 10:14
>> /Users/tyu/spark//yarn/stable/src/main/scala/org/apache/spark/deploy/yarn/WorkerLauncher.scala
>>
>> The class under yarn/stable is for YARN 2.2, right ?
>>
>> Cheers

Reply via email to