Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Oryx and Yarn

Solved Go to solution

Oryx and Yarn

Explorer

hello

what is role of YARN in oryx 2 ?

thanx

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Oryx and Yarn

Master Collaborator

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

7 REPLIES 7

Re: Oryx and Yarn

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.

Re: Oryx and Yarn

Explorer
thanx a lot

Re: Oryx and Yarn

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

Re: Oryx and Yarn

Master Collaborator

What do you mean by part API?

Re: Oryx and Yarn

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

}

Re: Oryx and Yarn

Master Collaborator

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

Re: Oryx and Yarn

Explorer

thank you very much