Error elephantdb-server start

73 views
Skip to first unread message

Gianluca Carucci

unread,
Jan 7, 2015, 5:09:49 PM1/7/15
to elephan...@googlegroups.com
Hi all,
my aim is run elephantdb server using local file system without involve hadoop (for the moment).
So, on my MBP I cloned last version of elephantdb from git and I created jar executing follow command on elephantdb-server folder:
lein with-profile provided uberjar

After that I tried to run server using this config files: 
global_config.clj:

{:replication 1
 :port 3578
 :hosts ["localhost"]
 :domains {
    "example" "../data/domains/example"
 }
}

local_config.clj:

{:replication 1   :port 3578   :download-rate-limit 1024   :update-interval-s 60   :local-root "./tmp"   :hosts ["localhost"]}

The command lunched:

java -jar elephantdb-server-0.5.2-SNAPSHOT-standalone.jar ../config/global_config.clj ../config/local_config.clj 


produce the warning: 
[main] WARN  c.y.metrics.reporting.JmxReporter - Error processing "fe80:0:0:0:94c7:7eff:fed2:c658%9.elephantdb":type="keyval",name="get_requests"

javax.management.MalformedObjectNameException: Invalid character ':' in key part of property


and the exception:

Exception in thread "main" java.lang.IllegalArgumentException: You must supply a DomainSpec when creating a DomainStore.


Is there something wrong in my configuration or in the compilation steps?
I tried also cloning and executing https://github.com/jeroenvandijk/elephantdb-playground but the result is the same.
Thanks for your support.
Regards 
Gianluca

Gianluca Carucci

unread,
Jan 10, 2015, 3:03:33 PM1/10/15
to elephan...@googlegroups.com

Hi all.
I solved. 
I needed to add a domain-spec.yalm file to the output file of domains (in my case ../data/domains/example).
the domain-spec.yam file contains:

--- 
shard_scheme: elephantdb.partition.HashModScheme
persistence_opts: {}
coordinator: elephantdb.persistence.JavaBerkDB
shard_count: 32
Reply all
Reply to author
Forward
0 new messages