It's because HCatalogDatasetRepository delegates to a FileSystemDatasetRepository but the latter doesn't have a repository URI set on it (it shouldn't since it wouldn't understand a repo:hive URI). Unfortunately HCatalogDatasetRepository#load can't change the DatasetDescriptor on the Dataset returned by the delegate FileSystemDatasetRepository, which is why I had to make the changes on HCatalogMetadataProvider.

There is probably a cleaner way of doing all this - hopefully we can improve it in the future. The important thing in this change is the suite of tests for using Crunch against Hive datasets.