[jira] [Updated] (HBASE-10048) Add hlog number metric in regionserver

2013-12-14 Thread Ted Yu (JIRA)

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

Ted Yu updated HBASE-10048:
---

Fix Version/s: 0.94.15

Integrated to 0.94

Thanks Shaohui

> Add hlog number metric in regionserver
> --
>
> Key: HBASE-10048
> URL: https://issues.apache.org/jira/browse/HBASE-10048
> Project: HBase
>  Issue Type: Improvement
>  Components: metrics
>Reporter: Liu Shaohui
>Assignee: Liu Shaohui
>Priority: Minor
> Fix For: 0.98.0, 0.96.1, 0.94.15, 0.99.0
>
> Attachments: 10048.096.v4.txt, HBASE-10048-0.94-v1.diff, 
> HBASE-10048-0.94-v2.diff, HBASE-10048-0.94-v3.diff, 
> HBASE-10048-trunk-v1.diff, HBASE-10048-trunk-v2.diff, 
> HBASE-10048-trunk-v3.diff, HBASE-10048-trunk-v4.diff
>
>
> Add hlog number metric in regionserver. 
> We can use this metric to alert about memstore flush because of too many 
> hlogs.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Updated] (HBASE-10048) Add hlog number metric in regionserver

2013-12-13 Thread Liu Shaohui (JIRA)

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

Liu Shaohui updated HBASE-10048:


Attachment: HBASE-10048-0.94-v3.diff

[~lhofhansl]

Patch for 0.94.
Sorry for late.

> Add hlog number metric in regionserver
> --
>
> Key: HBASE-10048
> URL: https://issues.apache.org/jira/browse/HBASE-10048
> Project: HBase
>  Issue Type: Improvement
>  Components: metrics
>Reporter: Liu Shaohui
>Assignee: Liu Shaohui
>Priority: Minor
> Fix For: 0.98.0, 0.96.1, 0.99.0
>
> Attachments: 10048.096.v4.txt, HBASE-10048-0.94-v1.diff, 
> HBASE-10048-0.94-v2.diff, HBASE-10048-0.94-v3.diff, 
> HBASE-10048-trunk-v1.diff, HBASE-10048-trunk-v2.diff, 
> HBASE-10048-trunk-v3.diff, HBASE-10048-trunk-v4.diff
>
>
> Add hlog number metric in regionserver. 
> We can use this metric to alert about memstore flush because of too many 
> hlogs.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Updated] (HBASE-10048) Add hlog number metric in regionserver

2013-12-11 Thread Ted Yu (JIRA)

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

Ted Yu updated HBASE-10048:
---

  Resolution: Fixed
Hadoop Flags: Reviewed
  Status: Resolved  (was: Patch Available)

> Add hlog number metric in regionserver
> --
>
> Key: HBASE-10048
> URL: https://issues.apache.org/jira/browse/HBASE-10048
> Project: HBase
>  Issue Type: Improvement
>  Components: metrics
>Reporter: Liu Shaohui
>Assignee: Liu Shaohui
>Priority: Minor
> Fix For: 0.98.0, 0.96.1, 0.99.0
>
> Attachments: 10048.096.v4.txt, HBASE-10048-0.94-v1.diff, 
> HBASE-10048-0.94-v2.diff, HBASE-10048-trunk-v1.diff, 
> HBASE-10048-trunk-v2.diff, HBASE-10048-trunk-v3.diff, 
> HBASE-10048-trunk-v4.diff
>
>
> Add hlog number metric in regionserver. 
> We can use this metric to alert about memstore flush because of too many 
> hlogs.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Updated] (HBASE-10048) Add hlog number metric in regionserver

2013-12-07 Thread stack (JIRA)

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

stack updated HBASE-10048:
--

Attachment: 10048.096.v4.txt

Patch for 0.96 is a bit different.  Uploading what I applied.

