Uploaded image for project: 'Metron'
  1. Metron
  2. METRON-1953

Stellar REPL Fails on Start

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 0.7.1
    • Labels:
      None

      Description

      [vagrant@node1 ~]$ cd /usr/metron/0.7.0/bin/
      [vagrant@node1 bin]$ ./stellar
      SLF4J: Class path contains multiple SLF4J bindings.
      SLF4J: Found binding in [jar:file:/usr/metron/0.7.0/lib/metron-profiler-repl-0.7.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: Found binding in [jar:file:/usr/hdp/2.6.5.0-292/hadoop/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
      SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
      Exception in thread "main" java.lang.NoClassDefFoundError: oi/thekraken/grok/api/exception/GrokException
      	at java.lang.Class.getDeclaredConstructors0(Native Method)
      	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
      	at java.lang.Class.getConstructor0(Class.java:3075)
      	at java.lang.Class.getConstructor(Class.java:1825)
      	at org.apache.metron.stellar.dsl.functions.resolver.BaseFunctionResolver.createFunction(BaseFunctionResolver.java:238)
      	at org.apache.metron.stellar.dsl.functions.resolver.BaseFunctionResolver.resolveFunction(BaseFunctionResolver.java:192)
      	at org.apache.metron.stellar.dsl.functions.resolver.BaseFunctionResolver.resolveFunctions(BaseFunctionResolver.java:164)
      	at org.apache.metron.guava.base.Suppliers$MemoizingSupplier.get(Suppliers.java:125)
      	at org.apache.metron.stellar.dsl.functions.resolver.BaseFunctionResolver.getFunctionInfo(BaseFunctionResolver.java:84)
      	at org.apache.metron.stellar.common.shell.DefaultStellarShellExecutor.init(DefaultStellarShellExecutor.java:177)
      	at org.apache.metron.stellar.common.shell.cli.StellarShell.createExecutor(StellarShell.java:268)
      	at org.apache.metron.stellar.common.shell.cli.StellarShell.<init>(StellarShell.java:154)
      	at org.apache.metron.stellar.common.shell.cli.StellarShell.main(StellarShell.java:115)
      Caused by: java.lang.ClassNotFoundException: oi.thekraken.grok.api.exception.GrokException
      	at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      	... 13 more

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nickwallen Nick Allen
                Reporter:
                nickwallen Nick Allen
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2.5h
                  2.5h