You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by sally <sa...@gmail.com> on 2017/08/10 18:30:04 UTC

Using GregorianCalendar in apache nifi

Is it  possible to import  java.util.GregorianCallendar in groovy script(in
executescript processor)?and  if it isn't possible  what should i use
instead of it?



--
View this message in context: http://apache-nifi-developer-list.39713.n7.nabble.com/Using-GregorianCalendar-in-apache-nifi-tp16629.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.

Re: Using GregorianCalendar in apache nifi

Posted by Sandish Kumar HN <sa...@gmail.com>.
Can you please path the error?

On 11 August 2017 at 12:07, sally <sa...@gmail.com> wrote:

> Is  it possible to download apache-nifi open source project from  github
> and
> then add "import java.util.GregorianCallendar" inside ExecuteScript.java
> code and then deploy project  I  have tried it  but it throws errors what
> should i do?
>
>
>
> --
> View this message in context: http://apache-nifi-developer-
> list.39713.n7.nabble.com/Using-GregorianCalendar-in-
> apache-nifi-tp16629p16633.html
> Sent from the Apache NiFi Developer List mailing list archive at
> Nabble.com.
>



-- 

Thanks,
Regards,
SandishKumar HN

Re: Using GregorianCalendar in apache nifi

Posted by Andrew Psaltis <ps...@gmail.com>.
Hi,
I'm not 100% sure I understand what your trying to accomplish.  However, if
you are wanting to use the Gregorian package from a script that is executed
with the executescript processor then please take a look at the
ExecuteScript cookbook, specifically part 3 [1].

Thanks,
Andrew

[1]
https://community.hortonworks.com/articles/77739/executescript-cookbook-part-3.html

On Fri, Aug 11, 2017 at 14:48 sally <sa...@gmail.com> wrote:

> Is  it possible to download apache-nifi open source project from  github
> and
> then add "import java.util.GregorianCallendar" inside ExecuteScript.java
> code and then deploy project  I  have tried it  but it throws errors what
> should i do?
>
>
>
> --
> View this message in context:
> http://apache-nifi-developer-list.39713.n7.nabble.com/Using-GregorianCalendar-in-apache-nifi-tp16629p16633.html
> Sent from the Apache NiFi Developer List mailing list archive at
> Nabble.com.
>
-- 
Thanks,
Andrew

Subscribe to my book: Streaming Data <http://manning.com/psaltis>
<https://www.linkedin.com/pub/andrew-psaltis/1/17b/306>
twiiter: @itmdata <http://twitter.com/intent/user?screen_name=itmdata>

Re: Using GregorianCalendar in apache nifi

Posted by sally <sa...@gmail.com>.
Is  it possible to download apache-nifi open source project from  github and
then add "import java.util.GregorianCallendar" inside ExecuteScript.java
code and then deploy project  I  have tried it  but it throws errors what
should i do?



--
View this message in context: http://apache-nifi-developer-list.39713.n7.nabble.com/Using-GregorianCalendar-in-apache-nifi-tp16629p16633.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.