You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Enrico Olivelli (Jira)" <ji...@apache.org> on 2020/12/29 12:06:00 UTC

[jira] [Commented] (ZOOKEEPER-4041) Zookeeper returns an IP address when requesting a path data.

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

Enrico Olivelli commented on ZOOKEEPER-4041:
--------------------------------------------

If you use the zkCli tool and get the same znode, what is the result?

Are you sure that you are writing the right value?

> Zookeeper returns an IP address when requesting a path data.
> ------------------------------------------------------------
>
>                 Key: ZOOKEEPER-4041
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4041
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: java client
>    Affects Versions: 3.5.6
>         Environment: Docker Compose
> {code:java}
> zookeeper:
>   image: 'zookeeper:3.5.6'
>   restart: always
>   hostname: zookeeper-nifi-${NODE_ID}
>   container_name: zookeeper-nifi-${NODE_ID}
>   ports:
>     - ${ZK_HOST_PORT}:2181
>   volumes:
>     - zookeeper-data:/data
>     - zookeeper-datalog:/datalog
>   networks:
>     - my-overnet
>   environment:
>     ZOO_MY_ID: ${NODE_ID}
>     ZOO_SERVERS: ${ZK_SERVERS_STRING}
>     SERVER_JVMFLAGS: '-Djute.maxbuffer=50000000'{code}
>            Reporter: Mykhailo Stefantsiv
>            Priority: Major
>
> Curator version: 4.2.0
> When usin CuratorFramework to get path data 
>  
> {code:java}
> client.getData().forPath(path){code}
>  
> Sometimes, a response is an IP address of a machine where Zookeeper is running.
> For example, I am expecting a simple Long value, like 5, but I am receiving 10.99.97.35
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)