Source:
<code>Configuration getHMDriverConf() { String topologyPackageName = new File(topologyPackageLocation).getName(); String corePackageName = new File(coreReleasePackage).getName(); return HeronDriverConfiguration.CONF .setMultiple(DriverConfiguration.GLOBAL_LIBRARIES, libJars) .set(DriverConfiguration.DRIVER_IDENTIFIER, topologyName) .set(DriverConfiguration.ON_DRIVER_STARTED, HeronSchedulerLauncher.class) .set(DriverConfiguration.ON_EVALUATOR_ALLOCATED, ContainerAllocationHandler.class) .set(DriverConfiguration.ON_EVALUATOR_FAILED, FailedContainerHandler.class) .set(DriverConfiguration.ON_CONTEXT_ACTIVE, HeronWorkerLauncher.class) .set(DriverConfiguration.ON_TASK_RUNNING, HeronWorkerStartHandler.class) .set(DriverConfiguration.ON_TASK_COMPLETED, HeronWorkerTaskCompletedErrorHandler.class) .set(DriverConfiguration.ON_TASK_FAILED, HeronWorkerTaskFailureHandler.class) .set(DriverConfiguration.GLOBAL_FILES, topologyPackageLocation) .set(DriverConfiguration.GLOBAL_FILES, coreReleasePackage) .set(HeronDriverConfiguration.TOPOLOGY_NAME, topologyName) .set(HeronDriverConfiguration.TOPOLOGY_JAR, topologyJar) .set(HeronDriverConfiguration.TOPOLOGY_PACKAGE_NAME, topologyPackageName) .set(HeronDriverConfiguration.HERON_CORE_PACKAGE_NAME, corePackageName) .set(HeronDriverConfiguration.ROLE, role) .set(HeronDriverConfiguration.ENV, env) .set(HeronDriverConfiguration.CLUSTER, cluster) .set(HeronDriverConfiguration.HTTP_PORT, 0) .set(HeronDriverConfiguration.VERBOSE, false) .set(YarnDriverConfiguration.QUEUE, queue) <START> .set(DriverConfiguration.DRIVER_MEMORY, driverMemory.asMegabytes()) <END> .build(); }</code><technical_language>confused here. DRIVER_MEMORY accept of type int, [reef](<LINK_1></technical_language>

Target:
Configuration getHMDriverConf() { String topologyPackageName = new File(topologyPackageLocation).getName(); String corePackageName = new File(coreReleasePackage).getName(); return HeronDriverConfiguration.CONF .setMultiple(DriverConfiguration.GLOBAL_LIBRARIES, libJars) .set(DriverConfiguration.DRIVER_IDENTIFIER, topologyName) .set(DriverConfiguration.ON_DRIVER_STARTED, HeronSchedulerLauncher.class) .set(DriverConfiguration.ON_EVALUATOR_ALLOCATED, ContainerAllocationHandler.class) .set(DriverConfiguration.ON_EVALUATOR_FAILED, FailedContainerHandler.class) .set(DriverConfiguration.ON_CONTEXT_ACTIVE, HeronWorkerLauncher.class) .set(DriverConfiguration.ON_TASK_RUNNING, HeronWorkerStartHandler.class) .set(DriverConfiguration.ON_TASK_COMPLETED, HeronWorkerTaskCompletedErrorHandler.class) .set(DriverConfiguration.ON_TASK_FAILED, HeronWorkerTaskFailureHandler.class) .set(DriverConfiguration.GLOBAL_FILES, topologyPackageLocation) .set(DriverConfiguration.GLOBAL_FILES, coreReleasePackage) .set(HeronDriverConfiguration.TOPOLOGY_NAME, topologyName) .set(HeronDriverConfiguration.TOPOLOGY_JAR, topologyJar) .set(HeronDriverConfiguration.TOPOLOGY_PACKAGE_NAME, topologyPackageName) .set(HeronDriverConfiguration.HERON_CORE_PACKAGE_NAME, corePackageName) .set(HeronDriverConfiguration.ROLE, role) .set(HeronDriverConfiguration.ENV, env) .set(HeronDriverConfiguration.CLUSTER, cluster) .set(HeronDriverConfiguration.HTTP_PORT, 0) .set(HeronDriverConfiguration.VERBOSE, false) .set(YarnDriverConfiguration.QUEUE, queue) .set(DriverConfiguration.DRIVER_MEMORY, (int) driverMemory.asMegabytes()) .build(); }