Rate This Document
Findability
Accuracy
Completeness
Readability

Error "Failed to apply patch: HBASE-15789_v2.path" Reported When Compiling HBase-shaded-netty

Symptom

When compiling HBase-shaded-netty, the error "Failed to apply patch: HBASE-15789_v2.path" is reported:

1
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-path-plugin:1.2:apply (path) on project hbase-shaded-protobuf: Failed to apply patch: HBASE-15789_v2.path. See debug output for more information.Error while executing process.Cannot run program"path"

Key Process and Cause Analysis

The patch is missing.

Conclusion and Solution

Run the following command to install the patch file:

1
yum -y install patch