[
https://issues.apache.org/jira/browse/NIFI-4442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joe Witt resolved NIFI-4442.
----------------------------
Resolution: Cannot Reproduce
> Failure to launch NiFi
> ----------------------
>
> Key: NIFI-4442
> URL: https://issues.apache.org/jira/browse/NIFI-4442
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 1.3.0
> Environment: CentOS Linux release 7.4.1708
> Reporter: Pierre HENRY
> Priority: Major
>
> Nifi refuse to start, I have the following ERROR in nifi-app.log
> ERROR [main] org.apache.nifi.NiFi Failure to launch NiFi due to
> java.util.ServiceConfigurationError:
> org.apache.nifi.controller.ControllerService: Provider
> org.apache.nifi.lookup.SimpleCsvFileLookupService could not be instantiated
> java.util.ServiceConfigurationError:
> org.apache.nifi.controller.ControllerService: Provider
> org.apache.nifi.lookup.SimpleCsvFileLookupService could not be instantiated
> at java.util.ServiceLoader.fail(ServiceLoader.java:232)
> at java.util.ServiceLoader.access$100(ServiceLoader.java:185)
> at
> java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384)
> at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
> at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
> at
> org.apache.nifi.nar.ExtensionManager.loadExtensions(ExtensionManager.java:138)
> at
> org.apache.nifi.nar.ExtensionManager.discoverExtensions(ExtensionManager.java:113)
> at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:699)
> at org.apache.nifi.NiFi.<init>(NiFi.java:160)
> at org.apache.nifi.NiFi.main(NiFi.java:267)
> Caused by: java.lang.NoSuchFieldError: INFORMIX_UNLOAD
> at
> org.apache.commons.csv.CSVFormat$Predefined.<clinit>(CSVFormat.java:174)
> at
> org.apache.nifi.lookup.SimpleCsvFileLookupService.<clinit>(SimpleCsvFileLookupService.java:76)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> at java.lang.Class.newInstance(Class.java:442)
> at
> java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380)
> ... 7 common frames omitted
> My bet is this is due to automatic updates on the system, especially openjdk
> :
> rpm -qa|grep jdk
> java-1.8.0-openjdk-devel-1.8.0.144-0.b01.el7_4.x86_64
> java-1.8.0-openjdk-1.8.0.144-0.b01.el7_4.x86_64
> copy-jdk-configs-2.2-3.el7.noarch
> java-1.8.0-openjdk-headless-1.8.0.144-0.b01.el7_4.x86_64
--
This message was sent by Atlassian Jira
(v8.20.10#820010)