Re: error in using package SubnetUtils

2020-11-11 Thread Diwakar Jha
Thank you, Arvid. i changed the import to com.facebook.presto.hadoop.$internal.org.apache.commons.net.util.SubnetUtils and it worked. Also, I will add apache-commons to my project as you suggested. Thanks. On Wed, Nov 11, 2020 at 4:46 AM Arvid Heise wrote: > Hi Diwakar, > > we removed shading f

Re: error in using package SubnetUtils

2020-11-11 Thread Arvid Heise
Hi Diwakar, we removed shading from s3 plugins in Flink 1.11. So the package should be com.facebook.presto.hadoop.$internal.org.apache.commons.net.util.SubnetUtils now. But I strongly discourage you from using internally shaded libs. Rather use add apache-commons to your project as a proper depend

error in using package SubnetUtils

2020-11-10 Thread Diwakar Jha
Hello, I'm migrating from Flink 1.8 to Flink 1.11 on an EMR cluster and I get this error message for using package subnetUtils. Its working fine for Flink 1.8. [javac] import org.apache.flink.fs.s3presto.shaded.com.facebook.presto.hadoop.$internal.org.apache.commons.net.util.SubnetUtils; [ja