You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@metron.apache.org by mm...@apache.org on 2019/10/23 21:13:06 UTC

[metron] branch master updated: METRON-2280 PCAP queries no longer work (mmiklavc) closes apache/metron#1537

This is an automated email from the ASF dual-hosted git repository.

mmiklavcic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/metron.git


The following commit(s) were added to refs/heads/master by this push:
     new 67b4d0b  METRON-2280 PCAP queries no longer work (mmiklavc) closes apache/metron#1537
67b4d0b is described below

commit 67b4d0b2c84f7f370890c1caf639459a4c40b37a
Author: mmiklavc <mi...@gmail.com>
AuthorDate: Wed Oct 23 15:12:47 2019 -0600

    METRON-2280 PCAP queries no longer work (mmiklavc) closes apache/metron#1537
---
 metron-interface/metron-rest/pom.xml        | 3 ++-
 metron-platform/metron-pcap-backend/pom.xml | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/metron-interface/metron-rest/pom.xml b/metron-interface/metron-rest/pom.xml
index 66dd99e..b4ca507 100644
--- a/metron-interface/metron-rest/pom.xml
+++ b/metron-interface/metron-rest/pom.xml
@@ -192,10 +192,11 @@
             </exclusions>
         </dependency>
         <dependency>
+            <!-- Must be in the rest uber jar bc certain functions, e.g. MR calls with PCAP will
+            not work with just a classpath reference -->
             <groupId>org.apache.metron</groupId>
             <artifactId>stellar-common</artifactId>
             <version>${project.parent.version}</version>
-            <scope>provided</scope>
         </dependency>
       <dependency>
         <groupId>org.apache.hadoop</groupId>
diff --git a/metron-platform/metron-pcap-backend/pom.xml b/metron-platform/metron-pcap-backend/pom.xml
index 5042b70..719292c 100644
--- a/metron-platform/metron-pcap-backend/pom.xml
+++ b/metron-platform/metron-pcap-backend/pom.xml
@@ -58,10 +58,11 @@
             </exclusions>
         </dependency>
         <dependency>
+            <!-- Must be in the rest uber jar bc certain functions, e.g. MR calls with PCAP will
+            not work with just a classpath reference. Libjars option does not work with "yarn jar" -->
             <groupId>org.apache.metron</groupId>
             <artifactId>stellar-common</artifactId>
             <version>${project.parent.version}</version>
-            <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>junit</groupId>