-
Notifications
You must be signed in to change notification settings - Fork 66
Can anyone setup a startup documents for this project #327
Comments
Yeah, this is definitely badly needed. It requires a bit of knowledge about the moving parts to get started. Hopefully we can do this sometime soon. |
To start hank-server, Is it as follows?
configuration files are copied from example_config dir with some changes: ring_group_conductor.yaml: ring_group_name: rg1 sleep_interval: 1000
partition_server.yaml: partition_server:
|
The problem has resolved. I need to create ring group rg1 in hank-ui first. then start partition server. Any detailed documents about how to use HANK are appreciated. |
@wxstorm sorry for the slow replies. Glad that you got that running. To get a partition server to load data, you need (1) a domain (2) a base built for the domain (3) the domain assigned to the domain group and (4) the RGC to be ACTIVE so it can tell the partition servers to update. The domain configuration is a bit intimidating looking. The configuration could look something like Num partitions 1024
The domains are all built via MapReduce jobs currently. Hopefully you can get a sense of how they work from the tests for the two ways of running these, via raw mapreduce or using Cascading. The basic idea is that the domain builder builds the domains to HDFS, and then the partition server downloads the files from there onto the local disk. This is pretty high level, so let me know what isn't clear and I can try to help. Sorry the documentation is so sparse / nonexistent. |
@bpodgursky Thank you very much for you kindness. I have review the DomainBuilder src code, and
Thanks very much. |
(1) setting up a hadoop cluster is a bit out of scope here, but there are a lot of available resources for this. once you have a machine working as a hadoop gateway, the domain builder code can be run there with a standard 'hadoop jar command'. |
@bpodgursky many thanks. I have understood the load process. And In the ring, the domain appears. Does something need to configure in conf/hank-env.sh? When server starts, It prints warnings: What does this file look like, any examples? |
Could you put the hadoop classes on the classpath and try? Ex this is what we're running in our init scripts
I don't think the hank env is necessary. Let me know if this classpath change isn't enough and I'll gather up all the init scripts we have and post those. |
@bpodgursky Thank you , the classpath problem seems to be solved when I changed scope of hadoop-related dependencies from provided to compile. Can the project compile in java6? Our hadoop clusters only support java6 runtime to run MR jobs. |
Great. I doubt it fully compiles under Java 6 anymore. You could throw in a compiler plugin to override the parent and try compiling:
I strongly suspect there will be a few things that don't compile, although probably not anything massive. |
@wxstorm can you contact me via email |
I have read the readme and api documents, but I can not find any document about how to configure and start up server. And the example config seems to be overdued.
Thanks.
The text was updated successfully, but these errors were encountered: