This repository has been archived by the owner on Apr 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
sched panic #53
Comments
Hi @zhu312542860 how did you get 'Sched' binary? did you build it yourself? |
I get the Schedule binary through this method: |
@zhu312542860 |
@dhilipkumars I have also experienced the same error while i am using "DBType":"zookeeper" |
👍
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
i run the sched process panic。
[root@open-falcon mr-redis]# ./sched
2017/01/10 21:18:56 [config.go:314] [W] open /tmp/mr-redis/conf/app.conf: no such file or directory
2017/01/10 21:18:56 Configuration file is = {127.0.0.1:5050 ./MrRedisExecutor ./redis-server zookeeper 127.0.0.1:2181 stderr 127.0.0.1 5454 5656}
2017/01/10 21:18:56 *****************************************************************
2017/01/10 21:18:56 ***Starting MrRedis-Scheduler
2017/01/10 21:18:56 *****************************************************************
2017/01/10 21:18:56 Starting the HTTP server at port 5656
2017/01/10 21:18:56 [asm_amd64.s:1721] [I] http server Running on :5656
2017/01/10 21:18:56 Hosting artifact './MrRedisExecutor' at 'http://127.0.0.1:5454/MrRedisExecutor'
2017/01/10 21:18:56 Hosting artifact './redis-server' at 'http://127.0.0.1:5454/redis-server'
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x40 pc=0x4b563c]
goroutine 8 [running]:
github.com/mesos/mr-redis/sched/mesoslib.GetFrameWorkID(0x0, 0x0, 0xc8200f5d50)
/home/ubuntu/gopkg/src/github.com/mesos/mr-redis/sched/mesoslib/mesoslib.go:141 +0x6c
github.com/mesos/mr-redis/sched/mesoslib.Run(0xc8200f5cc0, 0xe, 0xc8200f5d40, 0x9, 0xc8200f5d50, 0x4, 0xc82019c1e0, 0x11, 0xf24a10, 0xe, ...)
/home/ubuntu/gopkg/src/github.com/mesos/mr-redis/sched/mesoslib/mesoslib.go:170 +0x11d
created by main.main
/home/ubuntu/gopkg/src/github.com/mesos/mr-redis/sched/main.go:100 +0x920
goroutine 1 [chan receive]:
github.com/astaxie/beego.(*App).Run(0xc8200f4400)
/home/ubuntu/dev/sched/Godeps/_workspace/src/github.com/astaxie/beego/app.go:171 +0x33d
github.com/astaxie/beego.Run(0xc8200f3af8, 0x1, 0x1)
/home/ubuntu/dev/sched/Godeps/_workspace/src/github.com/astaxie/beego/beego.go:277 +0x17d
github.com/mesos/mr-redis/sched/httplib.Run(0xc8200f5d60, 0x4)
/home/ubuntu/gopkg/src/github.com/mesos/mr-redis/sched/httplib/httplib.go:240 +0x1d8
main.main()
/home/ubuntu/gopkg/src/github.com/mesos/mr-redis/sched/main.go:112 +0x98c
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1721 +0x1
goroutine 6 [syscall]:
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:22 +0x18
created by os/signal.init.1
/usr/local/go/src/os/signal/signal_unix.go:28 +0x37
goroutine 7 [chan receive]:
github.com/golang/glog.(*loggingT).flushDaemon(0x13eaaa0)
/home/ubuntu/dev/sched/Godeps/_workspace/src/github.com/golang/glog/glog.go:882 +0x67
created by github.com/golang/glog.init.1
/home/ubuntu/dev/sched/Godeps/_workspace/src/github.com/golang/glog/glog.go:410 +0x297
goroutine 9 [runnable]:
github.com/mesos/mr-redis/sched/cmd.Creator()
/home/ubuntu/gopkg/src/github.com/mesos/mr-redis/sched/cmd/Creator.go:12
created by main.main
/home/ubuntu/gopkg/src/github.com/mesos/mr-redis/sched/main.go:103 +0x938
goroutine 10 [runnable]:
github.com/mesos/mr-redis/sched/cmd.Maintainer()
/home/ubuntu/gopkg/src/github.com/mesos/mr-redis/sched/cmd/Maintainer.go:12
created by main.main
/home/ubuntu/gopkg/src/github.com/mesos/mr-redis/sched/main.go:106 +0x950
goroutine 11 [runnable]:
github.com/mesos/mr-redis/sched/cmd.Destoryer(0xc8200f5cc0)
/home/ubuntu/gopkg/src/github.com/mesos/mr-redis/sched/cmd/Destroyer.go:15
created by main.main
/home/ubuntu/gopkg/src/github.com/mesos/mr-redis/sched/main.go:109 +0x968
goroutine 12 [IO wait]:
net.runtime_pollWait(0x7fcf4d2ca420, 0x72, 0xc82000a1c0)
/usr/local/go/src/runtime/netpoll.go:157 +0x60
net.(*pollDesc).Wait(0xc82020b020, 0x72, 0x0, 0x0)
/usr/local/go/src/net/fd_poll_runtime.go:73 +0x3a
net.(*pollDesc).WaitRead(0xc82020b020, 0x0, 0x0)
/usr/local/go/src/net/fd_poll_runtime.go:78 +0x36
net.(*netFD).accept(0xc82020afc0, 0x0, 0x7fcf4d2ca518, 0xc82020c100)
/usr/local/go/src/net/fd_unix.go:408 +0x27c
net.(*TCPListener).AcceptTCP(0xc820026208, 0xc820037d58, 0x0, 0x0)
/usr/local/go/src/net/tcpsock_posix.go:254 +0x4d
net/http.tcpKeepAliveListener.Accept(0xc820026208, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/server.go:2135 +0x41
net/http.(*Server).Serve(0xc820018600, 0x7fcf4d2ca4e0, 0xc820026208, 0x0, 0x0)
/usr/local/go/src/net/http/server.go:1887 +0xb3
net/http.(*Server).ListenAndServe(0xc820018600, 0x0, 0x0)
/usr/local/go/src/net/http/server.go:1877 +0x136
github.com/astaxie/beego.(*App).Run.func4(0xc8200f4400, 0xc8201c1b80, 0xc82020af50)
/home/ubuntu/dev/sched/Godeps/_workspace/src/github.com/astaxie/beego/app.go:159 +0x487
created by github.com/astaxie/beego.(*App).Run
/home/ubuntu/dev/sched/Godeps/_workspace/src/github.com/astaxie/beego/app.go:166 +0x9a5
goroutine 14 [runnable]:
github.com/mesos/mr-redis/sched/mesoslib.prepareExecutorInfo.func1(0xc8200f5d40, 0x9, 0xc8200f5d50, 0x4)
/home/ubuntu/gopkg/src/github.com/mesos/mr-redis/sched/mesoslib/mesoslib.go:54
created by github.com/mesos/mr-redis/sched/mesoslib.prepareExecutorInfo
/home/ubuntu/gopkg/src/github.com/mesos/mr-redis/sched/mesoslib/mesoslib.go:66 +0x583
[root@open-falcon mr-redis]#
The text was updated successfully, but these errors were encountered: