Overview
Category : latest version
Category : latest version
Category : latest version
Goal of ElasticWarehouse is to organize your files, make them searchable and take care about fault tolerance. Thanks to ElasticWarehouse you can store terabytes of data in data cloud. In this guide you learn how to install and configure ElasticWarehouse cluster, how to import your files to the cluster and how to access them using simple or advanced API. For advanced usage is good to have understanding how ElasticSearch and Lucene work, because ElasticWarehouse has been build on the top of them.
ElasticWarehouse is an open-source project and it has nothing common with Elastic.co, except fact ElasticWarehouse has been build on the top of ElasticSearch.
Category : latest version
cd /opt/elasticwarehouse tar -zxf elasticwarehouse-latest.tar.gz
Once you launch it, ElasticWarehouse will create a node client and create new or connect to existing cluster using multicast discovery.
Here is an output from successful run:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
Hello! ElasticWarehouse is starting.... [2015-07-24 11:32:59,950] INFO [main] Reading configuration file : C:\Temp\elasticwarehouse/config//elasticwarehouse.yml [2015-07-24 11:32:59,969] INFO [main] Configuration read [2015-07-24 11:33:00,090] INFO [main] Reading configuration file : C:\Temp\elasticwarehouse/config//elasticsearch.yml [2015-07-24 11:33:00,096] INFO [main] Configuration read [2015-07-24 11:33:07,651] INFO [main] Starting ElasticSearchAccessor [2015-07-24 11:33:00,260] INFO [main] Starting in embedded mode [2015-07-24 11:33:00,529] INFO [main] [MYHOSTNAME] version[1.3.4], pid[61316], build[a70f3cc/2014-09-30T09:07:17Z] [2015-07-24 11:33:00,529] INFO [main] [MYHOSTNAME] initializing ... [2015-07-24 11:33:00,548] INFO [main] [MYHOSTNAME] loaded [], sites [head, kopf] [2015-07-24 11:33:02,628] INFO [main] [MYHOSTNAME] initialized [2015-07-24 11:33:02,628] INFO [main] [MYHOSTNAME] starting ... [2015-07-24 11:33:03,217] INFO [main] [MYHOSTNAME] bound_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish_address {inet[/192.168.0.100:9300]} [2015-07-24 11:33:04,037] INFO [main] [MYHOSTNAME] elasticwarehouse/ULOcndw5QNW35jJMKgVjYg [2015-07-24 11:33:07,049] INFO [elasticsearch[MYHOSTNAME][clusterService#updateTask][T#1]] [MYHOSTNAME] new_master [MYHOSTNAME][ULOcndw5QNW35jJMKgVjYg][MYHOSTNAME][inet[/192.168.0.100:9300]]{master=true}, reason: zen-disco-join (elected_as_master) [2015-07-24 11:33:07,466] INFO [main] [MYHOSTNAME] bound_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish_address {inet[/192.168.0.100:9200]} [2015-07-24 11:33:07,467] INFO [main] [MYHOSTNAME] started [2015-07-24 11:33:07,641] INFO [elasticsearch[MYHOSTNAME][clusterService#updateTask][T#1]] [MYHOSTNAME] recovered [2] indices into cluster_state [2015-07-24 11:33:07,646] INFO [main] Mapping file successfully imported ! [2015-07-24 11:33:07,649] INFO [main] Mapping file successfully imported ! [2015-07-24 11:33:07,650] INFO [main] index elasticwarehousestorage already exist [2015-07-24 11:33:07,651] INFO [main] index elasticwarehousetasks already exist [2015-07-24 11:33:07,651] INFO [main] Starting ElasticWarehouseServer for Grafana [2015-07-24 11:33:07,651] INFO [main] Starting ElasticWarehouseServer for Monitoring [2015-07-24 11:33:07,651] INFO [main] Starting ElasticWarehouseServer for WarehouseAPI [2015-07-24 11:33:07,795] INFO [Thread-1] Logging initialized [2015-07-24 11:33:07,825] INFO [Thread-3] rrd.db.path not provided in configuration, using data folder instead:C:\Temp\elasticwarehouse/data/ [2015-07-24 11:33:07,847] INFO [Thread-2] Marking old tasks as cancelled: true [2015-07-24 11:33:07,854] INFO [Thread-2] rrd.db.path not provided in configuration, using data folder instead:C:\Temp\elasticwarehouse/data/ [2015-07-24 11:33:07,877] INFO [Thread-1] Started o.e.j.s.h.ContextHandler@749036{/,null,AVAILABLE} [2015-07-24 11:33:07,900] INFO [Thread-1] Started ServerConnector@84ae71{HTTP/1.1}{0.0.0.0:10500} [2015-07-24 11:33:07,900] INFO [Thread-1] Started [2015-07-24 11:33:08,210] INFO [Thread-2] Starting API handler on port:10200 [2015-07-24 11:33:08,214] INFO [Thread-2] Started o.e.j.s.h.ContextHandler@c9e336{/,null,AVAILABLE} [2015-07-24 11:33:08,228] INFO [Thread-2] Started ServerConnector@18ad10{HTTP/1.1}{0.0.0.0:10200} [2015-07-24 11:33:08,228] INFO [Thread-2] Started |
What’s next?
Check ElasticWarehouse status ….
curl -X GET http://localhost:10200/
Start more servers …
Category : latest version