hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-3079) Shell displaying uninformative exceptions
Date Thu, 11 Nov 2010 16:11:14 GMT

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

stack commented on HBASE-3079:
------------------------------

I just tried the above and it works for me now:

{code}
hbase(main):004:0> put 'usertable', 'x', 'x:x', 'x'

ERROR: org.apache.hadoop.hbase.client.RetriesExhaustedWithDetailsException: Failed 1 action:
NoSuchColumnFamilyException: 1 time, servers with issues: sv2borg183:60020, 
{code}

I'm going to commit the above change (I removed the assert checking for 0 since it won't ever
be after this change goes in).

> Shell displaying uninformative exceptions
> -----------------------------------------
>
>                 Key: HBASE-3079
>                 URL: https://issues.apache.org/jira/browse/HBASE-3079
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>    Affects Versions: 0.89.20100924
>            Reporter: Jonathan Gray
>            Assignee: ryan rawson
>             Fix For: 0.90.0
>
>
> The shell seems to hang longer than the normal client and then display uninformative
messages when doing wrong things.
> For example, inserting into a non-existing family or reading from a disabled table. 
I believe in both these cases, HTable will throw informative exceptions like InvalidFamilyException
and TableDisabledException (need to confirm exactly what it does).
> But in the shell, I get things like:
> Inserting to a family that does not exist:
> {noformat}
> ERROR: org.apache.hadoop.hbase.client.RetriesExhaustedException: Still had 1 puts left
after retrying 7 times.
> {noformat}
> Reading from a disabled table (this takes a long time before anything is displayed):
> {noformat}
> ERROR: org.apache.hadoop.hbase.client.RetriesExhaustedException: Trying to contact region
server 10.0.0.4:62505 for region sample,,1286217181143.1459f8fdde55752fd91022fb1153d39a.,
row '', but failed after 7 attempts.
> Exceptions:
> org.apache.hadoop.hbase.NotServingRegionException: org.apache.hadoop.hbase.NotServingRegionException:
sample,,1286217181143.1459f8fdde55752fd91022fb1153d39a.
> 	at org.apache.hadoop.hbase.regionserver.HRegionServer.getRegion(HRegionServer.java:2221)
> 	at org.apache.hadoop.hbase.regionserver.HRegionServer.openScanner(HRegionServer.java:1812)
> 	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.hadoop.hbase.ipc.HBaseRPC$Server.call(HBaseRPC.java:557)
> 	at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1007)
> org.apache.hadoop.hbase.client.RegionOfflineException: region offline: sample,,1286217181143.1459f8fdde55752fd91022fb1153d39a.
> org.apache.hadoop.hbase.client.RegionOfflineException: region offline: sample,,1286217181143.1459f8fdde55752fd91022fb1153d39a.
> org.apache.hadoop.hbase.client.RegionOfflineException: region offline: sample,,1286217181143.1459f8fdde55752fd91022fb1153d39a.
> org.apache.hadoop.hbase.client.RegionOfflineException: region offline: sample,,1286217181143.1459f8fdde55752fd91022fb1153d39a.
> org.apache.hadoop.hbase.client.RegionOfflineException: region offline: sample,,1286217181143.1459f8fdde55752fd91022fb1153d39a.
> org.apache.hadoop.hbase.client.RegionOfflineException: region offline: sample,,1286217181143.1459f8fdde55752fd91022fb1153d39a.
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message