mihai-cazacu-adswizz commented on issue #7597: [materialized view] The 
generated specification is too big
URL: 
https://github.com/apache/incubator-druid/issues/7597#issuecomment-514067508
 
 
   I have this error again. One interval contains `3,130 segments` and the 
generated specification is huge.
   
   ```
   /opt/druid/current/log/druid.log:2019-07-22T13:16:23,702 ERROR 
[MaterializedViewSupervisor-mv_some-ds] 
org.apache.druid.java.util.emitter.core.HttpPostEmitter - Event too large to 
emit (340,420,078 > 1,047,552): 
{"feed":"alerts","timestamp":"2019-07-22T13:16:22.627Z","service":"druid/overlord","host":"ec2-34-240-16-186.eu-west-1.compute.amazonaws.com:8090","version":"0.13.0-incubating","severity":"component-failure","description":"uncaught
 exception in 
MaterializedViewSupervisor-mv_some-ds.","data":{"class":"org.apache.druid.indexing.materializedview.MaterializedViewSupervisor","exceptionType":"java.lang.RuntimeException","exceptionMessage":"java.lang.RuntimeException:
 org.skife.jdbi.v2.exceptions.CallbackFailedException: 
org.skife.jdbi.v2.exceptions.UnableToExecuteStatementException: 
com.mysql.jdbc.PacketTooBigException: Packet for query is too large (29397252 > 
16384000). You can change this value on the server by setting the 
max_allowed_packet' variable. [statement:\"INSERT INTO druid_tasks (id, 
created_date, datasource, payload, active, status_payload) VALUES (:id, 
:created_date, :datasource, :payload, :active, :status_payload)\", 
located:\"INSERT INTO druid_tasks (id, created_date, ...
   ```
   
   I am going to increase the value of `maxZnodeBytes` to `32MB` but I don't 
think that is the best solution.
   
   Why don't you compress the spec or maybe, even better, store it in DB 
(instead of sending it to ZK)?
   
   Thank you!

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to