You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by Ayola Jayamaha <ra...@gmail.com> on 2015/07/26 19:33:35 UTC

[4.5.0-SNAPSHOT] Unable to load native-hadoop library for your platform

Hi,

I'm using hbase-0.98.12.1-hadoop2 and zookeeper-3.4.6 versions. I have
built phoenix from source code 4.5.0-SNAPSHOT successfully. And the steps I
followed are from 1-6
http://ayolajayamaha.blogspot.com/2015/05/apache-phoenix-quick-start.html.
The following error appears and I'm unable to proceed.
Are the versions I used mismatching? Any ideas?


python sqlline.py localhost:2181:/hbase
Setting property: [isolation, TRANSACTION_READ_COMMITTED]
issuing: !connect jdbc:phoenix:localhost:2181:/hbase none none
org.apache.phoenix.jdbc.PhoenixDriver
Connecting to jdbc:phoenix:localhost:2181:/hbase
15/07/26 22:52:43 WARN util.NativeCodeLoader: Unable to load native-hadoop
library for your platform... using builtin-java classes where applicable



-- 
Best Regards,
Nishani Jayamaha
http://ayolajayamaha.blogspot.com/

Re: [4.5.0-SNAPSHOT] Unable to load native-hadoop library for your platform

Posted by James Taylor <ja...@apache.org>.
It's fine to continue using 4.4.0 - don't let that slow you down. If
there's a difference in behavior with the 4.5.0 RC, I'm sure Nick will
figure it out. Your web app should be using standard SQL against the trace
table, so the Phoenix release doesn't matter that much.

On Sunday, July 26, 2015, Ayola Jayamaha <ra...@gmail.com> wrote:

> Hi, James
>
> In my blog I was using phoenix-3.3.1 and phoenix-4.4.0 and those are
> working fine.
>
> But in Here I am trying with 4.5.0-SNAPSHOT[1], Where my trace web
> application is developed. I am trying to connect for trace (databases/BE)
>
> After this warning  nothing happens.
>
> [1]https://github.com/AyolaJayamaha/phoenix/tree/milestone-3
> <
> https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2FAyolaJayamaha%2Fphoenix%2Ftree%2Fmilestone-3&sa=D&sntz=1&usg=AFQjCNFgo9_NhYhcCSWAq77ttRb-4ZHYow
> >
>
> On Sun, Jul 26, 2015 at 11:11 PM, James Taylor <jamestaylor@apache.org
> <javascript:;>>
> wrote:
>
> > From your blog it looks like it's working, no? That warning about being
> > unable to load native-hadoop libraries can be ignored.
> >
> > Thanks,
> > James
> >
> > On Sun, Jul 26, 2015 at 10:33 AM, Ayola Jayamaha <raphaelanne2@gmail.com
> <javascript:;>>
> > wrote:
> >
> > > Hi,
> > >
> > > I'm using hbase-0.98.12.1-hadoop2 and zookeeper-3.4.6 versions. I have
> > > built phoenix from source code 4.5.0-SNAPSHOT successfully. And the
> > steps I
> > > followed are from 1-6
> > >
> >
> http://ayolajayamaha.blogspot.com/2015/05/apache-phoenix-quick-start.html.
> > > The following error appears and I'm unable to proceed.
> > > Are the versions I used mismatching? Any ideas?
> > >
> > >
> > > python sqlline.py localhost:2181:/hbase
> > > Setting property: [isolation, TRANSACTION_READ_COMMITTED]
> > > issuing: !connect jdbc:phoenix:localhost:2181:/hbase none none
> > > org.apache.phoenix.jdbc.PhoenixDriver
> > > Connecting to jdbc:phoenix:localhost:2181:/hbase
> > > 15/07/26 22:52:43 WARN util.NativeCodeLoader: Unable to load
> > native-hadoop
> > > library for your platform... using builtin-java classes where
> applicable
> > >
> > >
> > >
> > > --
> > > Best Regards,
> > > Nishani Jayamaha
> > > http://ayolajayamaha.blogspot.com/
> > >
> >
>
>
>
> --
> Best Regards,
> Nishani Jayamaha
> http://ayolajayamaha.blogspot.com/
>

Re: [4.5.0-SNAPSHOT] Unable to load native-hadoop library for your platform

Posted by Ayola Jayamaha <ra...@gmail.com>.
Hi, James

In my blog I was using phoenix-3.3.1 and phoenix-4.4.0 and those are
working fine.

But in Here I am trying with 4.5.0-SNAPSHOT[1], Where my trace web
application is developed. I am trying to connect for trace (databases/BE)

After this warning  nothing happens.

[1]https://github.com/AyolaJayamaha/phoenix/tree/milestone-3
<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2FAyolaJayamaha%2Fphoenix%2Ftree%2Fmilestone-3&sa=D&sntz=1&usg=AFQjCNFgo9_NhYhcCSWAq77ttRb-4ZHYow>

On Sun, Jul 26, 2015 at 11:11 PM, James Taylor <ja...@apache.org>
wrote:

> From your blog it looks like it's working, no? That warning about being
> unable to load native-hadoop libraries can be ignored.
>
> Thanks,
> James
>
> On Sun, Jul 26, 2015 at 10:33 AM, Ayola Jayamaha <ra...@gmail.com>
> wrote:
>
> > Hi,
> >
> > I'm using hbase-0.98.12.1-hadoop2 and zookeeper-3.4.6 versions. I have
> > built phoenix from source code 4.5.0-SNAPSHOT successfully. And the
> steps I
> > followed are from 1-6
> >
> http://ayolajayamaha.blogspot.com/2015/05/apache-phoenix-quick-start.html.
> > The following error appears and I'm unable to proceed.
> > Are the versions I used mismatching? Any ideas?
> >
> >
> > python sqlline.py localhost:2181:/hbase
> > Setting property: [isolation, TRANSACTION_READ_COMMITTED]
> > issuing: !connect jdbc:phoenix:localhost:2181:/hbase none none
> > org.apache.phoenix.jdbc.PhoenixDriver
> > Connecting to jdbc:phoenix:localhost:2181:/hbase
> > 15/07/26 22:52:43 WARN util.NativeCodeLoader: Unable to load
> native-hadoop
> > library for your platform... using builtin-java classes where applicable
> >
> >
> >
> > --
> > Best Regards,
> > Nishani Jayamaha
> > http://ayolajayamaha.blogspot.com/
> >
>



-- 
Best Regards,
Nishani Jayamaha
http://ayolajayamaha.blogspot.com/

Re: [4.5.0-SNAPSHOT] Unable to load native-hadoop library for your platform

Posted by James Taylor <ja...@apache.org>.
>From your blog it looks like it's working, no? That warning about being
unable to load native-hadoop libraries can be ignored.

Thanks,
James

On Sun, Jul 26, 2015 at 10:33 AM, Ayola Jayamaha <ra...@gmail.com>
wrote:

> Hi,
>
> I'm using hbase-0.98.12.1-hadoop2 and zookeeper-3.4.6 versions. I have
> built phoenix from source code 4.5.0-SNAPSHOT successfully. And the steps I
> followed are from 1-6
> http://ayolajayamaha.blogspot.com/2015/05/apache-phoenix-quick-start.html.
> The following error appears and I'm unable to proceed.
> Are the versions I used mismatching? Any ideas?
>
>
> python sqlline.py localhost:2181:/hbase
> Setting property: [isolation, TRANSACTION_READ_COMMITTED]
> issuing: !connect jdbc:phoenix:localhost:2181:/hbase none none
> org.apache.phoenix.jdbc.PhoenixDriver
> Connecting to jdbc:phoenix:localhost:2181:/hbase
> 15/07/26 22:52:43 WARN util.NativeCodeLoader: Unable to load native-hadoop
> library for your platform... using builtin-java classes where applicable
>
>
>
> --
> Best Regards,
> Nishani Jayamaha
> http://ayolajayamaha.blogspot.com/
>