karanmehta93 commented on a change in pull request #433: PHOENIX-4009 Run 
UPDATE STATISTICS command by using MR integration on…
URL: https://github.com/apache/phoenix/pull/433#discussion_r252374012
 
 

 ##########
 File path: 
phoenix-core/src/main/java/org/apache/phoenix/schema/stats/StatsCollectionDisabledOnServerException.java
 ##########
 @@ -0,0 +1,18 @@
+package org.apache.phoenix.schema.stats;
+
+import org.apache.phoenix.exception.SQLExceptionCode;
+import org.apache.phoenix.exception.SQLExceptionInfo;
+
+import java.sql.SQLException;
+
+public class StatsCollectionDisabledOnServerException extends SQLException {
+
+    private static final long serialVersionUID = 1L;
+    private static SQLExceptionCode code = 
SQLExceptionCode.STATS_COLLECTION_DISABLED_ON_SERVER;
+
+    public StatsCollectionDisabledOnServerException() {
 
 Review comment:
   The exception is wrapped around by `DoNotRetryIOException` from HBase which 
prints the region name automatically (which contains table name), hence I 
didn't add it here.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to