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

Engine rocksdb not found #742

Closed
wants to merge 1 commit into from
Closed

Engine rocksdb not found #742

wants to merge 1 commit into from

Conversation

jvshahid
Copy link
Contributor

Hi,

I'm not sure if I missed something, but when I start the new 0.8rc1 (clean install) I receive the following errors:

[2014/07/15 20:36:23 CEST] [INFO] (github.com/influxdb/influxdb/cluster.(*ClusterConfiguration).createShards:873) createShards for space default: start: Thu Jul 10 02:00:00 +0200 CEST 2014. end: Thu Jul 17 02:00:00 +0200 CEST 2014
[2014/07/15 20:36:23 CEST] [INFO] (github.com/influxdb/influxdb/cluster.(*ClusterConfiguration).GetShardToWriteToBySeriesAndTime:842) No matching shards for write at time 1405449373000000u, creating...
[2014/07/15 20:36:23 CEST] [INFO] (github.com/influxdb/influxdb/cluster.(*ClusterConfiguration).GetShardToWriteToBySeriesAndTime:842) No matching shards for write at time 1405449373000000u, creating...

[2014/07/15 20:35:19 CEST] [INFO] (github.com/influxdb/influxdb/cluster.(*ClusterConfiguration).GetShardToWriteToBySeriesAndTime:842) No matching shards for write at time 1405449308000000u, creating...
[2014/07/15 20:35:19 CEST] [INFO] (github.com/influxdb/influxdb/cluster.(*ClusterConfiguration).createShards:873) createShards for space default: start: Thu Jul 10 02:00:00 +0200 CEST 2014. end: Thu Jul 17 0
2:00:00 +0200 CEST 2014
[2014/07/15 20:35:19 CEST] [INFO] (github.com/influxdb/influxdb/datastore.(*ShardDatastore).GetOrCreateShard:163) DATASTORE: opening or creating shard /opt/influxdb/shared/data/db/shard_db_v2/00001
[2014/07/15 20:35:19 CEST] [INFO] (github.com/influxdb/influxdb/cluster.(*ClusterConfiguration).GetShardToWriteToBySeriesAndTime:842) No matching shards for write at time 1405449318000000u, creating...
[2014/07/15 20:35:19 CEST] [INFO] (github.com/influxdb/influxdb/cluster.(*ClusterConfiguration).createShards:873) createShards for space default: start: Thu Jul 10 02:00:00 +0200 CEST 2014. end: Thu Jul 17 0
2:00:00 +0200 CEST 2014
[2014/07/15 20:35:19 CEST] [EROR] (github.com/influxdb/influxdb/datastore.(*ShardDatastore).GetOrCreateShard:170) Error opening shard: %!(EXTRA *errors.errorString=Engine 'rocksdb' not found)
[2014/07/15 20:35:19 CEST] [EROR] (github.com/influxdb/influxdb/cluster.(*ClusterConfiguration).AddShards:1075) AddShards: error setting local store: %!(EXTRA *errors.errorString=Engine 'rocksdb' not found)
[2014/07/15 20:35:19 CEST] [INFO] (github.com/influxdb/influxdb/datastore.(*ShardDatastore).GetOrCreateShard:163) DATASTORE: opening or creating shard /opt/influxdb/shared/data/db/shard_db_v2/00002
[2014/07/15 20:35:19 CEST] [EROR] (github.com/influxdb/influxdb/coordinator.(*RaftServer).doOrProxyCommandOnce:149) Cannot run command &coordinator.CreateShardsCommand{Shards:[]*cluster.NewShardData{(*cluste
r.NewShardData)(0xc21007a9a0)}, SpaceName:""}. Engine 'rocksdb' not found
[2014/07/15 20:35:19 CEST] [EROR] (github.com/influxdb/influxdb/coordinator.(*RaftServer).CreateShards:714) RAFT: CreateShards: %!(EXTRA *errors.errorString=Engine 'rocksdb' not found)
[2014/07/15 20:35:19 CEST] [EROR] (github.com/influxdb/influxdb/datastore.(*ShardDatastore).GetOrCreateShard:170) Error opening shard: %!(EXTRA *errors.errorString=Engine 'rocksdb' not found)
[2014/07/15 20:35:19 CEST] [EROR] (github.com/influxdb/influxdb/cluster.(*ClusterConfiguration).AddShards:1075) AddShards: error setting local store: %!(EXTRA *errors.errorString=Engine 'rocksdb' not found)
[2014/07/15 20:35:19 CEST] [EROR] (github.com/influxdb/influxdb/coordinator.(*RaftServer).doOrProxyCommandOnce:149) Cannot run command &coordinator.CreateShardsCommand{Shards:[]*cluster.NewShardData{(*cluste
r.NewShardData)(0xc210220380)}, SpaceName:""}. Engine 'rocksdb' not found
[2014/07/15 20:35:19 CEST] [EROR] (github.com/influxdb/influxdb/coordinator.(*RaftServer).CreateShards:714) RAFT: CreateShards: %!(EXTRA *errors.errorString=Engine 'rocksdb' not found)
[2014/07/15 20:35:20 CEST] [INFO] (github.com/influxdb/influxdb/cluster.(*ClusterConfiguration).GetShardToWriteToBySeriesAndTime:842) No matching shards for write at time 1405441814000000u, creating...
[2014/07/15 20:35:20 CEST] [INFO] (github.com/influxdb/influxdb/cluster.(*ClusterConfiguration).createShards:873) createShards for space default: start: Thu Jul 10 02:00:00 +0200 CEST 2014. end: Thu Jul 17 0
2:00:00 +0200 CEST 2014
[2014/07/15 20:35:20 CEST] [INFO] (github.com/influxdb/influxdb/datastore.(*ShardDatastore).GetOrCreateShard:163) DATASTORE: opening or creating shard /opt/influxdb/shared/data/db/shard_db_v2/00003
[2014/07/15 20:35:20 CEST] [INFO] (github.com/influxdb/influxdb/cluster.(*ClusterConfiguration).GetShardToWriteToBySeriesAndTime:842) No matching shards for write at time 1405441814000000u, creating...