> Add hlog number metric in regionserver
> --
>
> Key: HBASE-10048
> URL: https://issues.apache.org/jira/browse/HBASE-10048
> Project: HBase
>  Issue Type: Improvement
>  Components: metrics
>Reporter: Liu Shaohui
>Assignee: Liu Shaohui
>Priority: Minor
> Fix For: 0.98.0, 0.96.1, 0.99.0
>
> Attachments: 10048.096.v4.txt, HBASE-10048-0.94-v1.diff, 
> HBASE-10048-0.94-v2.diff, HBASE-10048-trunk-v1.diff, 
> HBASE-10048-trunk-v2.diff, HBASE-10048-trunk-v3.diff, 
> HBASE-10048-trunk-v4.diff
>
>
> Add hlog number metric in regionserver. 
> We can use this metric to alert about memstore flush because of too many 
> hlogs.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (HBASE-10048) Add hlog number metric in regionserver

2013-12-06 Thread stack (JIRA)

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

stack updated HBASE-10048:
--

  Component/s: metrics
Fix Version/s: 0.99.0
   0.96.1
   0.98.0

> Add hlog number metric in regionserver
> --
>
> Key: HBASE-10048
> URL: https://issues.apache.org/jira/browse/HBASE-10048
> Project: HBase
>  Issue Type: Improvement
>  Components: metrics
>Reporter: Liu Shaohui
>Assignee: Liu Shaohui
>Priority: Minor
> Fix For: 0.98.0, 0.96.1, 0.99.0
>
> Attachments: HBASE-10048-0.94-v1.diff, HBASE-10048-0.94-v2.diff, 
> HBASE-10048-trunk-v1.diff, HBASE-10048-trunk-v2.diff, 
> HBASE-10048-trunk-v3.diff, HBASE-10048-trunk-v4.diff
>
>
> Add hlog number metric in regionserver. 
> We can use this metric to alert about memstore flush because of too many 
> hlogs.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (HBASE-10048) Add hlog number metric in regionserver

2013-12-03 Thread Liu Shaohui (JIRA)

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

Liu Shaohui updated HBASE-10048:


Attachment: HBASE-10048-trunk-v4.diff

Update for Himanshu Vashishtha 's review.

rename to  getNumLogFiles to getNumRolledLogFiles and add actually 
getNumLogFiles method which contain current hlog file.

For there may be multi hlog writers, we should make this metric contain current 
hlog files.


> Add hlog number metric in regionserver
> --
>
> Key: HBASE-10048
> URL: https://issues.apache.org/jira/browse/HBASE-10048
> Project: HBase
>  Issue Type: Improvement
>Reporter: Liu Shaohui
>Assignee: Liu Shaohui
>Priority: Minor
> Attachments: HBASE-10048-0.94-v1.diff, HBASE-10048-0.94-v2.diff, 
> HBASE-10048-trunk-v1.diff, HBASE-10048-trunk-v2.diff, 
> HBASE-10048-trunk-v3.diff, HBASE-10048-trunk-v4.diff
>
>
> Add hlog number metric in regionserver. 
> We can use this metric to alert about memstore flush because of too many 
> hlogs.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (HBASE-10048) Add hlog number metric in regionserver

2013-11-29 Thread Liu Shaohui (JIRA)

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

Liu Shaohui updated HBASE-10048:


Attachment: HBASE-10048-trunk-v3.diff

Fix the failed tests

> Add hlog number metric in regionserver
> --
>
> Key: HBASE-10048
> URL: https://issues.apache.org/jira/browse/HBASE-10048
> Project: HBase
>  Issue Type: Improvement
>Reporter: Liu Shaohui
>Assignee: Liu Shaohui
>Priority: Minor
> Attachments: HBASE-10048-0.94-v1.diff, HBASE-10048-0.94-v2.diff, 
> HBASE-10048-trunk-v1.diff, HBASE-10048-trunk-v2.diff, 
> HBASE-10048-trunk-v3.diff
>
>
> Add hlog number metric in regionserver. 
> We can use this metric to alert about memstore flush because of too many 
> hlogs.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (HBASE-10048) Add hlog number metric in regionserver

2013-11-29 Thread chunhui shen (JIRA)

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

chunhui shen updated HBASE-10048:
-

Status: Patch Available  (was: Open)

