Coder Social home page Coder Social logo

Comments (13)

mark-rushakoff avatar mark-rushakoff commented on August 16, 2024 5

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.

varminas avatar varminas commented on August 16, 2024

Thanks. This workaround solved described issue.

from whisper-migrator.

rajalive28 avatar rajalive28 commented on August 16, 2024

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.

yellowpattern avatar yellowpattern commented on August 16, 2024

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.

yellowpattern avatar yellowpattern commented on August 16, 2024

Argh. Worked it out.

from whisper-migrator.

tomekit avatar tomekit commented on August 16, 2024

@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.

mark-rushakoff avatar mark-rushakoff commented on August 16, 2024

@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.

rahulramani avatar rahulramani commented on August 16, 2024

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.

voxxit avatar voxxit commented on August 16, 2024

Same issue here.

from whisper-migrator.

voxxit avatar voxxit commented on August 16, 2024

It seems like the issue started around here: influxdata/influxdb@7780004

from whisper-migrator.

MaBauMeBad avatar MaBauMeBad commented on August 16, 2024

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.

kapoorabhishek24 avatar kapoorabhishek24 commented on August 16, 2024

Hi, I am also facing the same issue, was anyone able to find the solution for this?

from whisper-migrator.

gagado avatar gagado commented on August 16, 2024

Hi, I am also facing the same issue, was anyone able to find the solution for this?

from whisper-migrator.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.