[ 
https://issues.apache.org/jira/browse/HBASE-13923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Yu reopened HBASE-13923:
----------------------------

Noticed the following in 
https://builds.apache.org/job/PreCommit-HBASE-Build/14577/testReport/junit/org.apache.hadoop.hbase.util/TestHBaseFsck/testRegionShouldNotBeDeployed/
 :
{code}
2015-06-25 21:43:02,525 FATAL [RS:0;pietas:45564] 
regionserver.HRegionServer(2060): ABORTING region server 
pietas.apache.org,45564,1435268390822: Unhandled: null
java.lang.NullPointerException
        at 
org.apache.hadoop.hbase.regionserver.HRegionServer.buildServerLoad(HRegionServer.java:1185)
        at 
org.apache.hadoop.hbase.regionserver.HRegionServer.tryRegionServerReport(HRegionServer.java:1135)
        at 
org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:952)
        at 
org.apache.hadoop.hbase.MiniHBaseCluster$MiniHBaseClusterRegionServer.runRegionServer(MiniHBaseCluster.java:156)
        at 
org.apache.hadoop.hbase.MiniHBaseCluster$MiniHBaseClusterRegionServer.access$000(MiniHBaseCluster.java:108)
        at 
org.apache.hadoop.hbase.MiniHBaseCluster$MiniHBaseClusterRegionServer$1.run(MiniHBaseCluster.java:140)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:356)
        at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1594)
        at 
org.apache.hadoop.hbase.security.User$SecureHadoopUser.runAs(User.java:306)
        at 
org.apache.hadoop.hbase.MiniHBaseCluster$MiniHBaseClusterRegionServer.run(MiniHBaseCluster.java:138)
{code}
The above was due to region.getCoprocessorHost() being null for 
tableRegionShouldNotBeDeployed.
Addendum fixes the issue and makes testRegionShouldNotBeDeployed pass.

> Loaded region coprocessors are not reported in shell status command
> -------------------------------------------------------------------
>
>                 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.2, 1.3.0, 1.2.1
>
>         Attachments: HBASE-13923-branch-1.0.patch, 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)

Reply via email to