Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by HenryCaiHaiying
, 2 years ago
Failed to apply upload policy
java.lang.RuntimeException: Failed to apply upload policy at com.pinterest.secor.consumer.Consumer.checkUploadPolicy(Consumer.java:115) at com.pinterest.secor.consumer.Consumer.run(Consumer.java:105)Caused by: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /consumers/masecor/offsets/atlas10-prod-serverSide-madlytics/8 at org.apache.zookeeper.KeeperException.create(KeeperException.java:99) at org.apache.zookeeper.KeeperException.create(KeeperException.java:51) at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1155) at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1184) at com.pinterest.secor.common.ZookeeperConnector.getCommittedOffsetCount(ZookeeperConnector.java:116) at com.pinterest.secor.uploader.Uploader.checkTopicPartition(Uploader.java:180) at com.pinterest.secor.uploader.Uploader.applyPolicy(Uploader.java:207) at com.pinterest.secor.consumer.Consumer.checkUploadPolicy(Consumer.java:113) ... 1 more