I am creating a simple setup.
4 Machines, easy to manually manage so I didn't use Cap.
SYS-01 - 4 cpu (8core each), 128gb RAM
Hadoop HDFS - namenode, datanode, jobtracker, tasktracker
Hypertable - Master, Hyperspace, Rangeserver(?)
SYS-02 - 4 cpu (8core each), 128gb RAM
Hadoop HDFS - secondary namenode, datanode
Hypertable - Hyperspace
SYS-03 - 4 cpu (8core each), 128gb RAM
Hypertable - Hyperspace
SYS-04 - 4 cpu (8core each), 128gb RAM
Hypertable - Hyperspace
The objective is to run clustered Hypertable on all these four systems. SYS-01 is hypertable master. All four servers run a single database, that gets shared across all servers. I am not looking for any redundancy of data.
What hypertable processes I shall on other servers?
Do I need range server? What server I shall run range server on?
Can I use each machine to read/write queries? or just master I have to use?
Do I need to run thriftbroker on all servers?
root@SYS-01:/opt/hypertable/
0.9.7.6/bin# ./start-all-servers.sh hadoop
DFS broker: available file descriptors: 1024
Started DFS Broker (hadoop)
Started Hyperspace
Started Hypertable.Master
/proc/sys/vm/swappiness = 60
Started Hypertable.RangeServer
Started ThriftBroker
Capfile (though its not in use).
set :source_machine, "SYS-01"
set :install_dir, "/opt/hypertable"
set :hypertable_version, "0.9.7.6"
set :default_pkg, "/tmp/hypertable-0.9.7.6-linux-x86_64.deb"
set :default_dfs, "hadoop"
set :default_distro, "cdh3"
set :default_config, "/opt/hypertable/dev-hypertable.cfg"
role :source, "SYS-01"
role :master, "SYS-01"
role :hyperspace, "SYS-01", "SYS-02", "SYS-03", "SYS-04"
role :slave, "SYS-01", "SYS-02", "SYS-03", "SYS-04"
role :localhost, "SYS-01"
role :thriftbroker_additional, "SYS-01", "SYS-02", "SYS-03", "SYS-04"
root@SYS-01:/hyperspace# sudo -u hdfs hadoop dfsadmin -report
Configured Capacity: 2377018916864 (2.16 TB)
Present Capacity: 2174557945856 (1.98 TB)
DFS Remaining: 2174556585984 (1.98 TB)
DFS Used: 1359872 (1.3 MB)
DFS Used%: 0%
Under replicated blocks: 0
Blocks with corrupt replicas: 0
Missing blocks: 0
-------------------------------------------------
Datanodes available: 4 (4 total, 0 dead)
Decommission Status : Normal
Configured Capacity: 594254729216 (553.44 GB)
DFS Used: 65536 (64 KB)
Non DFS Used: 50588594176 (47.11 GB)
DFS Remaining: 543666069504(506.33 GB)
DFS Used%: 0%
DFS Remaining%: 91.49%
Last contact: Fri May 24 17:23:18 EDT 2013
Decommission Status : Normal
Configured Capacity: 594254729216 (553.44 GB)
DFS Used: 73728 (72 KB)
Non DFS Used: 50589900800 (47.12 GB)
DFS Remaining: 543664754688(506.33 GB)
DFS Used%: 0%
DFS Remaining%: 91.49%
Last contact: Fri May 24 17:23:17 EDT 2013
Decommission Status : Normal
Configured Capacity: 594254729216 (553.44 GB)
DFS Used: 45056 (44 KB)
Non DFS Used: 50589016064 (47.11 GB)
DFS Remaining: 543665668096(506.33 GB)
DFS Used%: 0%
DFS Remaining%: 91.49%
Last contact: Fri May 24 17:23:18 EDT 2013
Decommission Status : Normal
Configured Capacity: 594254729216 (553.44 GB)
DFS Used: 1175552 (1.12 MB)
Non DFS Used: 50693459968 (47.21 GB)
DFS Remaining: 543560093696(506.23 GB)
DFS Used%: 0%
DFS Remaining%: 91.47%
Last contact: Fri May 24 17:23:17 EDT 2013