hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hsieh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-7720) improve logging messages of failed snapshot attempts.
Date Wed, 30 Jan 2013 17:13:12 GMT

    [ https://issues.apache.org/jira/browse/HBASE-7720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13566635#comment-13566635
] 

Jonathan Hsieh commented on HBASE-7720:
---------------------------------------

New output examples:
{code}
08:06:36 ERROR: org.apache.hadoop.hbase.snapshot.HBaseSnapshotException: org.apache.hadoop.hbase.snapshot.HBaseSnapshotException:
Snapshot { ss=pe-4-766 table=TestTable type=FLUSH } had an error.  Procedure pe-4-766 { waiting=[]
done=[jon-snapshots-10.ent.cloudera.com,22101,1359505605733] }
08:06:36 	at org.apache.hadoop.hbase.master.snapshot.SnapshotManager.isSnapshotDone(SnapshotManager.java:334)
08:06:36 	at org.apache.hadoop.hbase.master.HMaster.isSnapshotDone(HMaster.java:1936)
08:06:36 	at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
08:06:36 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
08:06:36 	at java.lang.reflect.Method.invoke(Method.java:597)
08:06:36 	at org.apache.hadoop.hbase.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:364)
08:06:36 	at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1400)
{code}

{code}
08:07:42 ERROR: org.apache.hadoop.hbase.snapshot.HBaseSnapshotException: org.apache.hadoop.hbase.snapshot.HBaseSnapshotException:
Snapshot { ss=pe-5-766 table=TestTable type=FLUSH } had an error.  pe-5-766 not found in proclist
[pe-9-764, pe-1-764, pe-1-762, pe-1-766, pe-4-766, pe-1-761, pe-2-764, pe-1-765]
08:07:42 	at org.apache.hadoop.hbase.master.snapshot.SnapshotManager.isSnapshotDone(SnapshotManager.java:334)
08:07:42 	at org.apache.hadoop.hbase.master.HMaster.isSnapshotDone(HMaster.java:1936)
08:07:42 	at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
08:07:42 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
08:07:42 	at java.lang.reflect.Method.invoke(Method.java:597)
08:07:42 	at org.apache.hadoop.hbase.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:364)
08:07:42 	at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1400)
{code}
                
> improve logging messages of failed snapshot attempts.
> -----------------------------------------------------
>
>                 Key: HBASE-7720
>                 URL: https://issues.apache.org/jira/browse/HBASE-7720
>             Project: HBase
>          Issue Type: Sub-task
>          Components: snapshots
>    Affects Versions: hbase-7290
>            Reporter: Jonathan Hsieh
>            Assignee: Jonathan Hsieh
>             Fix For: hbase-7290
>
>         Attachments: hbsae-7720.patch
>
>
> When snapshots fail, the client gets some sort of verification exception or some sort
of timeout exception.  This patch provides more information in this error message so that
the user can go directly to a particular regionserver to look for root cause.  (Previously,
you would need to inspect master logs and then go to the region servers).

--
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

Mime
View raw message