To prepare your cluster for rolling upgrade:
Download the new software to each node in the cluster.
Back up component metadata, so that the cluster can roll back to its earlier state if necessary.
Move new client libraries into HDFS.
During this time your cluster will continue to run on your current software version.