6. HLOG构成 HLog File 是一个Sequence File,只能在文件的末尾添加内容。除了文件头以外,HLog File 由一条条的HLog.Entry构成。可以说Entry是HLog的基本组成部分,也是Read 和 Write的基本单位。 Entry由两个部分组成:HLogKey和WALEdit。 HLogKey包含以下类容: private byte [] encodedRegionName;private byte [] tablename;private long logSeqNum;// Time at which this edit was written.private long writeTime;private byte clusterId;