[
https://issues.apache.org/jira/browse/HBASE-13923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14597928#comment-14597928
]
Ted Yu commented on HBASE-13923:
--------------------------------
Alright
+1 on latest patch.
> Loaded region coprocessor are not reported in shell status commands
> -------------------------------------------------------------------
>
> Key: HBASE-13923
> URL: https://issues.apache.org/jira/browse/HBASE-13923
> Project: HBase
> Issue Type: Bug
> Components: regionserver, shell
> Affects Versions: 1.1.0.1
> Reporter: Lars George
> Assignee: Ashish Singhi
> Fix For: 2.0.0, 1.0.2, 1.1.1, 1.3.0, 1.2.1
>
> Attachments: HBASE-13923-v1.patch, HBASE-13923-v2.patch,
> HBASE-13923.patch
>
>
> 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:
> {noformat}
> 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
> {noformat}
> The refguide shows an example of an older HBase version that has the CP class
> listed properly. Something is broken.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)