Created on 08-24-2015 03:31 PM - edited 09-16-2022 02:38 AM
hello
what is role of YARN in oryx 2 ?
thanx
Created 08-25-2015 02:09 AM
Oh, this section configures the serving layer REST API -- what port it runs on, SSL cert, password, path, etc.
Created 08-24-2015 11:28 PM
Oryx uses Spark Streaming, and Spark runs its executors on YARN. So YARN manages the resources used by the batch and speed layer. You can also use YARN to run the serving layer binaries via the oryx-run.sh script.
Created 08-25-2015 01:39 AM
Created 08-25-2015 02:00 AM
Created 08-25-2015 02:03 AM
What do you mean by part API?
Created 08-25-2015 02:06 AM
in the configuration file, under the serving layer configuration :
api = {
# Default to use well-known HTTP port for Serving Layer
port = 80
# Default to use well-known HTTPS port for Serving Layer
secure-port = 443
# User name for connecting to the service, if required. If set, must be set with password.
# If enabled, this will enable HTTP DIGEST authentication in the API.
user-name = null
# Password for connecting to the service, if required. If set, must be set with user-name.
# If enabled, this will enable HTTP DIGEST authentication in the API.
password = null
# The keystore file containing the server's SSL keys. Only necessary when
# accessing a server with temporary self-signed key, which is not trusted
# by the Java SSL implementation.
keystore-file = null
# Password needed for keystore file above, if any
keystore-password = null
# If true, operations that set or modify data, like /ingest, are not available
read-only = false
# An optional prefix for the path under which the service is deployed. For
# example, set to "/contextPath" to expose services at paths like "http://example.org/contextPath/..."
context-path = "/"
}
Created 08-25-2015 02:09 AM
Oh, this section configures the serving layer REST API -- what port it runs on, SSL cert, password, path, etc.
Created 08-25-2015 02:15 AM
thank you very much