You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by te...@mail.ru on 2017/07/26 17:23:29 UTC

Apache Ignite Python issue

Hello all,

Could anybody please help me with configuration to get Python interaction with Ignite memcache?
I read this article:  https://apacheignite.readme.io/v2.0/docs/memcached-support#python
and configured CentOS 7: installed python3.6.x + pylibmc + libmemcached-devel.

Wrote that sample Python script and got  CONNECTION_FAILURE  for:
client.set("key", "val")
I tested Ignite cache with another python library - it works, so as i can see, the problem with  pylibmc / libmemcached integration with Ignite.
Also i tested  pylibmc with  memcached - it works curiously well!

Then i went in and tested this python script on Apache Ignite version: 2.0.0 / 1.9.0 / 1.8.0 / 1.7.0 / 1.6.0 / 1.5.0.final / 1.0.0 -  no one does not work!
(i ran Ignite with  example-cache.xml property as mentioned in doc)

Is that Python program really working?
Did Python  pylibmc package tested for compatibility with Ignite 2.0?
What i did wrong?
I can provide more info by request.

Please reply.

Best regards,
Valeriy
----------------------------------------------------------------------

Re: Apache Ignite Python issue

Posted by Valeriy <te...@mail.ru>.
Can someone help or advise?



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Apache-Ignite-Python-issue-tp15703p15734.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re[2]: Apache Ignite Python issue

Posted by te...@mail.ru.
Hi Mikhail,

Thanks for reply!
Sure, i will check it all on python 2.7.


Best Regards,
Valeriy
>
>
>Hi Valeriy,
>
>I'm not sure where is the bug, but it works fine with python 2.7.
>
>So for now I recommend to switch to python 2.7. It requires further debbuging 
>to understand what is wrong with python3+pylibmc.
>
>Thanks,
>Mikhail.
>
>On Wed, Jul 26, 2017 at 8:23 PM,  < temp2016_01@mail.ru > wrote:
>>Hello all,
>>
>>Could anybody please help me with configuration to get Python interaction with Ignite memcache?
>>I read this article:  https://apacheignite.readme.io/v2.0/docs/memcached-support#python
>>and configured CentOS 7: installed python3.6.x + pylibmc + libmemcached-devel.
>>
>>Wrote that sample Python script and got  CONNECTION_FAILURE  for:
>>client.set("key", "val")
>>I tested Ignite cache with another python library - it works, so as i can see, the problem with  pylibmc / libmemcached integration with Ignite.
>>Also i tested  pylibmc with  memcached - it works curiously well!
>>
>>Then i went in and tested this python script on Apache Ignite version: 2.0.0 / 1.9.0 / 1.8.0 / 1.7.0 / 1.6.0 / 1.5.0.final / 1.0.0 -  no one does not work!
>>(i ran Ignite with  example-cache.xml property as mentioned in doc)
>>
>>Is that Python program really working?
>>Did Python  pylibmc package tested for compatibility with Ignite 2.0?
>>What i did wrong?
>>I can provide more info by request.
>>
>>Please reply.
>>
>>Best regards,
>>Valeriy
>>----------------------------------------------------------------------
>
>
>
>-- 
>Thanks,
>Mikhail.

Re: Apache Ignite Python issue

Posted by Mikhail Cherkasov <mc...@gridgain.com>.
Hi Valeriy,

I'm not sure where is the bug, but it works fine with python 2.7.

So for now I recommend to switch to python 2.7. It requires further
debbuging
to understand what is wrong with python3+pylibmc.

Thanks,
Mikhail.

On Wed, Jul 26, 2017 at 8:23 PM, <te...@mail.ru> wrote:

> Hello all,
>
> Could anybody please help me with configuration to get Python interaction
> with Ignite memcache?
> I read this article: https://apacheignite.readme.io/v2.0/docs/memcached-
> support#python
> and configured CentOS 7: installed python3.6.x + pylibmc +
> libmemcached-devel.
>
> Wrote that sample Python script and got *CONNECTION_FAILURE* for:
>
> client.set("key", "val")
>
>
> I tested Ignite cache with another python library - it works, so as i can
> see, the problem with *pylibmc*/*libmemcached* integration with Ignite.
> Also i tested *pylibmc* with *memcached* - it works curiously well!
>
> Then i went in and tested this python script on Apache Ignite version:
> 2.0.0 / 1.9.0 / 1.8.0 / 1.7.0 / 1.6.0 / 1.5.0.final / 1.0.0 - no one does
> not work!
> (i ran Ignite with *example-cache.xml* property as mentioned in doc)
>
> Is that Python program really working?
> Did Python *pylibmc* package tested for compatibility with Ignite 2.0?
> What i did wrong?
> I can provide more info by request.
>
> *Please reply.*
>
> Best regards,
> Valeriy
>
> ------------------------------
>



-- 
Thanks,
Mikhail.