Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions minimum-cluster-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ Read [this tutorial](http://www.tutorialspoint.com/hadoop/hadoop_multi_node_clus
- Change the `/usr/local/elasticsearch/config/elasticsearch.yml` file as shown below. This is minimal and allows all hosts to act as backup masters in case the acting master goes down. Also all hosts are data/index nodes so can respond to queries and host shards of the index.

```
cluster.name: your-app-name
cluster.name: some-cluster # remember to put the same name in pio-env.sh below
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually the name of the cluster does not have to be the appname. Many people use the same cluster for multiple models, which implies many appnames so this should be a name to identify the physical cluster of Elasticsearch machines, not an app, which is tied to a dataset in the EventServer.

discovery.zen.ping.multicast.enabled: false # most cloud services don't allow multicast
discovery.zen.ping.unicast.hosts: ["some-master", "some-slave-1", "some-slave-2"] # add all hosts, masters and/or data nodes
```
Expand Down Expand Up @@ -361,7 +361,7 @@ You have PredictionIO in `~/pio` so edit ~/pio/conf/pio-env.sh to have these set
# Safe config that will work if you expand your cluster later
SPARK_HOME=/usr/local/spark
ES_CONF_DIR=/usr/local/elasticsearch
HADOOP_CONF_DIR=/usr/local/hadoop/etc/handoop
HADOOP_CONF_DIR=/usr/local/hadoop/etc/hadoop
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I will fix this, thanks you! It is already fixed on the site docs which are going to replace these. Find the site markdown here: https://github.com/actionml/docs.actionml.com

HBASE_CONF_DIR=/usr/local/hbase/conf

# Filesystem paths where PredictionIO uses as block storage.
Expand Down