Created 07-15-2019 01:21 PM
I am trying to create a custom function in Stellar by following this guide. However, when I get following error when I call the function:
[Stellar]>>> ?NOW [!] No docs available for function 'NOW' java.lang.IllegalArgumentException: No docs available for function 'NOW' at org.apache.metron.stellar.common.shell.StellarResult.error(StellarResult.java:115) at org.apache.metron.stellar.common.shell.specials.DocCommand.execute(DocCommand.java:71) at org.apache.metron.stellar.common.shell.DefaultStellarShellExecutor.execute(DefaultStellarShellExecutor.java:252) at org.apache.metron.stellar.common.shell.cli.StellarShell.execute(StellarShell.java:359) at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:53) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
From the error messeage, it seems like it can't find the jar file I just created. I made sure that jar exists (in hdfs /apps/metron/stellar), the global.json ($METRON_HOME/config/zookeeper/global.json) is updated to point to this jar file and the finally the the config is pushed to zookeeper with $METRON_HOME/bin/zk_load_configs.sh. What could I be missing here? Please help.
Created 08-12-2019 02:45 PM
Created 08-12-2019 02:47 PM
Hey @Otto Fowler Can you please help here ?. I ping you directly because you pushed the sample code 🙂 (https://github.com/apache/metron/blob/master/metron-stellar/stellar-3rd-party-example/src/main/java/... )
Thanks in advance 🙂
Created 08-13-2019 02:27 PM
Hi @Michael Hidalgo , actually, I pushed the last commit to that file ( cleaning up errors in builds ). Casey Stella is actually the person who is the SME with that code, he wrote the doc.
I would suggest sending an email to the firstname.lastname@example.org list. You can subscribe by sending a mail to email@example.com. More people will see the question there.
I assume you are running the stellar shell on a cluster machine, and logged in as an account that has rights to that HDFS location right? check that, but let's move that to the mailing list.
Created 08-13-2019 04:21 PM
Hey @Otto Fowler, thanks for getting back. Sure, I will send the question to that group, it could just be a newbie thing, but I was not able to find a log that could point to the right direction, but surely I will send the question.
Created 02-20-2020 10:33 AM
I'm having similar issues. Were you able to proceed the right way ?