[ 
https://issues.apache.org/jira/browse/NIFI-914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Payne updated NIFI-914:
----------------------------
    Attachment: 0001-NIFI-914-If-no-krb5-file-set-in-nifi-properties-trea.patch

> NiFi fails to startup when upgrading to newest 0.3.0-SNAPSHOT
> -------------------------------------------------------------
>
>                 Key: NIFI-914
>                 URL: https://issues.apache.org/jira/browse/NIFI-914
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 0.3.0
>            Reporter: Mark Payne
>            Priority: Critical
>              Labels: beginner, newbie
>             Fix For: 0.3.0
>
>         Attachments: 
> 0001-NIFI-914-If-no-krb5-file-set-in-nifi-properties-trea.patch
>
>
> I built a new version of NiFi from the master branch and copied the files 
> from my conf/ directory from my old instance of NiFi to the new instance. 
> When I tried to start up, I got the following stack trace:
> 2015-08-31 12:14:12,662 ERROR [main] org.apache.nifi.NiFi Failure to launch 
> NiFi due to java.util.ServiceConfigurationError: 
> org.apache.nifi.processor.Processor: Provider 
> org.apache.nifi.processors.hadoop.CreateHadoopSequenceFile could not be 
> instantiated
> java.util.ServiceConfigurationError: org.apache.nifi.processor.Processor: 
> Provider org.apache.nifi.processors.hadoop.CreateHadoopSequenceFile could not 
> be instantiated
>         at java.util.ServiceLoader.fail(ServiceLoader.java:232) ~[na:1.8.0_45]
>         at java.util.ServiceLoader.access$100(ServiceLoader.java:185) 
> ~[na:1.8.0_45]
>         at 
> java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384) 
> ~[na:1.8.0_45]
>         at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404) 
> ~[na:1.8.0_45]
>         at java.util.ServiceLoader$1.next(ServiceLoader.java:480) 
> ~[na:1.8.0_45]
>         at 
> org.apache.nifi.nar.ExtensionManager.loadExtensions(ExtensionManager.java:109)
>  ~[nifi-nar-utils-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
>         at 
> org.apache.nifi.nar.ExtensionManager.discoverExtensions(ExtensionManager.java:90)
>  ~[nifi-nar-utils-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
>         at org.apache.nifi.NiFi.<init>(NiFi.java:120) 
> ~[nifi-runtime-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
>         at org.apache.nifi.NiFi.main(NiFi.java:227) 
> ~[nifi-runtime-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
> Caused by: java.lang.ExceptionInInitializerError: null
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
> Method) ~[na:1.8.0_45]
>         at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>  ~[na:1.8.0_45]
>         at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>  ~[na:1.8.0_45]
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:422) 
> ~[na:1.8.0_45]
>         at java.lang.Class.newInstance(Class.java:442) ~[na:1.8.0_45]
>         at 
> java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380) 
> ~[na:1.8.0_45]
>         ... 6 common frames omitted
> Caused by: java.lang.NullPointerException: null
>         at 
> org.apache.nifi.util.NiFiProperties.getKerberosConfigurationFile(NiFiProperties.java:806)
>  ~[nifi-properties-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
>         at 
> org.apache.nifi.processors.hadoop.AbstractHadoopProcessor.<clinit>(AbstractHadoopProcessor.java:124)
>  ~[nifi-hdfs-processors-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
>         ... 12 common frames omitted
> NiFiProperties is assuming that the kerberos configuration file is specified 
> in the properties file but a common practice is to copy over the old conf/ 
> directory from a previous installation. In this case, NiFiProperties should 
> return null for the configuration file if the property is not present.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to