class ShuffleSecretManager extends SecretKeyHolder
A class that manages shuffle secret used by the external shuffle service.
- Alphabetic
- By Inheritance
- ShuffleSecretManager
- SecretKeyHolder
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ShuffleSecretManager()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getSaslUser(appId: String): String
Return the Spark user for authenticating SASL connections.
Return the Spark user for authenticating SASL connections.
- Definition Classes
- ShuffleSecretManager → SecretKeyHolder
- Annotations
- @Override()
- def getSecretKey(appId: String): String
Return the secret key registered with the given application.
Return the secret key registered with the given application. This key is used to authenticate the executors before they can fetch shuffle files written by this application from the external shuffle service. If the specified application is not registered, return null.
- Definition Classes
- ShuffleSecretManager → SecretKeyHolder
- Annotations
- @Override()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def registerApp(appId: String, shuffleSecret: ByteBuffer): Unit
Register an application with its secret specified as a byte buffer.
- def registerApp(appId: String, shuffleSecret: String): Unit
Register an application with its secret.
Register an application with its secret. Executors need to first authenticate themselves with the same secret before fetching shuffle files written by other executors in this application.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unregisterApp(appId: String): Unit
Unregister an application along with its secret.
Unregister an application along with its secret. This is called when the application terminates.
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()