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

Sean Busbey commented on HBASE-11893:
-------------------------------------

{quote}
diff --git 
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RowTooBigException.java
 
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RowTooBigException.java
index 56d3872..60f3293 100644
--- 
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RowTooBigException.java
+++ 
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RowTooBigException.java
@@ -25,8 +25,11 @@ import org.apache.hadoop.hbase.RegionException;
  * Gets or Scans throw this exception if running without in-row scan flag
  * set and row size appears to exceed max configured size (configurable via
  * hbase.table.max.rowsize).
+ *
+ * @deprecated use {@link org.apache.hadoop.hbase.client.RowTooBigException} 
instead.
  */
 @InterfaceAudience.Public
+@Deprecated
 public class RowTooBigException extends RegionException {
 {quote}

regionserver.RowTooBigException should extend client.RowTooBigException. That 
way the server can throw it and clients that are expecting either the old or 
the client version will work.

After making this change TestRowTooBig should stop failing. AFAICT the other 
failures from QA are unrelated, they pass locally.

> RowTooBigException should be in hbase-client module
> ---------------------------------------------------
>
>                 Key: HBASE-11893
>                 URL: https://issues.apache.org/jira/browse/HBASE-11893
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>            Reporter: Sean Busbey
>            Assignee: Mikhail Antonov
>            Priority: Minor
>              Labels: beginner
>         Attachments: HBASE-11893.patch, HBASE-11893.v2.patch
>
>
> RowTooBigException is Public get thrown from client calls. It should be in 
> hbase-client instead of hbase-server.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to