[sheepdog] sheepdog Digest, Vol 63, Issue 46

Gmail chl.wang08 at gmail.com
Tue Dec 23 03:48:49 CET 2014


Hi, All
I use zookeeper for multi-nodes sheepdog cluster.
I found a problem as follow:

sheep communicates  with zk normally, the cluster state work well. sometimes, zk fsync-log write latency 25000ms, then in sheep log 

 zk_watcher(728) path:,type=-1,state=1
 zk_watcher(728) path:,type=-1,state=3
……
All these,  repeatedly

when sheep send BLOCK(add /sheepdog/queue/xxxx node in zookeeper), for example LOCK_VDI openration. then the former problem happened。All cluster will be block for create、delete、read、write。

how can I resolve this problem? what is to be done for zookeeper event list this?    

thanks

在 2014年12月21日 下午7:00:13, sheepdog-request at lists.wpkg.org (sheepdog-request at lists.wpkg.org) 写到:

Send sheepdog mailing list submissions to  
sheepdog at lists.wpkg.org  

To subscribe or unsubscribe via the World Wide Web, visit  
http://lists.wpkg.org/mailman/listinfo/sheepdog  
or, via email, send a message with subject or body 'help' to  
sheepdog-request at lists.wpkg.org  

You can reach the person managing the list at  
sheepdog-owner at lists.wpkg.org  

When replying, please edit your Subject line so it is more specific  
than "Re: Contents of sheepdog digest..."  


Today's Topics:  

1. Build failed in Jenkins: sheepdog-build #578 (sheepdog-jenkins)  


----------------------------------------------------------------------  

Message: 1  
Date: Sat, 20 Dec 2014 22:20:29 +0000 (UTC)  
From: sheepdog-jenkins <jenkins at jenkins.sheepdog-project.org>  
To: sheepdog at lists.wpkg.org, sanbai at taobao.com,  
mitake.hitoshi at gmail.com  
Subject: [sheepdog] Build failed in Jenkins: sheepdog-build #578  
Message-ID:  
<213591197.105.1419114029166.JavaMail.jenkins at ip-172-31-1-120>  
Content-Type: text/plain; charset=UTF-8  

See <http://jenkins.sheepdog-project.org:8080/job/sheepdog-build/578/>  

