zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "yang hao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-3105) Character coding problem occur when create a node using python3
Date Thu, 26 Jul 2018 15:44:00 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-3105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16558447#comment-16558447
] 

yang hao commented on ZOOKEEPER-3105:
-------------------------------------

{code:java}
import zookeeper

zk=zookeeper.init("localhost:2181")
stat, acl = zookeeper.get_acl(zk, "/")
zookeeper.create(zk, "/zk_imagesearch1", "fs", acl, 0)
{code}

> Character coding problem occur when create a node using python3
> ---------------------------------------------------------------
>
>                 Key: ZOOKEEPER-3105
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3105
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: contrib
>    Affects Versions: 3.5.0
>         Environment: linux
>            Reporter: yang hao
>            Priority: Major
>             Fix For: 3.5.0
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> when creating a node using python3,  InvalidACLException occurs all the time. it`s
caused by imcompatible way of parsing acl passed through python3 api.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message