Almost forgot:

I installed the rpm on Centos 6

@pauldix
Copy link
Member

pauldix commented Jul 17, 2014

Fixed on rc2

@pauldix pauldix closed this Jul 17, 2014
@qubyte
Copy link

qubyte commented Oct 7, 2014

I'm seeing this. I have version 1.0.3 installed with a fresh brew install influxdb.

Error: Engine 'rocksdb' not found
        at /Users/marke/<redacted>/node_modules/influx/index.js:49:23
        at InfluxRequest._parseCallback (/Users/marke/<redacted>/node_modules/influx/lib/InfluxRequest.js:125:10)
        at Request._callback (/Users/marke/<redacted>/node_modules/influx/lib/InfluxRequest.js:113:10)
        at Request.self.callback (/Users/marke/<redacted>/node_modules/influx/node_modules/request/request.js:199:22)
        at Request.EventEmitter.emit (events.js:98:17)
        at Request.<anonymous> (/Users/marke/<redacted>/node_modules/influx/node_modules/request/request.js:1160:14)
        at Request.EventEmitter.emit (events.js:117:20)
        at IncomingMessage.<anonymous> (/Users/marke/<redacted>/node_modules/influx/node_modules/request/request.js:1111:12)
        at IncomingMessage.EventEmitter.emit (events.js:117:20)
        at _stream_readable.js:919:16

Is there a workaround?

@jvshahid
Copy link
Contributor

jvshahid commented Oct 7, 2014

Yeah, for now you can change the default engine to leveldb, by changing the
following line from:

default-engine = "rocksdb"

to:

default-engine = "leveldb"

rocksdb will be available in the next release.

Cheers,

-JS

On Tue, Oct 7, 2014 at 12:18 PM, Mark S. Everitt notifications@github.com
wrote:

I'm seeing this. I have version 1.0.3 installed with a fresh brew install
influxdb.

Error: Engine 'rocksdb' not found
at /Users/marke/shortener/node_modules/influx/index.js:49:23
at InfluxRequest._parseCallback (/Users/marke/shortener/node_modules/influx/lib/InfluxRequest.js:125:10)
at Request._callback (/Users/marke/shortener/node_modules/influx/lib/InfluxRequest.js:113:10)
at Request.self.callback (/Users/marke/shortener/node_modules/influx/node_modules/request/request.js:199:22)
at Request.EventEmitter.emit (events.js:98:17)
at Request. (/Users/marke/shortener/node_modules/influx/node_modules/request/request.js:1160:14)
at Request.EventEmitter.emit (events.js:117:20)
at IncomingMessage. (/Users/marke/shortener/node_modules/influx/node_modules/request/request.js:1111:12)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:919:16

Is there a workaround?


Reply to this email directly or view it on GitHub
#742 (comment).

@jvshahid
Copy link
Contributor

jvshahid commented Oct 7, 2014

Just to be clear this is a problem on MacOS only and not on Linux.

@toddboom
Copy link
Contributor

toddboom commented Oct 7, 2014

Also, this is fixed in the latest homebrew recipe (v0.8.3).

@qubyte
Copy link

qubyte commented Oct 7, 2014

@jvshahid Thanks, I'll give that a shot tomorrow. @toddboom I can't tell you which version I was running (I can update you tomorrow), but I installed InfluxDB today using the instructions on the website (so brew update was run first) this afternoon (GMT).

@toddboom
Copy link
Contributor

toddboom commented Oct 7, 2014

@qubyte This PR should have fixed the dependency in the recipe:

Homebrew/legacy-homebrew#32912

I just tried it and RocksDB v3.5 gets installed from the bottle when I install InfluxDB. Let me know if you still run into any issues.

@qubyte
Copy link

qubyte commented Oct 7, 2014

Oh, I did check this earlier. RocksDB did get installed.

@toddboom
Copy link
Contributor

toddboom commented Oct 7, 2014

@qubyte Sorry, I think I jumped to a conclusion here. It looks like rocksdb is getting installed by the recipe, but the engine support isn't being added on the OSX build. It's a quick fix, but I'll reopen this until it's done.

@toddboom toddboom reopened this Oct 7, 2014
@qubyte
Copy link

qubyte commented Oct 7, 2014

No worries! Thanks for the fast responses guys. :)

@jvshahid jvshahid added this to the 0.8.4 milestone Oct 10, 2014
@jvshahid jvshahid self-assigned this Oct 10, 2014
The usage of the new configure script is as follows:

`./configure --with-rocksdb`

Fix #742
@jvshahid
Copy link
Contributor

@toddboom can you try building this branch and make sure that running ./configure --with-rocksdb in fact enables rocksdb and uses the one from homebrew

@jvshahid jvshahid closed this in 1801150 Oct 15, 2014
@jvshahid jvshahid removed the review label Oct 15, 2014
@toddboom toddboom deleted the fix-742 branch May 5, 2015 19:44
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

Successfully merging this pull request may close these issues.

None yet

4 participants