[DEPRECATED] Serverless Data Processing with Dataflow - Using Dataflow SQL for Batch Analytics (Java) Reviews

4100 reviews

Silvio C. · Reviewed больше 1 года ago

Dmitry P. · Reviewed больше 1 года ago

Iurie S. · Reviewed больше 1 года ago

Bala Abinaya N. · Reviewed больше 1 года ago

Understand the batch pipeline flow

Batthi V. · Reviewed больше 1 года ago

Rares R. · Reviewed больше 1 года ago

Diego M. · Reviewed больше 1 года ago

Vinoth R. · Reviewed больше 1 года ago

Marco H. · Reviewed больше 1 года ago

Shaik S. · Reviewed больше 1 года ago

Riya G. · Reviewed больше 1 года ago

Marco H. · Reviewed больше 1 года ago

Maximo C. · Reviewed больше 1 года ago

Abhishek G. · Reviewed больше 1 года ago

OMG. Very frustrating: 1. VM had to be reset multiple times. 2. When trying to run the two pipelines received the following error: "[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/home/theia). Please verify you invoked Maven from the correct directory. -> [Help 1]" I fixed the problem by (1) compiling, (2) then setting the variables, (3) compiling againg, and (4) finally running the pipelines: Compile the Project: Run Maven to clean and compile the project to ensure that all classes are properly compiled. sh Copy code mvn clean compile Run the Maven Command with Debug Logging: If the problem persists, run Maven with the -e or -X switch to get more detailed error information. This will help in diagnosing the issue further. sh Copy code mvn -e exec:java \ -Dexec.mainClass=${MAIN_CLASS_NAME} \ -Dexec.cleanupDaemonThreads=false \ -Dexec.args=" \ --project=${PROJECT_ID} \ --region=${REGION} \ --stagingLocation=${PIPELINE_FOLDER}/staging \ --tempLocation=${PIPELINE_FOLDER}/temp \ --runner=${RUNNER} \ --inputPath=${INPUT_PATH} \ --tableName=${TABLE_NAME}" Example Command Sequence Navigate to the Project Directory: sh Copy code cd /home/project/training-data-analyst/quests/dataflow/4_SQL_Batch_Analytics/labs Set Environment Variables: sh Copy code export PROJECT_ID=$(gcloud config get-value project) export REGION='us-west1' export BUCKET=gs://${PROJECT_ID} export PIPELINE_FOLDER=${BUCKET} export MAIN_CLASS_NAME=com.mypackage.pipeline.BatchMinuteTrafficSQLPipeline export RUNNER=DataflowRunner export INPUT_PATH=${PIPELINE_FOLDER}/events.json export TABLE_NAME=${PROJECT_ID}:logs.minute_traffic Compile the Project: sh Copy code mvn clean compile Run the Project: sh Copy code mvn exec:java \ -Dexec.mainClass=${MAIN_CLASS_NAME} \ -Dexec.cleanupDaemonThreads=false \ -Dexec.args=" \ --project=${PROJECT_ID} \ --region=${REGION} \ --stagingLocation=${PIPELINE_FOLDER}/staging \ --tempLocation=${PIPELINE_FOLDER}/temp \ --runner=${RUNNER} \ --inputPath=${INPUT_PATH} \ --tableName=${TABLE_NAME}"

Andres Felipe G. · Reviewed больше 1 года ago

VM constantly crashes

Andres Felipe G. · Reviewed больше 1 года ago

manjing m. · Reviewed больше 1 года ago

The lab doesnt work

Wiehan W. · Reviewed больше 1 года ago

Iman E. · Reviewed больше 1 года ago

completed

Shabana K. · Reviewed больше 1 года ago

Thamu M. · Reviewed больше 1 года ago

<?xml version="1.0" encoding="UTF-8" ?> <!-- Copyright (C) 2018 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.mypackage</groupId> <artifactId>advanced-dataflow-lab-4-solution</artifactId> <version>1.0</version> <properties> <!-- Dependency properties --> <beam.version>2.32.0</beam.version> <java.version>1.8</java.version> <slf4j.version>1.7.25</slf4j.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven-dependency-plugin.version>3.0.1</maven-dependency-plugin.version> </properties> <dependencies> <dependency> <groupId>org.apache.beam</groupId> <artifactId>beam-sdks-java-core</artifactId> <version>${beam.version}</version> </dependency> <dependency> <groupId>org.apache.beam</groupId> <artifactId>beam-runners-direct-java</artifactId> <version>${beam.version}</version> </dependency> <dependency> <groupId>org.apache.beam</groupId> <artifactId>beam-sdks-java-io-google-cloud-platform</artifactId> <version>${beam.version}</version> </dependency> <dependency> <groupId>org.apache.beam</groupId> <artifactId>beam-runners-google-cloud-dataflow-java</artifactId> <version>${beam.version}</version> </dependency> <dependency> <groupId>org.apache.beam</groupId> <artifactId>beam-sdks-java-extensions-google-cloud-platform-core</artifactId> <version>${beam.version}</version> </dependency> <dependency> <groupId>org.apache.beam</groupId> <artifactId>beam-sdks-java-extensions-sql</artifactId> <version>${beam.version}</version> </dependency> <dependency> <groupId>org.apache.beam</groupId> <artifactId>beam-sdks-java-extensions-sql-zetasql</artifactId> <version>${beam.version}</version> </dependency> <!-- Logging --> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>${slf4j.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <version>${slf4j.version}</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.1</version> <configuration> <source>${java.version}</source> <target>${java.version}</target> </configuration> </plugin> </plugins> </build> </project> yet it says not completed ma be glitch in check progress & actual completion validating

Shabana K. · Reviewed больше 1 года ago

vchemodurov@griddynamics.com S. · Reviewed больше 1 года ago

Was stuck with some plugin failure no matter how much i tried to fix it just failed-The example in solution also failed - when you say if you are stuck look at the example

Shabana K. · Reviewed больше 1 года ago

David Lamin G. · Reviewed больше 1 года ago

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