Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

InvokeHTTP error: Could not initialize class org.joda.time.chrono.ISOChronology

Highlighted

InvokeHTTP error: Could not initialize class org.joda.time.chrono.ISOChronology

New Contributor

Seems as joda-time.jar is missing... Any idea what the proper location for it?

2019-04-30 12:09:40,560 WARN [Timer-Driven Process Thread-10] o.a.n.c.t.ContinuallyRunProcessorTask Administratively Yielding InvokeHTTP[id=e2b1d4b5-f6b2-3f33-3eef-a9fcdfd6c3c8] due to uncaught Exception: java.lang.NoClassDefFoundError: Could not initialize class org.joda.time.chrono.ISOChronology

2019-04-30 12:09:40,560 WARN [Timer-Driven Process Thread-5] o.a.n.c.t.ContinuallyRunProcessorTask

java.lang.NoClassDefFoundError: Could not initialize class org.joda.time.chrono.ISOChronology

at org.joda.time.DateTimeUtils.getChronology(DateTimeUtils.java:266)

at org.joda.time.format.DateTimeFormatter.selectChronology(DateTimeFormatter.java:968)

at org.joda.time.format.DateTimeFormatter.printTo(DateTimeFormatter.java:672)

at org.joda.time.format.DateTimeFormatter.printTo(DateTimeFormatter.java:560)

at org.joda.time.format.DateTimeFormatter.print(DateTimeFormatter.java:644)

at org.apache.nifi.processors.standard.InvokeHTTP.setHeaderProperties(InvokeHTTP.java:938)

at org.apache.nifi.processors.standard.InvokeHTTP.configureRequest(InvokeHTTP.java:905)

at org.apache.nifi.processors.standard.InvokeHTTP.onTrigger(InvokeHTTP.java:698)

at org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27)

at org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1122)

at org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:147)

at org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:47)

at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:128)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at java.lang.Thread.run(Thread.java:748)

1 REPLY 1

Re: InvokeHTTP error: Could not initialize class org.joda.time.chrono.ISOChronology

New Contributor

You can try in in location '/usr/hdp/current/hive-client/libjoda-time-XXX.jar"

-Shashi