> Add hlog number metric in regionserver
> --
>
> Key: HBASE-10048
> URL: https://issues.apache.org/jira/browse/HBASE-10048
> Project: HBase
>  Issue Type: Improvement
>Reporter: Liu Shaohui
>Assignee: Liu Shaohui
>Priority: Minor
> Attachments: HBASE-10048-0.94-v1.diff, HBASE-10048-0.94-v2.diff, 
> HBASE-10048-trunk-v1.diff, HBASE-10048-trunk-v2.diff
>
>
> Add hlog number metric in regionserver. 
> We can use this metric to alert about memstore flush because of too many 
> hlogs.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (HBASE-10048) Add hlog number metric in regionserver

2013-11-29 Thread Liu Shaohui (JIRA)

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

Liu Shaohui updated HBASE-10048:


Attachment: HBASE-10048-trunk-v2.diff

Add hlog file size metric

[~zjushch]

> Add hlog number metric in regionserver
> --
>
> Key: HBASE-10048
> URL: https://issues.apache.org/jira/browse/HBASE-10048
> Project: HBase
>  Issue Type: Improvement
>Reporter: Liu Shaohui
>Assignee: Liu Shaohui
>Priority: Minor
> Attachments: HBASE-10048-0.94-v1.diff, HBASE-10048-0.94-v2.diff, 
> HBASE-10048-trunk-v1.diff, HBASE-10048-trunk-v2.diff
>
>
> Add hlog number metric in regionserver. 
> We can use this metric to alert about memstore flush because of too many 
> hlogs.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (HBASE-10048) Add hlog number metric in regionserver

2013-11-28 Thread Liu Shaohui (JIRA)

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

Liu Shaohui updated HBASE-10048:


Attachment: HBASE-10048-trunk-v1.diff

Patch for trunk.
Don't +1 in getNumLogFiles, for it is used in many others places.


> Add hlog number metric in regionserver
> --
>
> Key: HBASE-10048
> URL: https://issues.apache.org/jira/browse/HBASE-10048
> Project: HBase
>  Issue Type: Improvement
>Reporter: Liu Shaohui
>Assignee: Liu Shaohui
>Priority: Minor
> Attachments: HBASE-10048-0.94-v1.diff, HBASE-10048-0.94-v2.diff, 
> HBASE-10048-trunk-v1.diff
>
>
> Add hlog number metric in regionserver. 
> We can use this metric to alert about memstore flush because of too many 
> hlogs.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (HBASE-10048) Add hlog number metric in regionserver

2013-11-27 Thread Liu Shaohui (JIRA)

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

Liu Shaohui updated HBASE-10048:


Attachment: HBASE-10048-0.94-v2.diff

[~yuzhih...@gmail.com]
updates:
add 1 for the current hlog in getNumLogFiles

> Add hlog number metric in regionserver
> --
>
> Key: HBASE-10048
> URL: https://issues.apache.org/jira/browse/HBASE-10048
> Project: HBase
>  Issue Type: Improvement
>Reporter: Liu Shaohui
>Assignee: Liu Shaohui
>Priority: Minor
> Attachments: HBASE-10048-0.94-v1.diff, HBASE-10048-0.94-v2.diff
>
>
> Add hlog number metric in regionserver. 
> We can use this metric to alert about memstore flush because of too many 
> hlogs.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (HBASE-10048) Add hlog number metric in regionserver

2013-11-27 Thread Liu Shaohui (JIRA)

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

Liu Shaohui updated HBASE-10048:


Attachment: HBASE-10048-0.94-v1.diff

Patch for 0.94. 
After it accepted, i will make a patch for trunk.

> Add hlog number metric in regionserver
> --
>
> Key: HBASE-10048
> URL: https://issues.apache.org/jira/browse/HBASE-10048
> Project: HBase
>  Issue Type: Improvement
>Reporter: Liu Shaohui
>Assignee: Liu Shaohui
>Priority: Minor
> Attachments: HBASE-10048-0.94-v1.diff
>
>
> Add hlog number metric in regionserver. 
> We can use this metric to alert about memstore flush because of too many 
> hlogs.



--
This message was sent by Atlassian JIRA
(v6.1#6144)