You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by maha <ma...@umail.ucsb.edu> on 2010/11/10 22:45:54 UTC

JobConf

I'm trying to compile a mapReduce program but it says:

 X     conf.setInputPath( ...
method setIputPath is undefined for type JobConf

and when I checked the JobConf class within built-path external-archived hadoop-0.20.2-core.jar file, the class JobConf didn't have this method. How can I add it to the list ? I couldn't even edit the JobConf.class because the source code is unavailable.

any link to where is this issue handled ?

Thanks,

 Maha

Re: JobConf

Posted by maha <ma...@umail.ucsb.edu>.
That is exactly what I needed :) Thanks again Alex,
Maha

On Nov 14, 2010, at 9:54 PM, Alex Baranau wrote:

> You might find this search tool valuable: http://search-hadoop.com. You can
> do search in sources and javadocs separately.
> 
> Alex Baranau
> ----
> Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - HBase
> 
> On Sun, Nov 14, 2010 at 10:28 PM, maha <ma...@umail.ucsb.edu> wrote:
> 
>> Never mind Jeff ...  I guess your answer would be to read Hadoop manual
>> pages and to keep practicing Java programming!
>> 
>> Because I'm trying to write a Hadoop program and it's taking me time to
>> know which class to use for myPurpose.
>> 
>>   So thanks anyways,
>> 
>>  Maha
>> 
>> On Nov 11, 2010, at 6:22 PM, Jeff Zhang wrote:
>> 
>>> Sorry, I do not get your point. What do you mean ?
>>> 
>>> 
>>> On Fri, Nov 12, 2010 at 1:57 AM, maha <ma...@umail.ucsb.edu> wrote:
>>>> Thanks Jeff :) How could you recall all possible readInputFile methods
>> from different classes? Is there like a spacial way to search Java APIs?
>>>> 
>>>> Maha
>>>> On Nov 10, 2010, at 5:13 PM, Jeff Zhang wrote:
>>>> 
>>>>> Use FileInputFormat.setInputPaths
>>>>> 
>>>>> 
>>>>> 
>>>>> On Thu, Nov 11, 2010 at 5:45 AM, maha <ma...@umail.ucsb.edu> wrote:
>>>>>> I'm trying to compile a mapReduce program but it says:
>>>>>> 
>>>>>> X     conf.setInputPath( ...
>>>>>> method setIputPath is undefined for type JobConf
>>>>>> 
>>>>>> and when I checked the JobConf class within built-path
>> external-archived hadoop-0.20.2-core.jar file, the class JobConf didn't have
>> this method. How can I add it to the list ? I couldn't even edit the
>> JobConf.class because the source code is unavailable.
>>>>>> 
>>>>>> any link to where is this issue handled ?
>>>>>> 
>>>>>> Thanks,
>>>>>> 
>>>>>> Maha
>>>>> 
>>>>> 
>>>>> 
>>>>> --
>>>>> Best Regards
>>>>> 
>>>>> Jeff Zhang
>>>> 
>>>> 
>>> 
>>> 
>>> 
>>> --
>>> Best Regards
>>> 
>>> Jeff Zhang
>> 
>> 


Re: JobConf

Posted by Alex Baranau <al...@gmail.com>.
You might find this search tool valuable: http://search-hadoop.com. You can
do search in sources and javadocs separately.

Alex Baranau
----
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - HBase

On Sun, Nov 14, 2010 at 10:28 PM, maha <ma...@umail.ucsb.edu> wrote:

>  Never mind Jeff ...  I guess your answer would be to read Hadoop manual
> pages and to keep practicing Java programming!
>
>  Because I'm trying to write a Hadoop program and it's taking me time to
> know which class to use for myPurpose.
>
>    So thanks anyways,
>
>   Maha
>
> On Nov 11, 2010, at 6:22 PM, Jeff Zhang wrote:
>
> > Sorry, I do not get your point. What do you mean ?
> >
> >
> > On Fri, Nov 12, 2010 at 1:57 AM, maha <ma...@umail.ucsb.edu> wrote:
> >> Thanks Jeff :) How could you recall all possible readInputFile methods
> from different classes? Is there like a spacial way to search Java APIs?
> >>
> >>  Maha
> >> On Nov 10, 2010, at 5:13 PM, Jeff Zhang wrote:
> >>
> >>> Use FileInputFormat.setInputPaths
> >>>
> >>>
> >>>
> >>> On Thu, Nov 11, 2010 at 5:45 AM, maha <ma...@umail.ucsb.edu> wrote:
> >>>> I'm trying to compile a mapReduce program but it says:
> >>>>
> >>>>  X     conf.setInputPath( ...
> >>>> method setIputPath is undefined for type JobConf
> >>>>
> >>>> and when I checked the JobConf class within built-path
> external-archived hadoop-0.20.2-core.jar file, the class JobConf didn't have
> this method. How can I add it to the list ? I couldn't even edit the
> JobConf.class because the source code is unavailable.
> >>>>
> >>>> any link to where is this issue handled ?
> >>>>
> >>>> Thanks,
> >>>>
> >>>>  Maha
> >>>
> >>>
> >>>
> >>> --
> >>> Best Regards
> >>>
> >>> Jeff Zhang
> >>
> >>
> >
> >
> >
> > --
> > Best Regards
> >
> > Jeff Zhang
>
>

Re: JobConf

Posted by maha <ma...@umail.ucsb.edu>.
 Never mind Jeff ...  I guess your answer would be to read Hadoop manual pages and to keep practicing Java programming! 

 Because I'm trying to write a Hadoop program and it's taking me time to know which class to use for myPurpose. 

    So thanks anyways,

   Maha

On Nov 11, 2010, at 6:22 PM, Jeff Zhang wrote:

> Sorry, I do not get your point. What do you mean ?
> 
> 
> On Fri, Nov 12, 2010 at 1:57 AM, maha <ma...@umail.ucsb.edu> wrote:
>> Thanks Jeff :) How could you recall all possible readInputFile methods from different classes? Is there like a spacial way to search Java APIs?
>> 
>>  Maha
>> On Nov 10, 2010, at 5:13 PM, Jeff Zhang wrote:
>> 
>>> Use FileInputFormat.setInputPaths
>>> 
>>> 
>>> 
>>> On Thu, Nov 11, 2010 at 5:45 AM, maha <ma...@umail.ucsb.edu> wrote:
>>>> I'm trying to compile a mapReduce program but it says:
>>>> 
>>>>  X     conf.setInputPath( ...
>>>> method setIputPath is undefined for type JobConf
>>>> 
>>>> and when I checked the JobConf class within built-path external-archived hadoop-0.20.2-core.jar file, the class JobConf didn't have this method. How can I add it to the list ? I couldn't even edit the JobConf.class because the source code is unavailable.
>>>> 
>>>> any link to where is this issue handled ?
>>>> 
>>>> Thanks,
>>>> 
>>>>  Maha
>>> 
>>> 
>>> 
>>> --
>>> Best Regards
>>> 
>>> Jeff Zhang
>> 
>> 
> 
> 
> 
> -- 
> Best Regards
> 
> Jeff Zhang


Re: JobConf

Posted by Jeff Zhang <zj...@gmail.com>.
Sorry, I do not get your point. What do you mean ?


On Fri, Nov 12, 2010 at 1:57 AM, maha <ma...@umail.ucsb.edu> wrote:
> Thanks Jeff :) How could you recall all possible readInputFile methods from different classes? Is there like a spacial way to search Java APIs?
>
>  Maha
> On Nov 10, 2010, at 5:13 PM, Jeff Zhang wrote:
>
>> Use FileInputFormat.setInputPaths
>>
>>
>>
>> On Thu, Nov 11, 2010 at 5:45 AM, maha <ma...@umail.ucsb.edu> wrote:
>>> I'm trying to compile a mapReduce program but it says:
>>>
>>>  X     conf.setInputPath( ...
>>> method setIputPath is undefined for type JobConf
>>>
>>> and when I checked the JobConf class within built-path external-archived hadoop-0.20.2-core.jar file, the class JobConf didn't have this method. How can I add it to the list ? I couldn't even edit the JobConf.class because the source code is unavailable.
>>>
>>> any link to where is this issue handled ?
>>>
>>> Thanks,
>>>
>>>  Maha
>>
>>
>>
>> --
>> Best Regards
>>
>> Jeff Zhang
>
>



-- 
Best Regards

Jeff Zhang

Re: JobConf

Posted by maha <ma...@umail.ucsb.edu>.
Thanks Jeff :) How could you recall all possible readInputFile methods from different classes? Is there like a spacial way to search Java APIs?

 Maha
On Nov 10, 2010, at 5:13 PM, Jeff Zhang wrote:

> Use FileInputFormat.setInputPaths
> 
> 
> 
> On Thu, Nov 11, 2010 at 5:45 AM, maha <ma...@umail.ucsb.edu> wrote:
>> I'm trying to compile a mapReduce program but it says:
>> 
>>  X     conf.setInputPath( ...
>> method setIputPath is undefined for type JobConf
>> 
>> and when I checked the JobConf class within built-path external-archived hadoop-0.20.2-core.jar file, the class JobConf didn't have this method. How can I add it to the list ? I couldn't even edit the JobConf.class because the source code is unavailable.
>> 
>> any link to where is this issue handled ?
>> 
>> Thanks,
>> 
>>  Maha
> 
> 
> 
> -- 
> Best Regards
> 
> Jeff Zhang


Re: JobConf

Posted by Jeff Zhang <zj...@gmail.com>.
Use FileInputFormat.setInputPaths



On Thu, Nov 11, 2010 at 5:45 AM, maha <ma...@umail.ucsb.edu> wrote:
> I'm trying to compile a mapReduce program but it says:
>
>  X     conf.setInputPath( ...
> method setIputPath is undefined for type JobConf
>
> and when I checked the JobConf class within built-path external-archived hadoop-0.20.2-core.jar file, the class JobConf didn't have this method. How can I add it to the list ? I couldn't even edit the JobConf.class because the source code is unavailable.
>
> any link to where is this issue handled ?
>
> Thanks,
>
>  Maha



-- 
Best Regards

Jeff Zhang