To change the number of partitions (vWorkers) in an Aster instance, perform these steps.
- As the root user, execute this command on queen node: ncli system softshutdown
Verify that the Aster instance stopped successfully by issuing this command on the queen node:
ncli node show
The output from the ncli command should show only the queen and no workers.
Change the partition count by issuing this command on the queen node:
new_partition is the number of desired partitions (vWorkers) in the Aster instance.
- In addition, update beehiveparams.cfg with the new partition count for the PARTITION_COUNT argument. However, the changed worker count does not need to be updated in /home/beehive/config/vWorkerDiskList.
- Start the Aster instance by issuing this command as the root user: ncli system softstartup
Verify that the Aster instance restarted successfully by issuing these commands on the queen node:
yarn node --list --all
The output from the asteryarn command should show all workers in Active state and the output from the yarn command should show one container for each node. Note that one of the nodes will have an additional container which is created for the Application master.