"Syntax error at line 1 near: acl.json" while trying to pass a JSON file for framework authorization

Problem: Encountering an error similar to Syntax error at line 1 near: <filename> while trying to pass a JSON file to Mesos Master for enabling framework authorization using the --acls option.

Solution: Please make sure to pass full/absolute path to the file, instead of the relative path. For instance file:///path/to/file or /path/to/file

References

  1. http://mesos.apache.org/documentation/latest/authorization/
  2. http://mesos.apache.org/documentation/latest/configuration/

Note: Applies to Mesos 0.20.0 or later

Have more questions? Submit a request

Comments

Powered by Zendesk