Guava is commonly used lib and some apps can utilize it on their own.
Having guava as cdap-api dependency makes it only reliable to use same version of guava in apps as it is in cdap-api, since the api classes and its dependencies load first by program classloader. This is a major limitation.
Release Notes
Removed dependency on Guava library from cdap-api module. Applications are now free to use Guava library version of their choice.
Guava is commonly used lib and some apps can utilize it on their own.
Having guava as cdap-api dependency makes it only reliable to use same version of guava in apps as it is in cdap-api, since the api classes and its dependencies load first by program classloader. This is a major limitation.