Skip to content
Snippets Groups Projects
Commit 5fccd705 authored by Thomas Graves's avatar Thomas Graves
Browse files

add application type

parent c617083e
No related branches found
No related tags found
No related merge requests found
...@@ -99,6 +99,7 @@ class Client(args: ClientArguments, conf: Configuration, sparkConf: SparkConf) ...@@ -99,6 +99,7 @@ class Client(args: ClientArguments, conf: Configuration, sparkConf: SparkConf)
appContext.setApplicationName(args.appName) appContext.setApplicationName(args.appName)
appContext.setQueue(args.amQueue) appContext.setQueue(args.amQueue)
appContext.setAMContainerSpec(amContainer) appContext.setAMContainerSpec(amContainer)
appContext.setApplicationType("SPARK")
// Memory for the ApplicationMaster. // Memory for the ApplicationMaster.
val memoryResource = Records.newRecord(classOf[Resource]).asInstanceOf[Resource] val memoryResource = Records.newRecord(classOf[Resource]).asInstanceOf[Resource]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment