• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ExpediaGroup / beekeeper / #815

07 Apr 2026 07:33PM UTC coverage: 87.706% (-0.07%) from 87.774%
#815

push

web-flow
Merge df58fae27 into 2a21fe15a

10 of 12 new or added lines in 3 files covered. (83.33%)

115 existing lines in 33 files now uncovered.

1541 of 1757 relevant lines covered (87.71%)

0.88 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/beekeeper-cleanup/src/main/java/com/expediagroup/beekeeper/cleanup/hive/HiveClientFactory.java
1
/**
2
 * Copyright (C) 2019-2021 Expedia, Inc.
3
 *
4
 * Licensed under the Apache License, Version 2.0 (the "License");
5
 * you may not use this file except in compliance with the License.
6
 * You may obtain a copy of the License at
7
 *
8
 * http://www.apache.org/licenses/LICENSE-2.0
9
 *
10
 * Unless required by applicable law or agreed to in writing, software
11
 * distributed under the License is distributed on an "AS IS" BASIS,
12
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 * See the License for the specific language governing permissions and
14
 * limitations under the License.
15
 */
16
package com.expediagroup.beekeeper.cleanup.hive;
17

18
import java.util.function.Supplier;
19

20
import com.expediagroup.beekeeper.cleanup.metadata.CleanerClientFactory;
21

22
import com.hotels.hcommon.hive.metastore.client.api.CloseableMetaStoreClient;
23

24
public class HiveClientFactory implements CleanerClientFactory {
25

26
  private final Supplier<CloseableMetaStoreClient> metaStoreClientSupplier;
27
  private final boolean dryRunEnabled;
UNCOV
28

×
29
  public HiveClientFactory(Supplier<CloseableMetaStoreClient> metaStoreClientSupplier, boolean dryRunEnabled) {
×
30
    this.metaStoreClientSupplier = metaStoreClientSupplier;
×
31
    this.dryRunEnabled = dryRunEnabled;
×
32
  }
33

34
  @Override
UNCOV
35
  public HiveClient newInstance() {
×
36
    return new HiveClient(metaStoreClientSupplier.get(), dryRunEnabled);
37
  }
38
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc