I recommend sticking to older APIs for the 1.x release line (Know that
1.x is a micro revision over and a rename of the 0.20.20x branches
[0]).

Do not worry about the @deprecated markers, these APIs are still fully
available and supported upto 0.23 and beyond, and should give off no
upgrade worries.

[0] - This post and its graphics may help solve some confusion that
has been induced:
http://www.cloudera.com/blog/2012/01/an-update-on-apache-hadoop-1-0/

On Wed, Jan 25, 2012 at 6:16 PM, Ondřej Klimpera <[email protected]> wrote:
> I'm using 1.0.0 beta, suppose it was wrong decision to use beta version. So
> do you recommend using 0.20.203.X and stick to Hadoop definitive guide
> approaches?
>
> Thanks for your reply
>
>
> On 01/25/2012 01:41 PM, Harsh J wrote:
>>
>> Oh and btw, do not fear the @deprecated 'Old' API. We have
>> undeprecated it in the recent stable releases, and will continue to
>> support it for a long time. I'd recommend using the older API, as that
>> is more feature complete and test covered in the version you use.
>>
>> On Wed, Jan 25, 2012 at 6:09 PM, Harsh J<[email protected]>  wrote:
>>>
>>> What version/release/distro of Hadoop are you using? Apache releases
>>> got the new (unstable) API MultipleOutputs only in 0.21+, and was only
>>> very recently backported to branch-1.
>>>
>>> That said, the next release in 1.x (1.1.0, out soon) will carry the
>>> new API MultipleOutputs, but presently no release in 0.20.xxx/1.x has
>>> it.
>>>
>>> I'd still recommend sticking to stable API if you are using a
>>> 0.20.x/1.x stable Apache release.
>>>
>>> On Wed, Jan 25, 2012 at 5:13 PM, Ondřej Klimpera<[email protected]>
>>>  wrote:
>>>>
>>>> Hello,
>>>>
>>>> I'm trying to develop an application, where Reducer has to produce
>>>> multiple
>>>> outputs.
>>>>
>>>> In detail I need the Reducer to produce two types of files. Each file
>>>> will
>>>> have different output.
>>>>
>>>> I found in Hadoop, The Definitive Guide, that new API uses only
>>>> MultipleOutputs, but working with MultipleOutputs requires JobConf
>>>> instace,
>>>> that is @deprecated (I'm using org.apache.hadoop.mapreduce.Job instance
>>>> to
>>>> handle job configuration).
>>>>
>>>> So I'm wondering how to get MultipleOutputs working.
>>>>
>>>> Can you please provide me some short example or explanation.
>>>>
>>>> Thanks for your reply.
>>>>
>>>> Regards
>>>>
>>>> Ondrej Klimpera
>>>
>>>
>>>
>>> --
>>> Harsh J
>>> Customer Ops. Engineer, Cloudera
>>
>>
>>
>



-- 
Harsh J
Customer Ops. Engineer, Cloudera

Reply via email to