Upgrading to 0.9.0
Clone this wiki locally
def configin Job does not accept a mode. Job has
Job.modeuse that if you need it.
def listenersin Job no longer accepts a mode either.
sumtakes a type parameter in the fields API.
sum[Double]is equivalent to the old behavior, but you might want
sum[Long]or any other
Tthat has an
algebird.Semigroup[T]. Without the type parameter you get:
diverging implicit expansion for type com.twitter.algebird.Semigroup[T]
- TypedSink and Mappable need setter and converter defined. Using TupleSetter.asSubSetter, or TupleConverter.asSuperConverter can help here. (add better docs, please if you get confused).
- RichDate parsing needs an implicit scalding.DateParser. Job has one in scope that follows the old rules (minus natty), but you may need to set an implicit DateParser outside of a Job. (See DateParser.default).
JsonLinehas been extracted into
These sed rules may help.