@Override
  public DataStore getOriginDataStore() {
    if (originDataStore == null) {
      originDataStore = getDataStore(originInstanceDefinition);
    }
    return originDataStore;
  }
Instantiates the data store associated with the instance.

@param instanceDefinition the view instance definition
@return the data store object associated with view instance
ambari-server/src/main/java/org/apache/ambari/server/view/ViewDataMigrationContextImpl.java