Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PANIC] for Kapacitor show with batch and bad dbrp #177

Closed
nathanielc opened this issue Jan 27, 2016 · 0 comments
Closed

[PANIC] for Kapacitor show with batch and bad dbrp #177

nathanielc opened this issue Jan 27, 2016 · 0 comments

Comments

@nathanielc
Copy link
Contributor

kapacitor show usg_rate_batch
2016/01/27 19:03:40 http: panic serving 127.0.0.1:38722: runtime error: index out of range
goroutine 92110 [running]:
net/http.(*conn).serve.func1(0xc820521760, 0x7f1f69806a50, 0xc8201e0450)
    /usr/local/go/src/net/http/server.go:1287 +0xb5
github.com/influxdb/kapacitor.(*node).edot(0xc822befee0, 0xc820325180)
    /gopath/src/github.com/influxdb/kapacitor/node.go:162 +0x44c
github.com/influxdb/kapacitor.(*ExecutingTask).EDot.func1(0x7f1f56cea1f8, 0xc822befee0, 0x0, 0x0)
    /gopath/src/github.com/influxdb/kapacitor/task.go:297 +0x3f
github.com/influxdb/kapacitor.(*ExecutingTask).walk(0xc8205e2730, 0xc82f5d72b0, 0x0, 0x0)
    /gopath/src/github.com/influxdb/kapacitor/task.go:131 +0xb6
github.com/influxdb/kapacitor.(*ExecutingTask).EDot(0xc8205e2730, 0x0, 0x0, 0x0)
    /gopath/src/github.com/influxdb/kapacitor/task.go:299 +0x196
github.com/influxdb/kapacitor.(*TaskMaster).ExecutingDot(0xc82014e000, 0xc82f28d306, 0xe, 0x0, 0x0)
    /gopath/src/github.com/influxdb/kapacitor/task_master.go:241 +0xe1
github.com/influxdb/kapacitor/services/task_store.(*Service).handleTask(0xc820018a80, 0x7f1f56f0a580, 0xc82f1b6fc0, 0xc8201a8c40)
    /gopath/src/github.com/influxdb/kapacitor/services/task_store/service.go:224 +0x2a2
github.com/influxdb/kapacitor/services/task_store.(*Service).(github.com/influxdb/kapacitor/services/task_store.handleTask)-fm(0x7f1f56f0a580, 0xc82f1b6fc0, 0xc8201a8c40)
    /gopath/src/github.com/influxdb/kapacitor/services/task_store/service.go:79 +0x3e
net/http.HandlerFunc.ServeHTTP(0xc820188560, 0x7f1f56f0a580, 0xc82f1b6fc0, 0xc8201a8c40)
    /usr/local/go/src/net/http/server.go:1422 +0x3a
github.com/influxdb/kapacitor/services/httpd.gzipFilter.func1(0x7f1f56f0a4f8, 0xc82f1b6f80, 0xc8201a8c40)
    /gopath/src/github.com/influxdb/kapacitor/services/httpd/handler.go:497 +0x2af
net/http.HandlerFunc.ServeHTTP(0xc82016a520, 0x7f1f56f0a4f8, 0xc82f1b6f80, 0xc8201a8c40)
    /usr/local/go/src/net/http/server.go:1422 +0x3a
github.com/influxdb/kapacitor/services/httpd.versionHeader.func1(0x7f1f56f0a4f8, 0xc82f1b6f80, 0xc8201a8c40)
    /gopath/src/github.com/influxdb/kapacitor/services/httpd/handler.go:506 +0xc0
net/http.HandlerFunc.ServeHTTP(0xc82016a540, 0x7f1f56f0a4f8, 0xc82f1b6f80, 0xc8201a8c40)
    /usr/local/go/src/net/http/server.go:1422 +0x3a
github.com/influxdb/kapacitor/services/httpd.cors.func1(0x7f1f56f0a4f8, 0xc82f1b6f80, 0xc8201a8c40)
    /gopath/src/github.com/influxdb/kapacitor/services/httpd/handler.go:539 +0x328
net/http.HandlerFunc.ServeHTTP(0xc82016a560, 0x7f1f56f0a4f8, 0xc82f1b6f80, 0xc8201a8c40)
    /usr/local/go/src/net/http/server.go:1422 +0x3a
github.com/influxdb/kapacitor/services/httpd.requestID.func1(0x7f1f56f0a4f8, 0xc82f1b6f80, 0xc8201a8c40)
    /gopath/src/github.com/influxdb/kapacitor/services/httpd/handler.go:549 +0x15d
net/http.HandlerFunc.ServeHTTP(0xc82016a580, 0x7f1f56f0a4f8, 0xc82f1b6f80, 0xc8201a8c40)
    /usr/local/go/src/net/http/server.go:1422 +0x3a
github.com/influxdb/kapacitor/services/httpd.logging.func1(0x7f1f56f0a4f8, 0xc82f1b6f60, 0xc8201a8c40)
    /gopath/src/github.com/influxdb/kapacitor/services/httpd/handler.go:557 +0x10b
net/http.HandlerFunc.ServeHTTP(0xc82016a5a0, 0x7f1f56f0a4f8, 0xc82f1b6f60, 0xc8201a8c40)
    /usr/local/go/src/net/http/server.go:1422 +0x3a
github.com/influxdb/kapacitor/services/httpd.recovery.func1(0x7f1f56f0a4c0, 0xc820521810, 0xc8201a8c40)
    /gopath/src/github.com/influxdb/kapacitor/services/httpd/handler.go:567 +0x114
net/http.HandlerFunc.ServeHTTP(0xc82016a5c0, 0x7f1f56f0a4c0, 0xc820521810, 0xc8201a8c40)
    /usr/local/go/src/net/http/server.go:1422 +0x3a
github.com/influxdb/kapacitor/services/httpd.(*ServeMux).ServeHTTP(0xc820144b10, 0x7f1f56f0a4c0, 0xc820521810, 0xc8201a8c40)
    /gopath/src/github.com/influxdb/kapacitor/services/httpd/mux.go:163 +0x17d
github.com/influxdb/kapacitor/services/httpd.(*Handler).ServeHTTP(0xc820018a20, 0x7f1f56f0a4c0, 0xc820521810, 0xc8201a8c40)
    /gopath/src/github.com/influxdb/kapacitor/services/httpd/handler.go:210 +0x405
net/http.serverHandler.ServeHTTP(0xc820154000, 0x7f1f56f0a4c0, 0xc820521810, 0xc8201a8c40)
    /usr/local/go/src/net/http/server.go:1862 +0x19e
net/http.(*conn).serve(0xc820521760)
    /usr/local/go/src/net/http/server.go:1361 +0xbee
created by net/http.(*Server).Serve
    /usr/local/go/src/net/http/server.go:1910 +0x3f6
Get http://localhost:9092/api/v1/task?name=usg_rate_batch: EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant