[ 
https://issues.apache.org/jira/browse/METRON-777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15968506#comment-15968506
 ] 

ASF GitHub Bot commented on METRON-777:
---------------------------------------

Github user ottobackwards commented on the issue:

    https://github.com/apache/incubator-metron/pull/530
  
    RE: Travis
    I was getting these and going to vm was the only way I could get rid of 
them:
    
    
    The system is out of resources.
    Consult the following stack trace for details.
    java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOf(Arrays.java:3181)
        at java.util.ArrayList.grow(ArrayList.java:261)
        at java.util.ArrayList.ensureExplicitCapacity(ArrayList.java:235)
        at java.util.ArrayList.ensureCapacityInternal(ArrayList.java:227)
        at java.util.ArrayList.add(ArrayList.java:458)
        at 
com.sun.tools.javac.file.ZipFileIndex$ZipDirectory.readEntry(ZipFileIndex.java:674)
        at 
com.sun.tools.javac.file.ZipFileIndex$ZipDirectory.buildIndex(ZipFileIndex.java:578)
        at 
com.sun.tools.javac.file.ZipFileIndex$ZipDirectory.access$000(ZipFileIndex.java:485)
        at 
com.sun.tools.javac.file.ZipFileIndex.checkIndex(ZipFileIndex.java:193)
        at com.sun.tools.javac.file.ZipFileIndex.<init>(ZipFileIndex.java:137)
        at 
com.sun.tools.javac.file.ZipFileIndexCache.getZipFileIndex(ZipFileIndexCache.java:100)
        at 
com.sun.tools.javac.file.JavacFileManager.openArchive(JavacFileManager.java:598)
        at 
com.sun.tools.javac.file.JavacFileManager.openArchive(JavacFileManager.java:545)
        at 
com.sun.tools.javac.file.JavacFileManager.listContainer(JavacFileManager.java:429)
        at 
com.sun.tools.javac.file.JavacFileManager.list(JavacFileManager.java:676)
        at 
com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:564)
        at com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:504)
        at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:287)
        at com.sun.tools.javac.code.ClassFinder.access$000(ClassFinder.java:72)
        at com.sun.tools.javac.code.ClassFinder$1.complete(ClassFinder.java:159)
        at com.sun.tools.javac.code.Symbol.complete(Symbol.java:579)
        at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:299)
        at 
com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:509)
        at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:255)
        at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:270)
        at com.sun.tools.javac.comp.Enter.complete(Enter.java:483)
        at com.sun.tools.javac.comp.Enter.main(Enter.java:467)
        at 
com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:952)
        at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:833)
        at com.sun.tools.javac.main.Main.compile(Main.java:253)
        at 
com.google.errorprone.BaseErrorProneCompiler.run(BaseErrorProneCompiler.java:214)
        at 
com.google.errorprone.BaseErrorProneCompiler.run(BaseErrorProneCompiler.java:106)
    [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) 
on project metron-parser-lancope: Compilation failure -> [Help 1]
    [ERROR] 


> Create a plugin system for Metron based on 'NAR'
> ------------------------------------------------
>
>                 Key: METRON-777
>                 URL: https://issues.apache.org/jira/browse/METRON-777
>             Project: Metron
>          Issue Type: New Feature
>            Reporter: Otto Fowler
>            Assignee: Otto Fowler
>
> The success of the Metron project will be greatly dependent on community 
> participation, and with that the ability to adapt and extend Metron without 
> having to maintain a fork of the project.
> As organizations and individuals look to extend the Metron system with custom 
> parsers, enrichments, and stellar functions that may be proprietary in 
> nature, the ability to develop and deploy these extensions outside the Metron 
> code base is critically important.
> To that end, and after community discussion and proposal we create or 
> formalize the 'plugin' development story in Metron.  
> The proposal is to adapt the Apache Nifi NAR system for use in Metron.  This 
> will provide the system with:
> * archetype(s) for developer projects and independent development
> * defined packaging and metadata for 'plugin' products
> * loading and instantiation with classloader isolation capabilities
> * removing the necessity for shading plugin jars
> These capabilities will also enable other features, such as plugin lifecycle, 
> plugin configuration+redeployment, and other things.
> The plugin archetypes and their installation will be a followon



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to