Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Oryx and Yarn

avatar
Explorer

hello

what is role of YARN in oryx 2 ?

thanx

1 ACCEPTED SOLUTION

avatar
Master Collaborator

Oh, this section configures the serving layer REST API -- what port it runs on, SSL cert, password, path, etc.

View solution in original post

7 REPLIES 7

avatar
Master Collaborator

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.

avatar
Explorer
thanx a lot

avatar
Explorer
I have one more question,in the configuration file there is a part API. Could you please explain for me what are these API specifications ?
thank you so much

avatar
Master Collaborator

What do you mean by part API?

avatar
Explorer

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 = "/"

}

avatar
Master Collaborator

Oh, this section configures the serving layer REST API -- what port it runs on, SSL cert, password, path, etc.

avatar
Explorer

thank you very much