Skip to content

Commit

Permalink
fix hugegraph-hbase and hugegraph-example checkstyle issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mayelena committed May 9, 2022
1 parent 2cae00a commit adee7e2
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
public class HbaseSessions extends BackendSessionPool {

private static final Logger LOG = Log.logger(HbaseSessions.class);

private static final String COPROCESSOR_AGGR =
"org.apache.hadoop.hbase.coprocessor.AggregateImplementation";
private static final long SCANNER_CACHING = 1000L;
Expand Down Expand Up @@ -236,8 +236,7 @@ public void createPreSplitTable(String table, List<byte[]> cfs,
TableDescriptorBuilder builder = TableDescriptorBuilder.newBuilder(
TableName.valueOf(this.namespace, table));
for (byte[] cf : cfs) {
builder.setColumnFamily(ColumnFamilyDescriptorBuilder.newBuilder(cf)
.build());
builder.setColumnFamily(ColumnFamilyDescriptorBuilder.newBuilder(cf).build());
}
byte[][] splits = new byte[numOfPartitions - 1]
[org.apache.hadoop.hbase.util.Bytes.SIZEOF_SHORT];
Expand Down

0 comments on commit adee7e2

Please sign in to comment.