------------------------------------------  
[...truncated 51 lines...]  
checking for grep that handles long lines and -e... /bin/grep  
checking for egrep... /bin/grep -E  
checking for ANSI C header files... yes  
checking for sys/types.h... yes  
checking for sys/stat.h... yes  
checking for stdlib.h... yes  
checking for string.h... yes  
checking for memory.h... yes  
checking for strings.h... yes  
checking for inttypes.h... yes  
checking for stdint.h... yes  
checking for unistd.h... yes  
checking for size_t... yes  
checking for working alloca.h... yes  
checking for alloca... yes  
checking for dirent.h that defines DIR... yes  
checking for library containing opendir... none required  
checking for ANSI C header files... (cached) yes  
checking for sys/wait.h that is POSIX.1 compatible... yes  
checking arpa/inet.h usability... yes  
checking arpa/inet.h presence... yes  
checking for arpa/inet.h... yes  
checking fcntl.h usability... yes  
checking fcntl.h presence... yes  
checking for fcntl.h... yes  
checking limits.h usability... yes  
checking limits.h presence... yes  
checking for limits.h... yes  
checking netdb.h usability... yes  
checking netdb.h presence... yes  
checking for netdb.h... yes  
checking netinet/in.h usability... yes  
checking netinet/in.h presence... yes  
checking for netinet/in.h... yes  
checking for stdint.h... (cached) yes  
checking for stdlib.h... (cached) yes  
checking for string.h... (cached) yes  
checking sys/ioctl.h usability... yes  
checking sys/ioctl.h presence... yes  
checking for sys/ioctl.h... yes  
checking sys/param.h usability... yes  
checking sys/param.h presence... yes  
checking for sys/param.h... yes  
checking sys/socket.h usability... yes  
checking sys/socket.h presence... yes  
checking for sys/socket.h... yes  
checking sys/time.h usability... yes  
checking sys/time.h presence... yes  
checking for sys/time.h... yes  
checking syslog.h usability... yes  
checking syslog.h presence... yes  
checking for syslog.h... yes  
checking for unistd.h... (cached) yes  
checking for sys/types.h... (cached) yes  
checking getopt.h usability... yes  
checking getopt.h presence... yes  
checking for getopt.h... yes  
checking malloc.h usability... yes  
checking malloc.h presence... yes  
checking for malloc.h... yes  
checking sys/sockio.h usability... no  
checking sys/sockio.h presence... no  
checking for sys/sockio.h... no  
checking utmpx.h usability... yes  
checking utmpx.h presence... yes  
checking for utmpx.h... yes  
checking urcu.h usability... yes  
checking urcu.h presence... yes  
checking for urcu.h... yes  
checking urcu/uatomic.h usability... yes  
checking urcu/uatomic.h presence... yes  
checking for urcu/uatomic.h... yes  
checking for an ANSI C-conforming const... yes  
checking for uid_t in sys/types.h... yes  
checking for inline... inline  
checking for size_t... (cached) yes  
checking whether time.h and sys/time.h may both be included... yes  
checking for working volatile... yes  
checking size of short... 2  
checking size of int... 4  
checking size of long... 8  
checking size of long long... 8  
checking sys/eventfd.h usability... yes  
checking sys/eventfd.h presence... yes  
checking for sys/eventfd.h... yes  
checking sys/signalfd.h usability... yes  
checking sys/signalfd.h presence... yes  
checking for sys/signalfd.h... yes  
checking sys/timerfd.h usability... yes  
checking sys/timerfd.h presence... yes  
checking for sys/timerfd.h... yes  
checking whether closedir returns void... no  
checking for error_at_line... yes  
checking for mbstate_t... yes  
checking for working POSIX fnmatch... yes  
checking for pid_t... yes  
checking vfork.h usability... no  
checking vfork.h presence... no  
checking for vfork.h... no  
checking for fork... yes  
checking for vfork... yes  
checking for working fork... yes  
checking for working vfork... (cached) yes  
checking whether gcc needs -traditional... no  
checking for stdlib.h... (cached) yes  
checking for GNU libc compatible malloc... yes  
checking for working memcmp... yes  
checking for stdlib.h... (cached) yes  
checking for GNU libc compatible realloc... yes  
checking sys/select.h usability... yes  
checking sys/select.h presence... yes  
checking for sys/select.h... yes  
checking for sys/socket.h... (cached) yes  
checking types of arguments for select... int,fd_set *,struct timeval *  
checking return type of signal handlers... void  
checking for vprintf... yes  
checking for _doprnt... no  
checking for alarm... yes  
checking for alphasort... yes  
checking for atexit... yes  
checking for bzero... yes  
checking for dup2... yes  
checking for endgrent... yes  
checking for endpwent... yes  
checking for fcntl... yes  
checking for getcwd... yes  
checking for getpeerucred... no  
checking for getpeereid... no  
checking for gettimeofday... yes  
checking for inet_ntoa... yes  
checking for memmove... yes  
checking for memset... yes  
checking for mkdir... yes  
checking for scandir... yes  
checking for select... yes  
checking for socket... yes  
checking for strcasecmp... yes  
checking for strchr... yes  
checking for strdup... yes  
checking for strerror... yes  
checking for strrchr... yes  
checking for strspn... yes  
checking for strstr... yes  
checking for fallocate... yes  
configure: Sanitizing prefix: /usr  
configure: Sanitizing exec_prefix: NONE  
checking for pkg-config... /usr/bin/pkg-config  
checking pkg-config is at least version 0.9.0... yes  
checking for fuse... yes  
checking for corosync... yes  
checking for libcpg... yes  
checking for libcfg... yes  
checking for zookeeper_init in -lzookeeper_mt... yes  
checking zookeeper/zookeeper.h usability... yes  
checking zookeeper/zookeeper.h presence... yes  
checking for zookeeper/zookeeper.h... yes  
checking for fuse.h... yes  
checking whether gcc supports "-Wall"... yes  
checking whether gcc supports "-Wshadow"... yes  
checking whether gcc supports "-Wmissing-prototypes"... yes  
checking whether gcc supports "-Wmissing-declarations"... yes  
checking whether gcc supports "-Wstrict-prototypes"... yes  
checking whether gcc supports "-Wpointer-arith"... yes  
checking whether gcc supports "-Wwrite-strings"... yes  
checking whether gcc supports "-Wbad-function-cast"... yes  
checking whether gcc supports "-Wmissing-format-attribute"... yes  
checking whether gcc supports "-Wformat=2"... yes  
checking whether gcc supports "-Wformat-security"... yes  
checking whether gcc supports "-Wformat-nonliteral"... yes  
checking whether gcc supports "-Wno-long-long"... yes  
checking whether gcc supports "-Wunsigned-char"... no  
checking whether gcc supports "-Wgnu89-inline"... no  
checking whether gcc supports "-Wno-strict-aliasing"... yes  
checking whether gcc supports "-Wcast-align"... yes  
configure: creating ./config.status  
config.status: creating Makefile  
config.status: creating dog/Makefile  
config.status: creating sheep/Makefile  
config.status: creating sheepfs/Makefile  
config.status: creating include/Makefile  
config.status: creating script/Makefile  
config.status: creating lib/Makefile  
config.status: creating man/Makefile  
config.status: creating shepherd/Makefile  
config.status: creating tests/unit/Makefile  
config.status: creating tests/unit/mock/Makefile  
config.status: creating tests/unit/dog/Makefile  
config.status: creating tests/unit/sheep/Makefile  
config.status: creating tools/Makefile  
config.status: creating include/config.h  
config.status: executing depfiles commands  

