Github user cestella commented on a diff in the pull request:

    https://github.com/apache/metron/pull/755#discussion_r138776403
  
    --- Diff: metron-stellar/stellar-common/src/main/scripts/stellar ---
    @@ -28,7 +28,8 @@ elif [ -e /usr/lib/bigtop-utils/bigtop-detect-javahome ]; 
then
       . /usr/lib/bigtop-utils/bigtop-detect-javahome
     fi
     
    -export HBASE_CONFIGS=/etc/hbase/conf
    +export HBASE_CONFIGS=$(hbase classpath)
     export METRON_VERSION=${project.version}
     export METRON_HOME=/usr/metron/$METRON_VERSION
    -java $JVMFLAGS -cp "$HBASE_CONFIGS:$METRON_HOME/lib/*" 
org.apache.metron.stellar.stellar.shell.StellarShell "$@"
    +export STELLAR_LIB=$(find $METRON_HOME/lib/ -name metron-enrichment*.jar)
    --- End diff --
    
    It will pick up the profiler functions, they're included in the enrichment 
jar (that's actually what motivated this, `PROFILE_GET` didn't work randomly 
based on the order of the classpath).
    
    We probably should include the management functions directly, though.  I'll 
adjust.


---

Reply via email to