Comments (13)
Due to how we are currently managing dependencies in the influxdb source, I don't believe you can go get
whisper-migrator.
As a workaround, given your current state, you should run:
go get github.com/sparrc/gdm
cd $GOPATH/src/github.com/influxdata/influxdb
$GOPATH/bin/gdm restore
cd $GOPATH/src/github.com/influxdata/whisper-migrator
go install .
I will leave this issue open until we have a better solution in place.
from whisper-migrator.
Thanks. This workaround solved described issue.
from whisper-migrator.
package github.com/uber-go/zap: code in directory C:\Go\projects\src\github.com\uber-go\zap expects import "go.uber.org/zap"
how can i resolve it ??
from whisper-migrator.
I'm a bit confused how it should work:
$GOPATH/bin/gdm restore
...
Restoring $HOME/go/src/golang.org/x/crypto to 9477e0b78b9ac3d0b03822fd95422e2fe07627cd
Restoring $HOME/go/src/golang.org/x/sys to 90796e5a05ce440b41c768bd9af257005e470461
~/go/src/github.com/influxdata/influxdb> cd $GOPATH/src/github.com/influxdata/whisper-migrator
-bash: cd: $HOME/go/src/github.com/influxdata/whisper-migrator: No such file or directory
cd $GOPATH/src/github.com/influxdata/whisper-migrator
from whisper-migrator.
Argh. Worked it out.
from whisper-migrator.
@mark-rushakoff
Thanks for the solution. I am getting this now, any idea?
✔ /data/src/github.com/influxdata/whisper-migrator [master|✔]
21:02 $ go install .github.com/influxdata/influxdb/query
../influxdb/query/query_executor.go:208:9: cannot use zap.New(zap.NullEncoder()) (type *zap.Logger) as type zap.Logger in field value
../influxdb/query/query_executor.go:208:24: undefined: zap.NullEncoder
../influxdb/query/query_executor.go:245:11: cannot use log.With(zap.String("service", "query")) (type *zap.Logger) as type zap.Logger in assignment
../influxdb/query/task_manager.go:67:9: cannot use zap.New(zap.NullEncoder()) (type *zap.Logger) as type zap.Logger in field value
../influxdb/query/task_manager.go:67:25: undefined: zap.NullEncoder
I've decided started fresh, only to get the:
./migration.go:515:38: cannot use tsmPoint.key (type string) as type []byte in argument to tsmWriter.Write
Is there any up to date solution to install and run whisper-migrator
? I am keen moving from Graphite to InfluxDB, but this stops me inevitably.
from whisper-migrator.
@tomekit did you run gdm restore
from the influxdb directory? Looks like the checked out version of zap doesn't match what influxdb expects.
from whisper-migrator.
Also facing the same issue :(
cannot use zap.New(zap.NullEncoder()) (type *zap.Logger) as type zap.Logger in field value
and
cannot use tsmPoint.key (type string) as type []byte in argument to tsmWriter.Write
from whisper-migrator.
Same issue here.
from whisper-migrator.
It seems like the issue started around here: influxdata/influxdb@7780004
from whisper-migrator.
Same here with Ubuntu 16.04.3 LTS and go version go1.6.2. The "Solution" from mark-rushakoff didnt work for me
This prevent us to migrate from graphite to influxdb
from whisper-migrator.
Hi, I am also facing the same issue, was anyone able to find the solution for this?
from whisper-migrator.
Hi, I am also facing the same issue, was anyone able to find the solution for this?
from whisper-migrator.
Related Issues (19)
- CreateShards: only default Addr setting in the client.NewHTTPClient initialization HOT 1
- need to have graphite storage finder HOT 1
- Symbol "_" in wspPath and regexps in patterns
- cannot use time.Unix as type int64 in argument to tsm1.NewValue HOT 8
- Error running migration.go: cannot use time.Unix(int64(wspPoint.Timestamp)
- Incorrect datetime
- Tag matching doesn't work
- Invalid memory address or nil pointer dereference
- Installation - code in directory /data/src/github.com/uber-go/zap expects import "go.uber.org/zap" HOT 1
- How do you use this thing? HOT 2
- Migrator seems to no longer work. HOT 1
- issues running migration.go
- Compatibility with InfluxDB 2.0
- Archive this tool as deprecated.
- Detection of malformed json HOT 1
- Migration with Option TSMW : fatal : "from time is not less than until time" HOT 5
- Only Dummy data with option TSMW HOT 2
- WriteTSMPoints: initialization of the mtf.Tags needs to be outside the for-loop HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whisper-migrator.