Hi Kevin, Since it seems like this is a CDH-specific question, I recommend you email [email protected] where you should be able to get some help with this.
-- Aaron T. Myers Software Engineer, Cloudera On Mon, Apr 22, 2013 at 10:33 AM, <[email protected]> wrote: > > I am on a Ubuntu server. When I go to the link you provided there is a > hyperlink for Ubuntu but it seems like it is the main site. I tried > searching for hadoop native but didn't get any useful results. Is there > some other package that I should install using apt-get? > > On Mon, Apr 22, 2013 at 12:02 PM, Vinod Kumar Vavilapalli wrote: > > > > It means what it says: that hadoop native library isn't available for some > reason. See > http://hadoop.apache.org/docs/**stable/native_libraries.html<http://hadoop.apache.org/docs/stable/native_libraries.html>< > http://hadoop.apache.org/**docs/stable/native_libraries.**html<http://hadoop.apache.org/docs/stable/native_libraries.html>> > > <http://hadoop.apache.org/**docs/stable/native_libraries.**html<http://hadoop.apache.org/docs/stable/native_libraries.html> > > > > > Thanks, > +Vinod Kumar Vavilapalli > Hortonworks Inc. > http://hortonworks.com/ <http://hortonworks.com/> < > http://hortonworks.com/> > > On Apr 22, 2013, at 9:58 AM, > [email protected]<javascript:parent.wgMail. > **openComposeWindow('rkevinburto**[email protected] > <[email protected]>')> > <javascript:parent.wgMail.**openComposeWindow('rkevinburto** > [email protected] <[email protected]>')> wrote: > > I was able to add the appropriate Maven dependencies and it "works". I >> have one last question on this thread. With the added dependencies I am >> getting the warning: >> >> 13/04/22 11:53:18 WARN util.NativeCodeLoader: Unable to load >> native-hadoop library for your platform... using builtin-java classes where >> applicable >> What does this mean? Can it be avoided? >> >> Thanks again. >> >> >> On Mon, Apr 22, 2013 at 11:17 AM, Kevin Burton wrote: >> >> What dependency for the Maven project should I use? >>> >>> On Apr 22, 2013, at 10:02 AM, Ted Yu >>> <[email protected]<javascript:parent.wgMail. >>> **openComposeWindow('yuzhihong@**gmail.com <[email protected]>')> >>> <javascript:parent.wgMail.**openComposeWindow('yuzhihong@**gmail.com<[email protected]>')> >>> > wrote: >>> >>> The exception was due to incompatible RPC versions between Apache maven >>>> artifacts and CDH4. >>>> >>>> I suggest you build the project with same hadoop version as in your >>>> cluster. >>>> >>>> On Mon, Apr 22, 2013 at 7:50 AM, Kevin Burton >>>> <[email protected]<javascript:parent.wgMail. >>>> **openComposeWindow('rkevinburto**[email protected]<[email protected]>')> >>>> <javascript:parent.wgMail.**openComposeWindow('rkevinburto** >>>> [email protected] <[email protected]>')> >wrote: >>>> >>>> >>>> I am relatively new to Hadoop and am working through a Manning >>>>> publication >>>>> "Hadoop in Action". One of the first program in the book (page 44) >>>>> gives me >>>>> a Java exception: org.apache.hadoop.ipc.**RemoteException: Server IPC >>>>> version >>>>> 7 cannot communicate with client version 3. >>>>> >>>>> My Hadoop distribution is CDH4. The Java Maven project takes its >>>>> dependency from Apache. The exception comes from a line involving the >>>>> "Configuration" class. >>>>> >>>>> Any idea on how to avoid this exception? >>>>> >>>>
