I am getting the following exception during rebala...
# troubleshooting
y
I am getting the following exception during rebalancing. I have triggered rebalancing once but it seemed to have stopped in the middle and now i am getting the following exception. Any ideas ?
Copy code
Rebalancing table: guestslslitm3years_OFFLINE with minAvailableReplicas: 1, bestEfforts: false
Found ERROR instance: Server_10.59.98.103_8098 for segment: guestslslitm3years_2018-01-01_2018-01-01_3, table: guestslslitm3years_OFFLINE
Caught exception while waiting for ExternalView to converge for table: guestslslitm3years_OFFLINE, aborting the rebalance
java.lang.IllegalStateException: Found segments in ERROR state
	at org.apache.pinot.controller.helix.core.rebalance.TableRebalancer.isExternalViewConverged(TableRebalancer.java:538) ~[pinot-all-0.5.0-SNAPSHOT-jar-with-dependencies.jar:0.5.0-SNAPSHOT-701ffcbd5be5f39e91cea9a0297c4e8b0a7d9343]
	at org.apache.pinot.controller.helix.core.rebalance.TableRebalancer.waitForExternalViewToConverge(TableRebalancer.java:480) ~[pinot-all-0.5.0-SNAPSHOT-jar-with-dependencies.jar:0.5.0-SNAPSHOT-701ffcbd5be5f39e91cea9a0297c4e8b0a7d9343]
	at org.apache.pinot.controller.helix.core.rebalance.TableRebalancer.rebalance(TableRebalancer.java:344) ~[pinot-all-0.5.0-SNAPSHOT-jar-with-dependencies.jar:0.5.0-SNAPSHOT-701ffcbd5be5f39e91cea9a0297c4e8b0a7d9343]
	at org.apache.pinot.controller.helix.core.PinotHelixResourceManager.rebalanceTable(PinotHelixResourceManager.java:2128) ~[pinot-all-0.5.0-SNAPSHOT-jar-with-dependencies.jar:0.5.0-SNAPSHOT-701ffcbd5be5f39e91cea9a0297c4e8b0a7d9343]
	at org.apache.pinot.controller.api.resources.PinotTableRestletResource.lambda$rebalance$0(PinotTableRestletResource.java:530) ~[pinot-all-0.5.0-SNAPSHOT-jar-with-dependencies.jar:0.5.0-SNAPSHOT-701ffcbd5be5f39e91cea9a0297c4e8b0a7d9343]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_265]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_265]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_265]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_265]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_265]
n
you have segments in ERROR state in the External view?
you can set bestEffort=true . @Jackie bestEffort is designed to help such a situation right?
y
Got it. Thanks
j
Yes, correct