[
https://issues.apache.org/jira/browse/ZOOKEEPER-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12994926#comment-12994926
]
Michi Mutsuzaki commented on ZOOKEEPER-781:
-------------------------------------------
It looks like a compilation error in C client. Qian, could you take a look?
Thanks!
--Michi
/PreCommit-ZOOKEEPER-Build/trunk/src/c/generated -DUSE_STATIC_LIB
-DZKSERVER_CMD="\"/grid/0/hudson/hudson-slave/workspace/PreCommit-ZOOKEEPER-Build/trunk/src/c/tests/zkServer.sh\""
-DZOO_IPV6_ENABLED -g -O2 -MT zktest_st-TestClient.o -MD -MP -MF
.deps/zktest_st-TestClient.Tpo -c -o zktest_st-TestClient.o `test -f
'tests/TestClient.cc' || echo
'/grid/0/hudson/hudson-slave/workspace/PreCommit-ZOOKEEPER-Build/trunk/src/c/'`tests/TestClient.cc
[exec] [exec]
/grid/0/hudson/hudson-slave/workspace/PreCommit-ZOOKEEPER-Build/trunk/src/c/include/zookeeper.h:
In member function 'zhandle_t* Zookeeper_simpleSystem::createClient(const
char*, watchctx_t*)':
[exec] [exec]
/grid/0/hudson/hudson-slave/workspace/PreCommit-ZOOKEEPER-Build/trunk/src/c/include/zookeeper.h:353:
error: too many arguments to function 'zhandle_t* zookeeper_init(const char*,
void (*)(zhandle_t*, int, int, const char*, void*), int, const clientid_t*,
void*, int (*)(int, int*, sockaddr_storage*), int (*)(int, int*,
sockaddr_storage*), int)'
[exec] [exec]
/grid/0/hudson/hudson-slave/workspace/PreCommit-ZOOKEEPER-Build/trunk/src/c/tests/TestClient.cc:234:
error: at this point in file
[exec] [exec]
/grid/0/hudson/hudson-slave/workspace/PreCommit-ZOOKEEPER-Build/trunk/src/c/include/zookeeper.h:
In member function 'zhandle_t*
Zookeeper_simpleSystem::createchClient(watchctx_t*, const char*)':
[exec] [exec]
/grid/0/hudson/hudson-slave/workspace/PreCommit-ZOOKEEPER-Build/trunk/src/c/include/zookeeper.h:353:
error: too many arguments to function 'zhandle_t* zookeeper_init(const char*,
void (*)(zhandle_t*, int, int, const char*, void*), int, const clientid_t*,
void*, int (*)(int, int*, sockaddr_storage*), int (*)(int, int*,
sockaddr_storage*), int)'
[exec] [exec]
/grid/0/hudson/hudson-slave/workspace/PreCommit-ZOOKEEPER-Build/trunk/src/c/tests/TestClient.cc:241:
error: at this point in file
[exec] [exec] make[1]: Leaving directory
`/grid/0/hudson/hudson-slave/workspace/PreCommit-ZOOKEEPER-Build/trunk/build/test/test-cppunit'
[exec] [exec] make[1]: *** [zktest_st-TestClient.o] Error 1
[exec] [exec] make: *** [check-am] Error 2
[exec]
> provide a generalized "connection strategy" for ZooKeeper clients
> -----------------------------------------------------------------
>
> Key: ZOOKEEPER-781
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-781
> Project: ZooKeeper
> Issue Type: New Feature
> Components: c client, java client
> Reporter: Patrick Hunt
> Assignee: Qian Ye
> Fix For: 3.4.0
>
> Attachments: ZOOKEEPER-781.patch, ZOOKEEPER-781.patch,
> ZOOKEEPER-781.patch
>
>
> A connection strategy allows control over the way that ZooKeeper clients (we
> would implement this for both c and java apis) connect to a serving ensemble.
> Today we have two strategies, randomized round robin (default) and ordered
> round robin, both of which are hard coded into the client implementation. We
> would generalize this interface and allow users to create their own.
> See this page for more detail:
> http://wiki.apache.org/hadoop/ZooKeeper/ConnectionStrategy
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira