Reply
Highlighted
Explorer
Posts: 10
Registered: ‎06-07-2015
Accepted Solution

Oryx and Yarn

hello

what is role of YARN in oryx 2 ?

thanx

Cloudera Employee
Posts: 481
Registered: ‎08-11-2014

Re: Oryx and Yarn

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.

Explorer
Posts: 10
Registered: ‎06-07-2015

Re: Oryx and Yarn

thanx a lot
Explorer
Posts: 10
Registered: ‎06-07-2015

Re: Oryx and Yarn

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
Cloudera Employee
Posts: 481
Registered: ‎08-11-2014

Re: Oryx and Yarn

What do you mean by part API?

Explorer
Posts: 10
Registered: ‎06-07-2015

Re: Oryx and Yarn

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

}

Cloudera Employee
Posts: 481
Registered: ‎08-11-2014

Re: Oryx and Yarn

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

Explorer
Posts: 10
Registered: ‎06-07-2015

Re: Oryx and Yarn

thank you very much