You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by GitBox <gi...@apache.org> on 2020/07/06 14:03:35 UTC

[GitHub] [hive] kgyrtkirk opened a new pull request #1211: HIVE-23790: The error message length of 2000 is exceeded for scheduled query

kgyrtkirk opened a new pull request #1211:
URL: https://github.com/apache/hive/pull/1211


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


[GitHub] [hive] kgyrtkirk commented on pull request #1211: HIVE-23790: The error message length of 2000 is exceeded for scheduled query

Posted by GitBox <gi...@apache.org>.
kgyrtkirk commented on pull request #1211:
URL: https://github.com/apache/hive/pull/1211#issuecomment-654263274


   I didn't wanted to get into trouble because of utf stuff; so I clip the message at 1K ; the purpose of this error message field is to given an idea what was the problem - and not to provide fully detailed backtrace/etc ; I think 1K might be already too much...in case some exception puts too much info into the "message" part of the exception....
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


[GitHub] [hive] kgyrtkirk merged pull request #1211: HIVE-23790: The error message length of 2000 is exceeded for scheduled query

Posted by GitBox <gi...@apache.org>.
kgyrtkirk merged pull request #1211:
URL: https://github.com/apache/hive/pull/1211


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


[GitHub] [hive] belugabehr commented on a change in pull request #1211: HIVE-23790: The error message length of 2000 is exceeded for scheduled query

Posted by GitBox <gi...@apache.org>.
belugabehr commented on a change in pull request #1211:
URL: https://github.com/apache/hive/pull/1211#discussion_r450245316



##########
File path: standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/client/TestMetastoreScheduledQueries.java
##########
@@ -357,6 +360,17 @@ public void testPoll() throws Exception {
     assertFalse(pollResult.isSetQuery());
   }
 
+  private String generateLongErrorMessage() {
+    StringBuffer sb=new StringBuffer();

Review comment:
       This is a test, so not super important, but this should be a `StringBuilder` and please fix the checkstyle issue (no space between the `=`.  Thanks.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org