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

________________________________________
Roke Manor Research Limited, Romsey, Hampshire, SO51 0ZN, United Kingdom.Part 
of the Chemring Group. 
Registered in England & Wales. Registered No: 00267550
http://www.roke.co.uk
_______________________________________
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.
________________________________________

Reply via email to