[
https://issues.apache.org/jira/browse/HDDS-4521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kenneth Yang resolved HDDS-4521.
--------------------------------
Fix Version/s: (was: 1.1.0)
Resolution: Not A Bug
> Module [hadoop-ozone-filesystem-hadoop2] compilation failure, missing
> dependencies
> ----------------------------------------------------------------------------------
>
> Key: HDDS-4521
> URL: https://issues.apache.org/jira/browse/HDDS-4521
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Components: build
> Affects Versions: 1.1.0
> Environment: apache-maven-3.6.3
> Reporter: Kenneth Yang
> Assignee: Kenneth Yang
> Priority: Major
> Labels: pull-request-available
>
> The following error is reported when run the maven command "mvn clean package
> -DskipTests=true"
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile)
> on project hadoop-ozone-filesystem-hadoop2: Compilation failure: Compilation
> failure:
> [ERROR]
> /Users/dev/github/hadoop-ozone/hadoop-ozone/ozonefs-hadoop2/src/main/java/org/apache/hadoop/fs/ozone/Hadoop27RpcTransport.java:[37,27]
> package com.google.protobuf does not exist
> [ERROR]
> /Users/dev/github/hadoop-ozone/hadoop-ozone/ozonefs-hadoop2/src/main/java/org/apache/hadoop/fs/ozone/Hadoop27RpcTransport.java:[38,27]
> package com.google.protobuf does not exist
> [ERROR]
> /Users/dev/github/hadoop-ozone/hadoop-ozone/ozonefs-hadoop2/src/main/java/org/apache/hadoop/fs/ozone/Hadoop27RpcTransport.java:[45,24]
> cannot find symbol
> [ERROR] symbol: class RpcController
> [ERROR] location: package org.apache.hadoop.fs.ozone.Hadoop27RpcTransport
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>
> I think the module hadoop-ozone-filesystem-hadoop2 should add the dependency
> com.google.protobuf package
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]