You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2012/11/15 02:08:12 UTC
[jira] [Updated] (HBASE-6282) The introspection, etc. of objects in
the RPC has to be handled for PB objects
[ https://issues.apache.org/jira/browse/HBASE-6282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack updated HBASE-6282:
-------------------------
Attachment: 6282.txt
Lets apply this and close this issue. W/ this applied, if you enable TRACE, you see this kinda of stuff:
{code}
2012-11-14 16:57:48,441 DEBUG org.apache.hadoop.ipc.HBaseServer.trace: Call #101; Served: RegionServerStatusProtocol#regionServerReport queueTime=1 processingTime=0 contents=server {
hostName: "android_352668048612046"
port: 59354
startCode: 1352940891735
}
load {
numberOfRequests: 0
totalNumberOfRequests: 44
usedHeapMB: 31
maxHeapMB: 987
regionLoads {
regionSpecifier {
type: REGION_NAME
value: ".META.,,1"
}
stores: 1
storefiles: 0
storeUncompressedSizeMB: 0
storefileSizeMB: 0
memstoreSizeMB: 0
storefileIndexSizeMB: 0
readRequestsCount: 4
writeRequestsCount: 0
totalCompactingKVs: 0
currentCompactedKVs: 0
rootIndexSizeKB: 0
totalStaticIndexSizeKB: 0
totalStaticBloomSizeKB: 0
completeSequenceId: 18446744073709551615
}
regionLoads {
regionSpecifier {
type: REGION_NAME
value: "-ROOT-,,0"
}
stores: 1
storefiles: 1
storeUncompressedSizeMB: 0
storefileSizeMB: 0
memstoreSizeMB: 0
storefileIndexSizeMB: 0
readRequestsCount: 26
writeRequestsCount: 1
totalCompactingKVs: 0
currentCompactedKVs: 0
rootIndexSizeKB: 0
totalStaticIndexSizeKB: 0
totalStaticBloomSizeKB: 0
completeSequenceId: 18446744073709551615
}
reportStartTime: 1352941065437
reportEndTime: 1352941068438
infoServerPort: 60030
}
{code}
It is ridiculous detail but could be life saver debugging.
Could later work on pb toStringing so it doesn't dump it all... just start of String and a length instead but this should be good for now.
Remove Objects class since no longer used.
> The introspection, etc. of objects in the RPC has to be handled for PB objects
> ------------------------------------------------------------------------------
>
> Key: HBASE-6282
> URL: https://issues.apache.org/jira/browse/HBASE-6282
> Project: HBase
> Issue Type: Sub-task
> Components: IPC/RPC
> Reporter: Devaraj Das
> Priority: Blocker
> Fix For: 0.96.0
>
> Attachments: 6282.txt
>
>
> The places where the type of objects are inspected need to be updated to take into consideration PB types. I have noticed Objects.describeQuantity being used, and the private WritableRpcEngine.Server.logResponse method also needs updating (in the PB world, all information about operations/tablenames is contained in one PB argument).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira