sarutak edited a comment on pull request #33133:
URL: https://github.com/apache/spark/pull/33133#issuecomment-870903590


   @dongjoon-hyun Thank you, I forgot that kinesis tests don't run on CI.
   I ran `*Kinesis*Suite` with `ENABLE_KINESIS_TESTS=1` and they passed on my 
AWS environment.
   But kinesis-client seems to need newer Guava regardless of `1.14.4` or 
currently used `1.14.0`.
   Otherwise, we'll get like the following exception.
   ```
   java.lang.NoSuchMethodError: 
com.google.common.base.Stopwatch.createUnstarted()Lcom/google/common/base/Stopwatch;
           at 
com.amazonaws.services.kinesis.leases.impl.LeaseCleanupManager.<init>(LeaseCleanupManager.java:74)
           at 
com.amazonaws.services.kinesis.leases.impl.LeaseCleanupManager.createOrGetInstance(LeaseCleanupManager.java:105)
           at 
com.amazonaws.services.kinesis.clientlibrary.lib.worker.Worker.<init>(Worker.java:579)
           at 
com.amazonaws.services.kinesis.clientlibrary.lib.worker.Worker.<init>(Worker.java:537)
           at 
com.amazonaws.services.kinesis.clientlibrary.lib.worker.Worker.<init>(Worker.java:406)
           at 
com.amazonaws.services.kinesis.clientlibrary.lib.worker.Worker.<init>(Worker.java:294)
           at 
com.amazonaws.services.kinesis.clientlibrary.lib.worker.Worker.<init>(Worker.java:351)
           at 
com.amazonaws.services.kinesis.clientlibrary.lib.worker.Worker.<init>(Worker.java:198)
           at 
com.amazonaws.services.kinesis.clientlibrary.lib.worker.Worker.<init>(Worker.java:178)
           at 
org.apache.spark.streaming.kinesis.KinesisReceiver.onStart(KinesisReceiver.scala:192)
           at 
org.apache.spark.streaming.receiver.ReceiverSupervisor.startReceiver(ReceiverSupervisor.scala:149)
           at 
org.apache.spark.streaming.receiver.ReceiverSupervisor.start(ReceiverSupervisor.scala:131)
           at 
org.apache.spark.streaming.scheduler.ReceiverTracker$ReceiverTrackerEndpoint.$anonfun$startReceiver$1(ReceiverTracker.scala:596)
           at 
org.apache.spark.streaming.scheduler.ReceiverTracker$ReceiverTrackerEndpoint.$anonfun$startReceiver$1$adapted(ReceiverTracker.scala:586
   
   ```
   So, I tried with `-Dguava.version=27.0-jre`. Is this expected?
   
   I also ran kinesis tests on the commit a9e8e0528a52d19103463bae0a which 
upgraded kinesis-client to `1.14.0` but this also seems to need newer Guava.
   On the other hand, the commit 82267acfe8c78a70d56a6 which is the parent 
commit of a9e8e0528a52d19103463bae0a doesn't need newer Guava.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to