Use Hadoop site files pointing to localhost for HDFS and Hive metastore.