I am running into some issues running Tachyon on EC2 with Mesos, Spark and S3 as the Underfs.
1) File "deploy/vagrant/provision/roles/ufs_s3/files/config_spark.sh" was missing. I am using a file that contains only "#!/usr/bin/env bash" and it works.
2) I tried to set s3 as the underfs by setting deploy/vagrant/provision/roles/tachyon/tasks/start_mesos_framework.yml the following vars under "environment":
2016-01-29 19:43:31,920 ERROR MASTER_LOGGER (MetricsConfig.java:loadConfigFile) - Error loading metrics configuration file.
2016-01-29 19:43:31,923 ERROR MASTER_LOGGER (TachyonMaster.java:main) - Uncaught exception terminating Master
java.lang.IllegalArgumentException: All eligible Under File Systems were unable to create an instance for the given path: s3n://nu-spark/double-entry
java.lang.RuntimeException: Invalid configuration key fs.s3n.awsAccessKeyId.
at tachyon.underfs.UnderFileSystemRegistry.create(UnderFileSystemRegistry.java:132)
at tachyon.underfs.UnderFileSystem.get(UnderFileSystem.java:100)
at tachyon.underfs.UnderFileSystem.get(UnderFileSystem.java:83)
at tachyon.master.TachyonMaster.connectToUFS(TachyonMaster.java:412)
at tachyon.master.TachyonMaster.startMasters(TachyonMaster.java:280)
at tachyon.master.TachyonMaster.start(TachyonMaster.java:261)
at tachyon.master.TachyonMaster.main(TachyonMaster.java:64)
at tachyon.mesos.TachyonMasterExecutor$1.run(TachyonMasterExecutor.java:71)
2.b) For TachyonWorker task on mesos:
2016-01-29 19:33:32,310 ERROR WORKER_LOGGER (ClientBase.java:connect) - Failed to connect (29) to BlockMaster master @ TachyonMaster/
10.187.83.93:19998 : java.net.ConnectException: Connection refused
2016-01-29 19:33:32,311 ERROR WORKER_LOGGER (TachyonWorker.java:main) - Failed to initialize the block worker, exiting.
java.io.IOException: Failed to connect to BlockMaster master @ TachyonMaster/
10.187.83.93:19998 after 29 attempts
at tachyon.ClientBase.connect(ClientBase.java:134)
at tachyon.client.WorkerBlockMasterClient.getId(WorkerBlockMasterClient.java:101)
at tachyon.worker.WorkerIdRegistry.registerWithBlockMaster(WorkerIdRegistry.java:59)
at tachyon.worker.block.BlockWorker.<init>(BlockWorker.java:200)
at tachyon.worker.TachyonWorker.main(TachyonWorker.java:42)
at tachyon.mesos.TachyonWorkerExecutor$1.run(TachyonWorkerExecutor.java:71)
Am I doing something wrong? Is this supposed to work? Why couldnt I set this config?
Cheers,