...
Code Block |
---|
vagrant up |
At this point , the VM has will have a single node Mesos cluster running and a single node mesos cluster running.
HDFS cluster running. You can modify the Mesos and Hadoop versions by editing the
corresponding variables in the `Vagrantfile`.
Check that Mesos and Hadoop are running with a browser:
Hadoop/HDFS namenode: http://10.141.141.20:50070
Mesos Master: http://10.141.141.20:5050/
To ssh into the cluster, run the following:
Code Block |
---|
vagrant ssh |
The password for the vagrant user is vagrant.
Setting up YARN/Hadoop
To setup YARN/Hadoop inside VM, run the following YARN setup shell files:
1. Run the first YARN setup shell command from the vagrant directory to create a user hduser in group hadoop. Be sure to remember the password that you provide for this user.
Code Block |
---|
cd /vagrant
./setup-yarn-1.sh |
2. Run the second YARN setup shell command as sudo.
You can switch to the hadoop user when needed to launch hadoop processes
Code Block |
---|
sudo |
Code Block |
sudo su - hduser cd /vagrant ./setup-yarn-2.sh |
The following processes should be running:
Code Block |
---|
9844 Jps
6709 NameNode
6393 JobHistoryServer
6874 DataNode |
Note |
---|
Process IDs are different. |
Installing Myriad
Installing Myriad involves downloading the Myriad binaries from GitHub. The Myriad location is currently at https://github.com/mesos/myriad.
To install Myriad:
- Create a new myriad directory.
- Clone the Myriad GitHub.
- Pull the contents to the new directory.
Configuring Myriad
To configure Myriad:
...
Note |
---|
If a build failure occurs, the issue is not with the build itself, but a failure to write to disk. This can happen when you build outside the vagrant instance first. To resolve this issue, exit the user hduser (type: exit) and build again as the vagrant user. |
...
Step 2: Deploy the Myriad Files
...