MapRをインストールしようとした

クイックインストーラを使っても全然うまくいかない。
ネットワークが悪いのか、yum installが何度も失敗してinstallだけで1時間以上かかった。

ハマったっぽいところ

  • ホスト名(hosts)はドメインも含めて書かないとcheckで引っかかるっぽい
  • ディスクを追加したらfdiskしてパーティションに追加しよう

http://blog.r-unit.co.jp/archives/1024


クイックインストーラを何度も実行したら、インストーラは成功したが後続のディスク初期化が失敗した。
MapR 5.0 Documentation : Setting Up Disks for MapR
↑これをやるが、ここ↓でエラー。

# /opt/mapr/server/disksetup -F /tmp/disks.txt


このエラーが出た。/opt/mapr/hostnameにホスト名を出力。
MapR Community

# hostname --fqdn > /opt/mapr/hostname

その後にconfigure.shを実行
MapR 5.0 Documentation : Installing MapR Software

ようやくインストールできた模様。ここまで3時間くらい…。

# /opt/mapr/server/configure.sh -C localhost -Z localhost
Configuring Hadoop-2.4.1 at /opt/mapr/hadoop/hadoop-2.4.1
Done configuring Hadoop
Not enough memory. System only has 3959 MB. Required memory is 4096 MB
Do you still wish to continue? [y/n] y
CLDB node list: localhost:7222
Zookeeper node list: localhost:5181
Node setup configuration: cldb fileserver jobtracker nfs webserver zookeeper
Log can be found at: /opt/mapr/logs/configure.log
Zookeeper found on this node, and it is not running. Starting Zookeeper
JMX enabled by default
Using config: /opt/mapr/zookeeper/zookeeper-3.4.5/conf/zoo.cfg
Starting zookeeper ... STARTED
Zookeeper respawn not found in inittab. Adding entry.
Creating zookeeper respawn in inittab with ID of "a1"
Warden is not running. Starting mapr-warden. Warden will then start all other configured services on this node
Starting WARDEN, logging to /opt/mapr/logs/warden.log.
.
For diagnostics look at /opt/mapr/logs/ for createsystemvolumes.log, warden.log and configured services log files
Warden respawn not found in inittab. Adding entry.
Creating warden respawn in inittab with ID of "a2"
... Starting cldb
... Starting fileserver
... Starting jobtracker
... Starting nfs
... Starting webserver
To further manage the system, use "maprcli", or connect browser to https://centos66.localdomain:8443/
To stop and start this node, use "service mapr-warden stop/start"