Tabnine Logo
ClusterStatusProtos$RegionLoad.getTotalCompactingKVs
Code IndexAdd Tabnine to your IDE (free)

How to use
getTotalCompactingKVs
method
in
org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos$RegionLoad

Best Java code snippets using org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos$RegionLoad.getTotalCompactingKVs (Showing top 10 results out of 315)

origin: apache/hbase

  String compactTime = "";
  if  (load != null) {
   if (load.getTotalCompactingKVs() > 0) {
    percentDone = String.format("%.2f", 100 *
      ((float) load.getCurrentCompactedKVs() / load.getTotalCompactingKVs())) + "%";
org.jamon.escaping.Escaping.HTML.write(org.jamon.emit.StandardEmitter.valueOf(load.getTotalCompactingKVs()), jamonWriter);
origin: apache/hbase

.setBloomFilterSize(new Size(regionLoadPB.getTotalStaticBloomSizeKB(), Size.Unit.KILOBYTE))
.setCompactedCellCount(regionLoadPB.getCurrentCompactedKVs())
.setCompactingCellCount(regionLoadPB.getTotalCompactingKVs())
.setCompletedSequenceId(regionLoadPB.getCompleteSequenceId())
.setDataLocality(regionLoadPB.hasDataLocality() ? regionLoadPB.getDataLocality() : 0.0f)
origin: apache/hbase

setTotalCompactingKVs(other.getTotalCompactingKVs());
origin: org.apache.hbase/hbase-protocol-shaded

result = result && (getTotalCompactingKVs()
  == other.getTotalCompactingKVs());
origin: org.apache.hbase/hbase-protocol-shaded

hash = (37 * hash) + TOTAL_COMPACTING_KVS_FIELD_NUMBER;
hash = (53 * hash) + org.apache.hbase.thirdparty.com.google.protobuf.Internal.hashLong(
  getTotalCompactingKVs());
origin: org.apache.hbase/hbase-protocol-shaded

setTotalCompactingKVs(other.getTotalCompactingKVs());
origin: com.aliyun.hbase/alihbase-client

public static RegionMetrics toRegionMetrics(ClusterStatusProtos.RegionLoad regionLoadPB) {
 return RegionMetricsBuilder
   .newBuilder(regionLoadPB.getRegionSpecifier().getValue().toByteArray())
   .setBloomFilterSize(new Size(regionLoadPB.getTotalStaticBloomSizeKB(), Size.Unit.KILOBYTE))
   .setCompactedCellCount(regionLoadPB.getCurrentCompactedKVs())
   .setCompactingCellCount(regionLoadPB.getTotalCompactingKVs())
   .setCompletedSequenceId(regionLoadPB.getCompleteSequenceId())
   .setDataLocality(regionLoadPB.hasDataLocality() ? regionLoadPB.getDataLocality() : 0.0f)
   .setFilteredReadRequestCount(regionLoadPB.getFilteredReadRequestsCount())
   .setStoreFileUncompressedDataIndexSize(new Size(regionLoadPB.getTotalStaticIndexSizeKB(),
    Size.Unit.KILOBYTE))
   .setLastMajorCompactionTimestamp(regionLoadPB.getLastMajorCompactionTs())
   .setMemStoreSize(new Size(regionLoadPB.getMemStoreSizeMB(), Size.Unit.MEGABYTE))
   .setReadRequestCount(regionLoadPB.getReadRequestsCount())
   .setWriteRequestCount(regionLoadPB.getWriteRequestsCount())
   .setStoreFileIndexSize(new Size(regionLoadPB.getStorefileIndexSizeKB(),
    Size.Unit.KILOBYTE))
   .setStoreFileRootLevelIndexSize(new Size(regionLoadPB.getRootIndexSizeKB(),
    Size.Unit.KILOBYTE))
   .setStoreCount(regionLoadPB.getStores())
   .setStoreFileCount(regionLoadPB.getStorefiles())
   .setStoreFileSize(new Size(regionLoadPB.getStorefileSizeMB(), Size.Unit.MEGABYTE))
   .setStoreSequenceIds(regionLoadPB.getStoreCompleteSequenceIdList().stream()
    .collect(Collectors.toMap(
     (ClusterStatusProtos.StoreSequenceId s) -> s.getFamilyName().toByteArray(),
      ClusterStatusProtos.StoreSequenceId::getSequenceId)))
   .setUncompressedStoreFileSize(
    new Size(regionLoadPB.getStoreUncompressedSizeMB(),Size.Unit.MEGABYTE))
   .build();
}
origin: org.apache.hbase/hbase-client

public static RegionMetrics toRegionMetrics(ClusterStatusProtos.RegionLoad regionLoadPB) {
 return RegionMetricsBuilder
   .newBuilder(regionLoadPB.getRegionSpecifier().getValue().toByteArray())
   .setBloomFilterSize(new Size(regionLoadPB.getTotalStaticBloomSizeKB(), Size.Unit.KILOBYTE))
   .setCompactedCellCount(regionLoadPB.getCurrentCompactedKVs())
   .setCompactingCellCount(regionLoadPB.getTotalCompactingKVs())
   .setCompletedSequenceId(regionLoadPB.getCompleteSequenceId())
   .setDataLocality(regionLoadPB.hasDataLocality() ? regionLoadPB.getDataLocality() : 0.0f)
   .setFilteredReadRequestCount(regionLoadPB.getFilteredReadRequestsCount())
   .setStoreFileUncompressedDataIndexSize(new Size(regionLoadPB.getTotalStaticIndexSizeKB(),
    Size.Unit.KILOBYTE))
   .setLastMajorCompactionTimestamp(regionLoadPB.getLastMajorCompactionTs())
   .setMemStoreSize(new Size(regionLoadPB.getMemStoreSizeMB(), Size.Unit.MEGABYTE))
   .setReadRequestCount(regionLoadPB.getReadRequestsCount())
   .setWriteRequestCount(regionLoadPB.getWriteRequestsCount())
   .setStoreFileIndexSize(new Size(regionLoadPB.getStorefileIndexSizeKB(),
    Size.Unit.KILOBYTE))
   .setStoreFileRootLevelIndexSize(new Size(regionLoadPB.getRootIndexSizeKB(),
    Size.Unit.KILOBYTE))
   .setStoreCount(regionLoadPB.getStores())
   .setStoreFileCount(regionLoadPB.getStorefiles())
   .setStoreFileSize(new Size(regionLoadPB.getStorefileSizeMB(), Size.Unit.MEGABYTE))
   .setStoreSequenceIds(regionLoadPB.getStoreCompleteSequenceIdList().stream()
    .collect(Collectors.toMap(
     (ClusterStatusProtos.StoreSequenceId s) -> s.getFamilyName().toByteArray(),
      ClusterStatusProtos.StoreSequenceId::getSequenceId)))
   .setUncompressedStoreFileSize(
    new Size(regionLoadPB.getStoreUncompressedSizeMB(),Size.Unit.MEGABYTE))
   .build();
}
origin: apache/hbase

result = result && (getTotalCompactingKVs()
  == other.getTotalCompactingKVs());
origin: apache/hbase

hash = (37 * hash) + TOTAL_COMPACTING_KVS_FIELD_NUMBER;
hash = (53 * hash) + org.apache.hbase.thirdparty.com.google.protobuf.Internal.hashLong(
  getTotalCompactingKVs());
org.apache.hadoop.hbase.shaded.protobuf.generatedClusterStatusProtos$RegionLoadgetTotalCompactingKVs

Javadoc

 
the total compacting key values in currently running compaction  
optional uint64 total_compacting_KVs = 10;

Popular methods of ClusterStatusProtos$RegionLoad

  • newBuilder
  • getCurrentCompactedKVs
    the completed count of key values in currently running compaction optional uint64 current_comp
  • getDataLocality
    The current data locality for region in the regionserver optional float data_locality = 16;
  • getFilteredReadRequestsCount
    the current total filtered read requests made to region optional uint64 filtered_read_requests
  • getLastMajorCompactionTs
    optional uint64 last_major_compaction_ts = 17 [default = 0];
  • getMemStoreSizeMB
    the current size of the memstore for the region, in MB optional uint32 mem_store_size_MB = 6;
  • getReadRequestsCount
    the current total read requests made to region optional uint64 read_requests_count = 8;
  • getStoreUncompressedSizeMB
    the total size of the store files for the region, uncompressed, in MB optional uint32 store_un
  • getStorefileSizeMB
    the current total size of the store files for the region, in MB optional uint32 storefile_size
  • getStorefiles
    the number of storefiles for the region optional uint32 storefiles = 3;
  • getStores
    the number of stores for the region optional uint32 stores = 2;
  • getTotalStaticBloomSizeKB
    The total size of all Bloom filter blocks, not just loaded into the block cache, in KB. option
  • getStores,
  • getTotalStaticBloomSizeKB,
  • getTotalStaticIndexSizeKB,
  • getWriteRequestsCount,
  • getCompleteSequenceId,
  • getRegionSpecifier,
  • getRootIndexSizeKB,
  • getStoreCompleteSequenceIdList,
  • getStorefileIndexSizeKB

Popular in Java

  • Finding current android device location
  • setRequestProperty (URLConnection)
  • getExternalFilesDir (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now