Package org.apache.hadoop.hbase.io.hfile

Examples of org.apache.hadoop.hbase.io.hfile.FixedFileTrailer


              } else {
                // a regular hfile
                fsdis = fs.open(storeFilePath);
                lenToRead = storeFile.getLen();
              }
              FixedFileTrailer trailer = FixedFileTrailer.readFromStream(fsdis, lenToRead);
              int version = trailer.getMajorVersion();
              if (version == 1) {
                hFileV1Set.add(storeFilePath);
                // return this region path, as it needs to be compacted.
                return regionDir;
              }
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hbase.io.hfile.FixedFileTrailer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.