Once your cluster is set up, WebMapReduce should be available by visiting the master node in your web browser:
Where ec2-public-hostname is the Public DNS name of the master node.
You should be prompted with a login screen with an option to register for a new account. This registration system is enabled by default, but can be disabled if you would like to create accounts manually as an administrator.
Before creating an account for yourself, you should change the password on the administrator account that is created by default.
WebMapReduce grants special privileges to administrators. Administrators can create Public Datasets that other users can easily select as input for their jobs. Administrators are also allowed to add and remove user accounts and inspect the activity of other users through a special interface.
By default, an administrator account is created with the following credentials:
username: adminpassword: admin
You should log in to the administration interface and change this password as soon as possible:
Visit WebMapReduce on your new cluster:
Log in using the credentials above.
In the upper-right corner of the screen, click the administration link. This will bring up the special administration interface.
Click on the Users link.
Click on the “admin” account in the list of users.
Under the Password box, find and click the link to the change password form.
Enter a new password in both boxes, and then click the Change Password button to save your changes.
Now that your password is changed, you can look through the rest of the administration site. It is fairly empty at this point, and some of its features are not particularly useful . However, you should be aware that you can:
When you are finished, you can return to the main interface by clicking on the word WebMapReduce in the site header.
|||The administration site is automatically generated by the Django web framework, which powers the WebMapReduce frontend.|
Next, try registering for a normal user account. Go back to the main site, and if you are still logged in, click log out in the top right. Then click log in to bring up the login screen.
Notice that this registration system is fairly primitive, and it is open to anyone with access to the URL. This setup keeps configuration fairly simple, but you might decide that you want to disable this system and add user accounts manually through the administration site. If so, proceed to the next section.
If you decide to disable registration:
Log in to the master instance via SSH (see Logging In)
Issue the following commands:
ubuntu@<...>$ cd /opt/wmrfrontend ubuntu@<...>$ sudo su root@<...># echo "REGISTRATION_ENABLED=False" >> settings_local.py root@<...># apache2ctl restart root@<...># exit ubuntu@<...>$ exit
Now, if you visit WebMapReduce again and log out, you should see that there is no longer a “register” option in the upper left.
To add user accounts manually, proceed to the next section.
If you disable the registration form, you will have to manually add accounts for your users:
Back on the user listing page, you can click on the account(s) you just created to add any additional details.