3. Post-Installation Tasks : Enable YARN Integration : How VectorH Configures Resources During Installation
 
Share this page                  
How VectorH Configures Resources During Installation
During installation, if YARN integration is enabled, VectorH sets the default values for the following vectorwise.conf parameters based on the resources allocated to the specified YARN queue.
Configuration Parameter
Default Value
[memory] max_memory_size
50% of the per application configured memory allocation for queue
[cbm] bufferpool_size
25% of the per application configured memory allocation for queue
[system] num_cores
100% of the per application configured CPU allocation for queue
[engine] max_parallelism_level
num_cores * total number of nodes in the VectorH cluster
The following is a sample setup where the instance is configured to use the default YARN queue, which has been allocated 8 GB of physical memory and 2 cores per host. There are 3 nodes in the cluster.
...
Enable YARN integration? (y/n) [n] y
Enter the YARN queue to be used for the Vector in Hadoop
application master [default]:
Enter the priority to be used for the Vector in Hadoop
application master [0]:
YARN integration enabled.
CHANGE ii.ip-10-234-29-114_us-west-1_compute_internal.x100.yarn.amqueue: (default)...(default)
CHANGE ii.ip-10-234-29-114_us-west-1_compute_internal.x100.yarn.ampriority: (0)...(0)
Regenerate configuration based on available resources? (y/n) [y]
Generating Vector in Hadoop config file...
Setting: max_memory_size=4096M
Setting: bufferpool_size=2048M
Setting: num_cores=2
Setting: max_parallelism_level=6
Backing up current config:
/opt/Actian/VectorVH/ingres/data/vectorwise/vectorwise.conf
Saving file to:
/opt/Actian/VectorVH/ingres/files/vectorwise.conf_bk_27931
...
Reconfigure YARN Integration
To enable, disable, or reconfigure YARN integration, use the following command:
iisuhdfs yarn