Yes, it is a classpath issue.  I might be able to help, if you can provide
the following details.

(1) Please send the complete stack trace that you are seeing, rather than
just an excerpt.
(2) How did you setup your Stellar Interpreter in Zeppelin?



On Tue, Feb 5, 2019 at 11:42 AM Landricombe, Tobin <
[email protected]> wrote:

> Hi,
>
> Using Stellar on Metron 0.7.0.0 on HDP 2.6.5.0 on Ambari 2.6.2.0 on CentOS
> 7, when running...
>
> REST_GET('http://test.localdomain/test.json')
>
> ...on the REPL, I get...
>
> {blah.blah=my_data)
>
> ...as expected.
>
>
> When running the same test on Zeppelin...
>
> %stellar
> REST_GET('http://test.localdomain/test.json')
>
> ...I get:
>
> NoSuchFieldError: INSTANCE
> org.apache.metron.stellar.dsl.ParseException: Unable to parse: REST_GET('
> http://test.localdomain/test.json') due to: Unable to Initialize function
> 'REST_GET'
> ...
> Caused by: org.apache.metron.stellar.dsl.ParseException: Unable to
> Initialize function 'REST_GET'
> ...
> Caused by: java.lang.NoSuchFieldError: INSTANCE
> at
> org.apache.http.impl.io.DefaultHttpRequestWriteFactory.<nit>(DefaultHttpRequestWriterFactory.java:52)
> ...
>
>
> I assumed this to be a CLASSPATH issue, but..
>
> %sh
> echo $CLASSPATH
>
> ...shows /usr/hdp/current/zeppelin-server/lib/interpreter which I'm
> assuming is correct.
>
>
> Shouldn't the Zeppelin Stellar interpreter be pulling in the same code as
> the REPL?
>
> Where could this difference come from?
>
> Does anyone have a better solution to the above error than "it's a
> CLASSPATH" issue which is all I've managed to get from google?
>
> Thanks,
> Tobin
>
>
> Follow Us: LinkedIn <http://www.linkedin.com/company/roke-manor-research>
> | Twitter <https://twitter.com/rokemanor> | Facebook
> <https://www.facebook.com/rokemanor>
>
> Roke Manor Research Limited, Romsey, Hampshire, SO51 0ZN, United Kingdom.
> Part of the Chemring Group. Registered in England & Wales. Registered No:
> 00267550. The information contained in this e-mail and any attachments is
> proprietary to Roke Manor Research Limited and must not be passed to any
> third party without permission. This communication is for information only
> and shall not create or change any contractual relationship.
> www.roke.co.uk
> <http://www.roke.co.uk/?utm_source=Roke&utm_medium=Email&utm_content=Company%20Signature&utm_campaign=Roke>
> ------------------------------
>

Reply via email to