You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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?

Download Error

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)

A. This means the binary tar file containing the hadoop distro has not been uploaded to hdfs per this configuration within myriad-config-default.yml:

Tar Files Configuration

servedConfigPath: dist/config.tgz
servedBinaryPath: dist/hadoop-2.6.0.tgz

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:

sudoless user error

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:

Fix tty error
sudo su root
visudo
#Comment or delete the following line:
Defaults    requiretty
  • No labels