*
* @param request The data set lookup request
* @throws Exception It there is an unexpected error trying to execute the lookup request.
*/
public void fetchMetadata(final DataSetLookup request, final DataSetMetadataCallback listener) throws Exception {
DataSetMetadata metadata = clientDataSetManager.lookupDataSetMetadata(request);
if (metadata != null) {
listener.callback(metadata);
}
else if (dataSetLookupService != null) {
if (remoteMetadataMap.containsKey(request)) {