Member since
05-24-2016
37
Posts
8
Kudos Received
0
Solutions
11-17-2016
04:40 AM
@Matt Burgess @Arsalan Siddiqi
Now Logs are changed 2016-11-17 10:01:04,640 ERROR [StandardProcessScheduler Thread-3] o.a.n.controller.StandardProcessorNode Failed to invoke @OnScheduled method due to java.lang.RuntimeException: Failed while executing one of processor's OnScheduled task.
java.lang.RuntimeException: Failed while executing one of processor's OnScheduled task.
at org.apache.nifi.controller.StandardProcessorNode.invokeTaskAsCancelableFuture(StandardProcessorNode.java:1392) ~[na:na]
at org.apache.nifi.controller.StandardProcessorNode.access$100(StandardProcessorNode.java:90) ~[na:na]
at org.apache.nifi.controller.StandardProcessorNode$1.run(StandardProcessorNode.java:1230) ~[na:na]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_91]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_91]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_91]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.8.0_91]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_91]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_91]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_91]
Caused by: java.util.concurrent.ExecutionException: java.lang.reflect.InvocationTargetException
at java.util.concurrent.FutureTask.report(FutureTask.java:122) [na:1.8.0_91]
at java.util.concurrent.FutureTask.get(FutureTask.java:206) [na:1.8.0_91]
at org.apache.nifi.controller.StandardProcessorNode.invokeTaskAsCancelableFuture(StandardProcessorNode.java:1375) ~[na:na]
... 9 common frames omitted
Caused by: java.lang.reflect.InvocationTargetException: null
at sun.reflect.GeneratedMethodAccessor301.invoke(Unknown Source) ~[na:na]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_91]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_91]
at org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:137) ~[na:na]
at org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:125) ~[na:na]
at org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:70) ~[na:na]
at org.apache.nifi.controller.StandardProcessorNode$1$1.call(StandardProcessorNode.java:1234) ~[na:na]
at org.apache.nifi.controller.StandardProcessorNode$1$1.call(StandardProcessorNode.java:1230) ~[na:na]
... 6 common frames omitted
Caused by: java.lang.IllegalStateException: Cannot invoke method public abstract java.sql.Connection org.apache.nifi.dbcp.DBCPService.getConnection() throws org.apache.nifi.processor.exception.ProcessException on Controller Service with identifier 47e0b89a-2e72-46d5-956e-f3b2f2b32a3f because the Controller Service is disabled
at org.apache.nifi.controller.service.StandardControllerServiceProvider$1.invoke(StandardControllerServiceProvider.java:161) ~[na:na]
at com.sun.proxy.$Proxy91.getConnection(Unknown Source) ~[na:na]
at org.apache.nifi.processors.standard.QueryDatabaseTable.setup(QueryDatabaseTable.java:225) ~[na:na]
... 14 common frames omitted
... View more
11-16-2016
10:04 AM
Hi @Arsalan Siddiqi
My issue is normally windows directory path looks like E:\connectors\mysql-connector-java-5.1.23-bin.jar
in front need to start as file. For your suggestion i given path like file:///E:\connectors\mysql-connector-java-5.1.23-bin.jar but still not working Thanks Manikandan
... View more
11-16-2016
07:09 AM
Hi @Matt Burgess Thanks for your Replay. I tried to change as you said but still facing same error. This NiFi works under windows platform and is their any specific rule's to follow windows users please guide me Thanks Manikandan
... View more
11-15-2016
05:53 AM
Hi all, I'm using nifi 0.7 windows version and tried to connect mysql data base but it shows following error My DBCP settings is and logs says 2016-11-15 15:04:45,209 ERROR [StandardProcessScheduler Thread-8] o.a.n.c.s.StandardControllerServiceNode DBCPConnectionPool[id=47e0b89a-2e72-46d5-956e-f3b2f2b32a3f] Failed to invoke @OnEnabled method due to org.apache.nifi.reporting.InitializationException: Can't load Database Driver
2016-11-15 15:04:45,212 ERROR [StandardProcessScheduler Thread-8] o.a.n.c.s.StandardControllerServiceNode
org.apache.nifi.reporting.InitializationException: Can't load Database Driver
at org.apache.nifi.dbcp.DBCPConnectionPool.getDriverClassLoader(DBCPConnectionPool.java:199) ~[na:na]
at org.apache.nifi.dbcp.DBCPConnectionPool.onConfigured(DBCPConnectionPool.java:162) ~[na:na]
at sun.reflect.GeneratedMethodAccessor268.invoke(Unknown Source) ~[na:na]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_91]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_91]
at org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:137) ~[na:na]
at org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:125) ~[na:na]
at org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:70) ~[na:na]
at org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotation(ReflectionUtils.java:47) ~[na:na]
at org.apache.nifi.controller.service.StandardControllerServiceNode$1.run(StandardControllerServiceNode.java:308) ~[na:na]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_91]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_91]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_91]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.8.0_91]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_91]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_91]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_91]
Caused by: java.lang.ClassNotFoundException:
com.mysql.jdbc.Driver
at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[na:1.8.0_91]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_91]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_91]
at java.lang.Class.forName0(Native Method) ~[na:1.8.0_91]
at java.lang.Class.forName(Class.java:348) ~[na:1.8.0_91]
at org.apache.nifi.dbcp.DBCPConnectionPool.getDriverClassLoader(DBCPConnectionPool.java:188) ~[na:na]
... 16 common frames omitted
2016-11-15 15:04:45,213 ERROR [StandardProcessScheduler Thread-8] o.a.n.c.s.StandardControllerServiceNode Failed to invoke @OnEnabled method of DBCPConnectionPool[id=47e0b89a-2e72-46d5-956e-f3b2f2b32a3f] due to org.apache.nifi.reporting.InitializationException: Can't load Database Driver Thanks Manikandan
... View more
Labels:
- Labels:
-
Apache NiFi
09-02-2016
07:07 AM
how to set user in nifi 0.7,since in NiFi 0.7 UI we can able to see the user popup box but not the user add button
... View more
Labels:
- Labels:
-
Apache NiFi
09-02-2016
07:02 AM
Hi, how to set user in nifi 0.7,since in NiFi 0.7 UI we can able to see the user popup box but not the user add button
... View more
07-25-2016
11:03 AM
Thanks @Pierre Villard it works and i need another doubt on facebook data which already posted by @Iyappan Gopalakrishnan's post . i tried as u mentioned on the post but still not getting next pages please solve me out
... View more
07-25-2016
06:40 AM
I'm able to get twitter data in the Json file format but my problem is
In GetTwitter processor properties i give some id's based on #tags (converted #tags to id) as my needed but receives n number of files without relevant to id as i given In terms to filter, i gives some key words like good, bad and fabulous but not working please suggest me am i right Thanks in advance
... View more
Labels:
- Labels:
-
Apache NiFi
07-22-2016
10:44 AM
I need to save my NiFi flow into an XML file. We can import the xml file into template, but I also need to save NiFi flows as an XML file
... View more
Labels:
- Labels:
-
Apache NiFi
07-05-2016
10:28 AM
1 Kudo
Thanks @Pierre Villard I got some data but still having doubts I have created one app in facebook developer and using graph API explorer get my access token In my Gethttp, I use url as https://graph.facebook.com/v2.6/Starbucks&access_token=my_access_token i have to give at least a name of the file and i configure ssl (StandardSSLContextService) Finally i directly put into HDFS, after receive first file it shows error file already exist My problem is how can i received as multiple json files and my access token is expired in specific time is thr any options to extend dynamically....please show me with properties screen shot
Thank you...
... View more