Closed mars closed 7 years ago
Found several refs to this weird dependency problem: http://stackoverflow.com/questions/21864521/java-lang-nosuchfielderror-org-apache-http-message-basiclineformatter-instance http://stackoverflow.com/questions/27921077/nosuchfielderror-instance-at-org-apache-http-impl-io-defaulthttprequestwriterfac
Fixed by stabilizing the sort order of "lib/spark/*" JARs in classpath.
The SNAPSHOT distribution of PredictionIO included with the buildpack now contains this change.
When this engine is deployed to Heroku, intermittently (~50% of time) the
pio
CLI commands will throw the error pasted below.The effect is halting a new release (workaround with
heroku releases:retry
) or crashing the web process (workaround withheroku ps:restart
; sometimes,heroku ps:stop
is required to launch a dyno on a new underlying host.)