yihua commented on code in PR #11171: URL: https://github.com/apache/hudi/pull/11171#discussion_r1596201861
########## hudi-hadoop-common/src/main/java/org/apache/hudi/common/bootstrap/index/HFileBootstrapIndex.java: ########## @@ -0,0 +1,37 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.hudi.common.bootstrap.index; + +import org.apache.hadoop.hbase.CellComparatorImpl; + +/** + * WARNING: DO NOT DO ANYTHING TO THIS CLASS INCLUDING CHANGING THE PACKAGE + * OR YOU COULD BREAK BACKWARDS COMPATIBILITY!!! + * see https://github.com/apache/hudi/pull/5004 + */ +public class HFileBootstrapIndex { + Review Comment: nit: remove empty line ########## hudi-hadoop-common/src/main/java/org/apache/hudi/io/hadoop/HoodieAvroFileReaderFactory.java: ########## @@ -21,23 +21,22 @@ import org.apache.hudi.common.config.HoodieConfig; import org.apache.hudi.common.util.Option; +import org.apache.hudi.common.util.ReflectionUtils; +import org.apache.hudi.exception.HoodieException; import org.apache.hudi.io.storage.HoodieAvroBootstrapFileReader; import org.apache.hudi.io.storage.HoodieFileReader; import org.apache.hudi.io.storage.HoodieFileReaderFactory; -import org.apache.hudi.io.storage.HoodieHBaseAvroHFileReader; import org.apache.hudi.io.storage.HoodieNativeAvroHFileReader; import org.apache.hudi.storage.HoodieStorage; -import org.apache.hudi.storage.HoodieStorageUtils; import org.apache.hudi.storage.StorageConfiguration; import org.apache.hudi.storage.StoragePath; import org.apache.avro.Schema; -import org.apache.hadoop.conf.Configuration; -import org.apache.hadoop.hbase.io.hfile.CacheConfig; import java.io.IOException; public class HoodieAvroFileReaderFactory extends HoodieFileReaderFactory { + public static final String HBASE_AVRO_HFILE_READER = "org.apache.hudi.io.hadoop.HoodieHBaseAvroHFileReader"; Review Comment: nit: new line after this line. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
