Since Hive is also getting installed as part of the Spark 2 selection, we are given a choice to customize the details of the Hive datasource. I have created the database on the master node with the username as hive, password as hive, and the database also as hive. Please choose a strong password while making changes in production.
The customization screen looks like this:
Click on Next once the changes are done correctly.