sheepdog configuration:  
Version = 0.9.0_30_g75f9c8d  
Prefix = /usr  
Executables = ${exec_prefix}/sbin  
Man pages = ${datarootdir}/man  
Doc dir = ${datarootdir}/doc/${PACKAGE_TARNAME}  
Libraries = /usr/lib  
Header files = ${prefix}/include  
Arch-independent files = ${datarootdir}  
State information = /var  
System configuration = /etc  
System init.d directory = /etc/init.d  
sheepdog config dir = /etc/sheepdog  
Features = assert corosync zookeeper sheepfs  

sheepdog build info:  
Library SONAME =  

Default optimization = -DNDEBUG  
Default debug options =  
Extra compiler warnings =  
Env. defined CFLAG = -g -O2  
Env. defined CPPFLAGS =  
Env. defined LDFLAGS =  
OS defined CFLAGS =  
OS defined CPPFLAGS =  
OS defined LDFLAGS =  
OS defined LDL = -ldl  
OS defined DYFLAGS =  
ANSI defined CPPFLAGS =  
Coverage CFLAGS =  
Coverage LDFLAGS =  
Fatal War. CFLAGS =  
Trace CFLAGS =  
Final CFLAGS = -g -O2 -DNDEBUG -ggdb3 -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wwrite-strings -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -Wcast-align -D_GNU_SOURCE -D_LGPL_SOURCE -std=gnu99  
Final CPPFLAGS =  
Final LDFLAGS =  
+ make  
Making all in lib  
make[1]: Entering directory `<http://jenkins.sheepdog-project.org:8080/job/sheepdog-build/ws/lib'>  
cd isa-l/ && make && cd ..  
make[2]: Entering directory `<http://jenkins.sheepdog-project.org:8080/job/sheepdog-build/ws/lib/isa-l'>  
mkdir -p bin  
---> Building erasure_code/ec_highlevel_func.c  
cc -D NDEBUG -Ierasure_code -Iinclude -c -o bin/ec_highlevel_func.o erasure_code/ec_highlevel_func.c  
---> Building erasure_code/ec_base.c  
cc -D NDEBUG -Ierasure_code -Iinclude -c -o bin/ec_base.o erasure_code/ec_base.c  
---> Building erasure_code/gf_vect_mul_sse.asm  
yasm -f elf64 -D NDEBUG -Ierasure_code -Iinclude -o bin/gf_vect_mul_sse.o erasure_code/gf_vect_mul_sse.asm  
make[2]: yasm: Command not found  
make[2]: *** [bin/gf_vect_mul_sse.o] Error 127  
make[2]: Leaving directory `<http://jenkins.sheepdog-project.org:8080/job/sheepdog-build/ws/lib/isa-l'>  
make[1]: *** [libisa.a] Error 2  
make[1]: Leaving directory `<http://jenkins.sheepdog-project.org:8080/job/sheepdog-build/ws/lib'>  
make: *** [all-recursive] Error 1  
Build step 'Execute shell' marked build as failure  
Build does not meet criteria for workspace archiving - result is not at least SUCCESS.  


------------------------------  

Subject: Digest Footer  

_______________________________________________  
sheepdog mailing list  
sheepdog at lists.wpkg.org  
http://lists.wpkg.org/mailman/listinfo/sheepdog  


------------------------------  

End of sheepdog Digest, Vol 63, Issue 46  
****************************************  
-- 
Gmail
Sent with Airmail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog/attachments/20141223/30896a77/attachment-0003.html>


More information about the sheepdog mailing list