Serverless Data Analysis with Beam: MapReduce in Beam (Java) Reviews

16423 reviews

This lab doesn't work anymore because JAVA_HOME in the Cloud shell machine points to Java 11 and looks like Beam only works with Java 8. Luckily, Java 8 was also installed in the cloud shell and I was able to set JAVA_HOME like below to get it working export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64

Sriram N. · Reviewed about 6 years ago

[INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:31 min [INFO] Finished at: 2020-05-14T11:01:23+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:java (default-cli) on project javahelp: An exception occured while executing the Java class. null: InvocationTargetException: java.lang.UnsupportedOperationException: Cannot define class using reflection: Could not find sun.misc.Unsafe -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:java (default-cli) on project javahelp: An exception occured while executing the Java class. null

Ferri F. · Reviewed about 6 years ago

I was wondering what the difference was between the python and Java setup, but the code does not complete the build, it gives this error: ``` [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7.871 s [INFO] Finished at: 2020-05-14T08:56:40+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:java (default-cli) on project javahelp: An exception occured while executing the Java class. null: InvocationTargetException: java.lang.UnsupportedOperationException: Cannot define class using reflection: Could not find sun.misc.Unsafe -> [Hel p 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:java (default-cli) on project javahel p: An exception occured while executing the Java class. null ```

Arne A. · Reviewed about 6 years ago

OK Lab

Kristijan K. · Reviewed about 6 years ago

Зуев А. · Reviewed about 6 years ago

janghyunwoo j. · Reviewed about 6 years ago

Jon C. · Reviewed about 6 years ago

100s, maybe 1000s of JAR downloads in response to the Maven compile command ... crapped out after about 15-20 minutes ... lost connection to Cloud Shell. Gave up on lab. Had same problem with prior lab.

Chip H. · Reviewed about 6 years ago

Abhilasha K. · Reviewed about 6 years ago

Java wont compile "Cannot define class using reflection: Could not find sun.misc.Unsafe"

Justin M. · Reviewed about 6 years ago

maven failed

Alejandro G. · Reviewed about 6 years ago

Oguz A. · Reviewed about 6 years ago

Ashish P. · Reviewed about 6 years ago

Soufiane A. · Reviewed about 6 years ago

It is failing due to dependencies are not matching

Lakshmi Narayana K. · Reviewed about 6 years ago

Sumangala B. · Reviewed about 6 years ago

Maheshkumar H. · Reviewed about 6 years ago

Jose J. · Reviewed about 6 years ago

java version outdated to still use oraclejdk vs openjdk

Kenneth S. · Reviewed about 6 years ago

Adriana-Elena T. · Reviewed about 6 years ago

Carole C. · Reviewed about 6 years ago

Rajneesh K. · Reviewed about 6 years ago

Rahul N. · Reviewed about 6 years ago

Milos B. · Reviewed about 6 years ago

Vishal P. · Reviewed about 6 years ago

We do not ensure the published reviews originate from consumers who have purchased or used the products. Reviews are not verified by Google.