@Override
    public List<ConnectorMetadataUpdateHandle> getPendingMetadataUpdateRequests()
    {
        ImmutableList.Builder<ConnectorMetadataUpdateHandle> result = ImmutableList.builder();
        for (HiveMetadataUpdateHandle request : hiveMetadataRequestQueue) {
            result.add(request);
        }
        return result.build();
    }
@Test
    public void testEmptyMetadataUpdateRequestQueue()
    {
        HiveMetadataUpdater hiveMetadataUpdater = new HiveMetadataUpdater(EXECUTOR);
        assertEquals(hiveMetadataUpdater.getPendingMetadataUpdateRequests().size(), 0);
    }