How to use native mode of python evaluator plugin

191 views
Skip to first unread message

Doisy Dias

unread,
May 19, 2022, 12:16:32 AM5/19/22
to CDAP User
Hi there,

while using native mode of python evaluator plugin in cloud data fusion I'm facing this issue  "java.nio.file.NoSuchFileException: file:/data/preview/tmp/1652858491499-0/1652858496078-0/%20artifact4144227239106804513.jar!/pythonEvaluator.py" can you please help me with the same.

Regards,
Doisy Dias

Prashant Jaikumar

unread,
May 23, 2022, 6:36:14 PM5/23/22
to cdap...@googlegroups.com
Looks like this is a known issue. It's tracked by https://cdap.atlassian.net/browse/PLUGIN-946.

--
You received this message because you are subscribed to the Google Groups "CDAP User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cdap-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cdap-user/afabd16c-1041-477c-8c3a-82e96acf45cdn%40googlegroups.com.

viann bono

unread,
May 4, 2023, 8:42:07 PM5/4/23
to CDAP User
A year later, that known issue hasn't had any traction.
Is there another language plugin that is better supported and can be run in CDF with the default cluster?

As it is, i need to do some JSON manipulation but the 'Interpreted' mode of the Python Transform plugin doesn't have that fundamental package. Since CDF doesn't support the JSON type for BigQuery sources and sinks, my options are already limited.


File "<script>", line 1, in <module> ImportError: No module named json

Baptiste Benet

unread,
May 5, 2023, 12:42:35 AM5/5/23
to cdap...@googlegroups.com
Hi Vianney,

Have you tried the Javascript transform plugin? It can be really useful with JSON.

Best,
Baptiste Benet

Le jeu. 4 mai 2023 à 17:42, viann bono <vianney...@gmail.com> a écrit :
A year later, that known issue hasn't had any traction. Is there another language plugin that is better supported and can be run in CDF with the default cluster? As it is, i need to do some JSON manipulation but the 'Interpreted' mode of the
ZjQcmQRYFpfptBannerStart
This Message Is From an Untrusted Sender
You have not previously corresponded with this sender.
 
ZjQcmQRYFpfptBannerEnd

viann bono

unread,
May 5, 2023, 1:30:18 AM5/5/23
to CDAP User
Heh as it happens, i've been spending the last few hours converting my code from Python to JS to test just that! In the hopes that JSON support is inherent there.
On croise les doigts :)

Merci!
Vianney
Reply all
Reply to author
Forward
0 new messages