Skip to content

Instantly share code, notes, and snippets.

@natekupp
Created March 15, 2020 03:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save natekupp/02321a5267a4db5f5083bef99370704b to your computer and use it in GitHub Desktop.
Save natekupp/02321a5267a4db5f5083bef99370704b to your computer and use it in GitHub Desktop.
MacOS OpenSSL Fix for Hadoop Pipes XML
diff --git a/hadoop-tools/hadoop-pipes/pom.xml b/hadoop-tools/hadoop-pipes/pom.xml
index 70f66f973d4..5063da640cc 100644
--- a/hadoop-tools/hadoop-pipes/pom.xml
+++ b/hadoop-tools/hadoop-pipes/pom.xml
@@ -54,6 +54,9 @@
<source>${basedir}/src</source>
<vars>
<JVM_ARCH_DATA_MODEL>${sun.arch.data.model}</JVM_ARCH_DATA_MODEL>
+ <OPENSSL_INCLUDE_DIR>/usr/local/Cellar/openssl/1.0.2t/include</OPENSSL_INCLUDE_DIR>
+ <OPENSSL_SSL_LIBRARY>/usr/local/Cellar/openssl/1.0.2t/lib/libssl.dylib</OPENSSL_SSL_LIBRARY>
+ <OPENSSL_CRYPTO_LIBRARY>/usr/local/Cellar/openssl/1.0.2t/lib/libcrypto.dylib</OPENSSL_CRYPTO_LIBRARY>
</vars>
</configuration>
</execution>
@@ -62,5 +65,5 @@
</plugins>
</build>
</profile>
- </profiles>
+ </profiles>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment