Q. I named my hadoop distribution file hadoop-2.6.0.tgz, but Myriad is trying to download a file named "binary.tgz"
A. Myriad renames the hadoop distro file to binary.tgz
Q. Why do I get this download error: ?
Info | ||
---|---|---|
| ||
Failed to fetch 'http://localhost:9192/api/artifacts/binary.tgz': Error downloading resource: Failure when receiving data from the peer Failed to synchronize with slave (it's probably exited) |
...
So, in the case of this configuration example, simply upload the config.tgz file (that contains the etc/hadoop files) and the hadoop-2.6.0.tgz file (contains hadoop distribution being used) into the /dist directory of hdfs.
Q. I have passwordless sudo for the frameworkUser and/or my frameworkUser is root, so why am I getting this error:
Info | ||
---|---|---|
| ||
sudo: sorry, you must have a tty to run sudo |
A. This means the sudoers file default is set requiring a tty session as detailed here. To fix, do the following:
Code Block | ||
---|---|---|
| ||
sudo su root
visudo
#Comment or delete the following line:
Defaults requiretty |