What should you check when encountering the error message "initial job has not accepted any resources; check your cluster ui to ensure that workers are registered and have sufficient resources" in a distributed computing environment?
A) Restart the master node of the cluster.
B) Verify that workers are correctly registered and have adequate resources.
C) Increase the bandwidth allocation for the cluster.
D) Update the operating system of the cluster nodes.