Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-13923

Loaded region coprocessors are not reported in shell status command

    XMLWordPrintableJSON

    Details

    • Hadoop Flags:
      Reviewed

      Description

      I added a CP to a table using the shell's alter command. Now I tried to check if it was loaded (short of resorting to parsing the logs). I recalled the refguide mentioned the status 'detailed' command, and tried that to no avail.

      The UI shows the loaded class in the Software Attributes section, so the info is there. But a shell status command (even after waiting 12+ hours shows nothing. Here an example of a server that has it loaded according to describe and the UI, but the shell lists this:

          slave-1.internal.larsgeorge.com:16020 1434486031598
              requestsPerSecond=0.0, numberOfOnlineRegions=5, usedHeapMB=278, maxHeapMB=941, numberOfStores=5, numberOfStorefiles=3, storefileUncompressedSizeMB=2454, storefileSizeMB=2454, compressionRatio=1.0000, memstoreSizeMB=0, storefileIndexSizeMB=0, readRequestsCount=32070, writeRequestsCount=0, rootIndexSizeKB=0, totalStaticIndexSizeKB=2086, totalStaticBloomSizeKB=480, totalCompactingKVs=0, currentCompactedKVs=0, compactionProgressPct=NaN, coprocessors=[]
              "testqauat:usertable,,1433747062257.4db0d7d73cbaac45cb8568d5b185e1f2."
                  numberOfStores=1, numberOfStorefiles=0, storefileUncompressedSizeMB=0, lastMajorCompactionTimestamp=0, storefileSizeMB=0, memstoreSizeMB=0, storefileIndexSizeMB=0, readRequestsCount=0, writeRequestsCount=0, rootIndexSizeKB=0, totalStaticIndexSizeKB=0, totalStaticBloomSizeKB=0, totalCompactingKVs=0, currentCompactedKVs=0, compactionProgressPct=NaN, completeSequenceId=-1, dataLocality=0.0
              "testqauat:usertable,user0,1433747062257.f7c7fe3c7d26910010f40101b20f8d06."
                  numberOfStores=1, numberOfStorefiles=0, storefileUncompressedSizeMB=0, lastMajorCompactionTimestamp=0, storefileSizeMB=0, memstoreSizeMB=0, storefileIndexSizeMB=0, readRequestsCount=0, writeRequestsCount=0, rootIndexSizeKB=0, totalStaticIndexSizeKB=0, totalStaticBloomSizeKB=0, totalCompactingKVs=0, currentCompactedKVs=0, compactionProgressPct=NaN, completeSequenceId=-1, dataLocality=0.0
              "testqauat:usertable,user1,1433747062257.dcd5395044732242dfed39b09aa05c36."
                  numberOfStores=1, numberOfStorefiles=1, storefileUncompressedSizeMB=820, lastMajorCompactionTimestamp=1434173025593, storefileSizeMB=820, compressionRatio=1.0000, memstoreSizeMB=0, storefileIndexSizeMB=0, readRequestsCount=32070, writeRequestsCount=0, rootIndexSizeKB=0, totalStaticIndexSizeKB=699, totalStaticBloomSizeKB=160, totalCompactingKVs=0, currentCompactedKVs=0, compactionProgressPct=NaN, completeSequenceId=-1, dataLocality=1.0
              "testqauat:usertable,user7,1433747062257.9277fd1d34909b0cb150707cbd7a3907."
                  numberOfStores=1, numberOfStorefiles=1, storefileUncompressedSizeMB=816, lastMajorCompactionTimestamp=1434283025585, storefileSizeMB=816, compressionRatio=1.0000, memstoreSizeMB=0, storefileIndexSizeMB=0, readRequestsCount=0, writeRequestsCount=0, rootIndexSizeKB=0, totalStaticIndexSizeKB=690, totalStaticBloomSizeKB=160, totalCompactingKVs=0, currentCompactedKVs=0, compactionProgressPct=NaN, completeSequenceId=-1, dataLocality=1.0
              "testqauat:usertable,user8,1433747062257.d930b52db8c7f07f3c3ab3e12e61a085."
                  numberOfStores=1, numberOfStorefiles=1, storefileUncompressedSizeMB=818, lastMajorCompactionTimestamp=1433771950960, storefileSizeMB=818, compressionRatio=1.0000, memstoreSizeMB=0, storefileIndexSizeMB=0, readRequestsCount=0, writeRequestsCount=0, rootIndexSizeKB=0, totalStaticIndexSizeKB=697, totalStaticBloomSizeKB=160, totalCompactingKVs=0, currentCompactedKVs=0, compactionProgressPct=NaN, completeSequenceId=-1, dataLocality=1.0
      

      The refguide shows an example of an older HBase version that has the CP class listed properly. Something is broken.

        Attachments

        1. 13923-addendum.txt
          1 kB
          Ted Yu
        2. HBASE-13923.patch
          2 kB
          Ashish Singhi
        3. HBASE-13923-branch-1.0.patch
          6 kB
          Ashish Singhi
        4. HBASE-13923-v1.patch
          5 kB
          Ashish Singhi
        5. HBASE-13923-v2.patch
          7 kB
          Ashish Singhi

          Activity

            People

            • Assignee:
              ashish singhi Ashish Singhi
              Reporter:
              larsgeorge Lars George
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: