|
|
-
Navtive libs in accumulo source
Hider, Sandy 2012-04-03, 14:17
I am using Accumulo 1.4 rc5 which I checked out and compiled. After installing on our cloud, the tserver logs were showing an error loading the native libraries, I do not recall which now. However when I checked my accumulo version it did not even have an lib/native directory.
I was able to find and use the native dir under the Binary distribution of 1.3.5 but now I am wondering how should I have acquired the native files? Did I miss a step when compiling?
Thanks
Sandy
-
Re: Navtive libs in accumulo source
John Vines 2012-04-03, 14:26
They are not required, but you get better performance by using the native maps. You can build them by going to $ACCUMULO_HOME/src/server/src/main/c++/ and run make.
John
On Tue, Apr 3, 2012 at 10:17 AM, Hider, Sandy <[EMAIL PROTECTED]>wrote:
> I am using Accumulo 1.4 rc5 which I checked out and compiled. After > installing on our cloud, the tserver logs were showing an error loading the > native libraries, I do not recall which now. However when I checked my > accumulo version it did not even have an lib/native directory. **** > > ** ** > > I was able to find and use the native dir under the Binary distribution of > 1.3.5 but now I am wondering how should I have acquired the native files? > Did I miss a step when compiling?**** > > ** ** > > Thanks **** > > ** ** > > Sandy**** >
-
Re: Navtive libs in accumulo source
Aaron Cordova 2012-04-03, 14:41
Are the native libs compiled by default, i.e. via mvn compile or whatever?
On Apr 3, 2012, at 10:26 AM, John Vines wrote:
> They are not required, but you get better performance by using the native maps. You can build them by going to $ACCUMULO_HOME/src/server/src/main/c++/ and run make. > > John > > On Tue, Apr 3, 2012 at 10:17 AM, Hider, Sandy <[EMAIL PROTECTED]> wrote: > I am using Accumulo 1.4 rc5 which I checked out and compiled. After installing on our cloud, the tserver logs were showing an error loading the native libraries, I do not recall which now. However when I checked my accumulo version it did not even have an lib/native directory. > > > > I was able to find and use the native dir under the Binary distribution of 1.3.5 but now I am wondering how should I have acquired the native files? Did I miss a step when compiling? > > > > Thanks > > > > Sandy > >
-
Re: Navtive libs in accumulo source
Keith Turner 2012-04-03, 14:48
I do not think maven builds them. Maybe it should.
On Tue, Apr 3, 2012 at 10:41 AM, Aaron Cordova <[EMAIL PROTECTED]> wrote: > Are the native libs compiled by default, i.e. via mvn compile or whatever? > > On Apr 3, 2012, at 10:26 AM, John Vines wrote: > > They are not required, but you get better performance by using the native > maps. You can build them by going to $ACCUMULO_HOME/src/server/src/main/c++/ > and run make. > > John > > On Tue, Apr 3, 2012 at 10:17 AM, Hider, Sandy <[EMAIL PROTECTED]> > wrote: >> >> I am using Accumulo 1.4 rc5 which I checked out and compiled. After >> installing on our cloud, the tserver logs were showing an error loading the >> native libraries, I do not recall which now. However when I checked my >> accumulo version it did not even have an lib/native directory. >> >> >> >> I was able to find and use the native dir under the Binary distribution of >> 1.3.5 but now I am wondering how should I have acquired the native files? >> Did I miss a step when compiling? >> >> >> >> Thanks >> >> >> >> Sandy > > >
-
Re: Navtive libs in accumulo source
John Vines 2012-04-03, 15:11
It does in 1.5 with the appropriate profile.
John
On Tue, Apr 3, 2012 at 10:49 AM, Keith Turner <[EMAIL PROTECTED]> wrote:
> I do not think maven builds them. Maybe it should. > > On Tue, Apr 3, 2012 at 10:41 AM, Aaron Cordova <[EMAIL PROTECTED]> wrote: > > Are the native libs compiled by default, i.e. via mvn compile or > whatever? > > > > On Apr 3, 2012, at 10:26 AM, John Vines wrote: > > > > They are not required, but you get better performance by using the native > > maps. You can build them by going to > $ACCUMULO_HOME/src/server/src/main/c++/ > > and run make. > > > > John > > > > On Tue, Apr 3, 2012 at 10:17 AM, Hider, Sandy <[EMAIL PROTECTED]> > > wrote: > >> > >> I am using Accumulo 1.4 rc5 which I checked out and compiled. After > >> installing on our cloud, the tserver logs were showing an error loading > the > >> native libraries, I do not recall which now. However when I checked my > >> accumulo version it did not even have an lib/native directory. > >> > >> > >> > >> I was able to find and use the native dir under the Binary distribution > of > >> 1.3.5 but now I am wondering how should I have acquired the native > files? > >> Did I miss a step when compiling? > >> > >> > >> > >> Thanks > >> > >> > >> > >> Sandy > > > > > > >
-
RE: Navtive libs in accumulo source
Hider, Sandy 2012-04-04, 16:30
So if the native libs are not required, did I need to do anything else after seeing that loading error in the error log or did it fall back automatically to another map?
Sandy From: John Vines [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 03, 2012 10:27 AM To: [EMAIL PROTECTED] Subject: Re: Navtive libs in accumulo source
They are not required, but you get better performance by using the native maps. You can build them by going to $ACCUMULO_HOME/src/server/src/main/c++/ and run make.
John On Tue, Apr 3, 2012 at 10:17 AM, Hider, Sandy <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote: I am using Accumulo 1.4 rc5 which I checked out and compiled. After installing on our cloud, the tserver logs were showing an error loading the native libraries, I do not recall which now. However when I checked my accumulo version it did not even have an lib/native directory.
I was able to find and use the native dir under the Binary distribution of 1.3.5 but now I am wondering how should I have acquired the native files? Did I miss a step when compiling?
Thanks
Sandy
-
Re: Navtive libs in accumulo source
Keith Turner 2012-04-04, 16:37
It falls back to a java implemention. The java implementation is slower, less memory efficient, and can incur the wrath of the Java GC.
Keith
On Wed, Apr 4, 2012 at 12:30 PM, Hider, Sandy <[EMAIL PROTECTED]> wrote: > So if the native libs are not required, did I need to do anything else after > seeing that loading error in the error log or did it fall back automatically > to another map? > > > > Sandy > > > > > > From: John Vines [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 03, 2012 10:27 AM > To: [EMAIL PROTECTED] > Subject: Re: Navtive libs in accumulo source > > > > They are not required, but you get better performance by using the native > maps. You can build them by going to $ACCUMULO_HOME/src/server/src/main/c++/ > and run make. > > John > > On Tue, Apr 3, 2012 at 10:17 AM, Hider, Sandy <[EMAIL PROTECTED]> > wrote: > > I am using Accumulo 1.4 rc5 which I checked out and compiled. After > installing on our cloud, the tserver logs were showing an error loading the > native libraries, I do not recall which now. However when I checked my > accumulo version it did not even have an lib/native directory. > > > > I was able to find and use the native dir under the Binary distribution of > 1.3.5 but now I am wondering how should I have acquired the native files? > Did I miss a step when compiling? > > > > Thanks > > > > Sandy > >
|
|