Metadata is the same as a index sub-system which records all the information on data,and data partitions,and data copies,and operating logs and so forth.The way of supporting multiple namenodes is the best approach for its high availability.