Re: Cannot connect to local host (ui not displaying) NiFi

2017-12-15 Thread Andy LoPresto
I believe this is because you are running on Java 9 and an “illegal reflective 
access” is occurring in RunNiFi. I would suggest using Java 8 to see if this 
resolves the issue entirely. If you must use Java 9, there are command-line 
arguments to pass to the JVM to allow this to occur [1].

[1] https://stackoverflow.com/a/46230678/70465


Andy LoPresto
alopre...@apache.org
alopresto.apa...@gmail.com
PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4  BACE 3C6E F65B 2F7D EF69

> On Dec 15, 2017, at 10:30 AM, serafin098  wrote:
> 
> Hello i am quite new to NiFi.
> I have downloaded NiFi from the websie (i am windows user), according to
> tutorial https://nifi.apache.org/docs/nifi-docs/html/getting-started.html.
> I can run run-nifi.bat, but i cannot connect to local host (i have tried
> changing the port and other things - but nothing seems to work).
> 
> Additionally run-nifi.bat sometimes is shutting down without any reason (i
> tried to run it by cmd, but the outcome is the same).
> 
> I would be glad if somebody would be able to help me.
> 
> Below are logs (additionally i have attached image of run-nifi.bat)
> 
> 
> 
> :
> 
> 
> 
> 2017-12-15 19:18:55,214 INFO [main] org.apache.nifi.NiFi Launching NiFi...
> 2017-12-15 19:18:55,355 INFO [main] o.a.nifi.properties.NiFiPropertiesLoader
> Determined default nifi.properties path to be
> 'D:\nifi-1.4.0\.\conf\nifi.properties'
> 2017-12-15 19:18:55,355 INFO [main] o.a.nifi.properties.NiFiPropertiesLoader
> Loaded 139 properties from D:\nifi-1.4.0\.\conf\nifi.properties
> 2017-12-15 19:18:55,370 INFO [main] org.apache.nifi.NiFi Loaded 139
> properties
> 2017-12-15 19:18:55,402 INFO [main] org.apache.nifi.BootstrapListener
> Started Bootstrap Listener, Listening for incoming requests on port 58010
> 2017-12-15 19:18:55,558 INFO [main] org.apache.nifi.BootstrapListener
> Successfully initiated communication with Bootstrap
> 2017-12-15 19:18:55,574 INFO [main] org.apache.nifi.nar.NarUnpacker
> Expanding 80 NAR files with all processors...
> 2017-12-15 19:19:18,259 INFO [main] org.apache.nifi.nar.NarUnpacker NAR
> loading process took 22692584959 nanoseconds (22 seconds).
> 2017-12-15 19:19:20,459 INFO [main] org.apache.nifi.nar.NarClassLoaders
> Loaded NAR file:
> D:\nifi-1.4.0\.\work\nar\extensions\nifi-jetty-bundle-1.4.0.nar-unpacked as
> class loader
> org.apache.nifi.nar.NarClassLoader[.\work\nar\extensions\nifi-jetty-bundle-1.4.0.nar-unpacked]
> 2017-12-15 19:19:20,475 INFO [main] org.apache.nifi.nar.NarClassLoaders
> Loaded NAR file:
> D:\nifi-1.4.0\.\work\nar\framework\nifi-framework-nar-1.4.0.nar-unpacked as
> class loader
> org.apache.nifi.nar.NarClassLoader[.\work\nar\framework\nifi-framework-nar-1.4.0.nar-unpacked]
> 2017-12-15 19:19:20,475 INFO [main] org.apache.nifi.nar.NarClassLoaders
> Loaded NAR file:
> D:\nifi-1.4.0\.\work\nar\extensions\nifi-ambari-nar-1.4.0.nar-unpacked as
> class loader
> org.apache.nifi.nar.NarClassLoader[.\work\nar\extensions\nifi-ambari-nar-1.4.0.nar-unpacked]
> 2017-12-15 19:19:20,475 INFO [main] org.apache.nifi.nar.NarClassLoaders
> Loaded NAR file:
> D:\nifi-1.4.0\.\work\nar\extensions\nifi-avro-nar-1.4.0.nar-unpacked as
> class loader
> org.apache.nifi.nar.NarClassLoader[.\work\nar\extensions\nifi-avro-nar-1.4.0.nar-unpacked]
> 2017-12-15 19:19:20,475 INFO [main] org.apache.nifi.nar.NarClassLoaders
> Loaded NAR file:
> D:\nifi-1.4.0\.\work\nar\extensions\nifi-ccda-nar-1.4.0.nar-unpacked as
> class loader
> org.apache.nifi.nar.NarClassLoader[.\work\nar\extensions\nifi-ccda-nar-1.4.0.nar-unpacked]
> 2017-12-15 19:19:20,475 INFO [main] org.apache.nifi.nar.NarClassLoaders
> Loaded NAR file:
> D:\nifi-1.4.0\.\work\nar\extensions\nifi-couchbase-nar-1.4.0.nar-unpacked as
> class loader
> org.apache.nifi.nar.NarClassLoader[.\work\nar\extensions\nifi-couchbase-nar-1.4.0.nar-unpacked]
> 2017-12-15 19:19:20,475 INFO [main] org.apache.nifi.nar.NarClassLoaders
> Loaded NAR file:
> D:\nifi-1.4.0\.\work\nar\extensions\nifi-cybersecurity-nar-1.4.0.nar-unpacked
> as class loader
> org.apache.nifi.nar.NarClassLoader[.\work\nar\extensions\nifi-cybersecurity-nar-1.4.0.nar-unpacked]
> 2017-12-15 19:19:20,475 INFO [main] org.apache.nifi.nar.NarClassLoaders
> Loaded NAR file:
> D:\nifi-1.4.0\.\work\nar\extensions\nifi-datadog-nar-1.4.0.nar-unpacked as
> class loader
> org.apache.nifi.nar.NarClassLoader[.\work\nar\extensions\nifi-datadog-nar-1.4.0.nar-unpacked]
> 2017-12-15 19:19:20,475 INFO [main] org.apache.nifi.nar.NarClassLoaders
> Loaded NAR file:
> D:\nifi-1.4.0\.\work\nar\extensions\nifi-enrich-nar-1.4.0.nar-unpacked as
> class loader
> org.apache.nifi.nar.NarClassLoader[.\work\nar\extensions\nifi-enrich-nar-1.4.0.nar-unpacked]
> 2017-12-15 19:19:20,491 INFO [main] org.apache.nifi.nar.NarClassLoaders
> Loaded NAR file:
> D:\nifi-1.4.0\.\work\nar\extensions\nifi-gcp-nar-1.4.0.nar-unpacked as class
> loader
> org.apache.nifi.nar.NarClassLoader[.\work\nar\extensions\nifi-gcp-nar

Cannot connect to local host (ui not displaying) NiFi

2017-12-15 Thread serafin098
Hello i am quite new to NiFi. 
I have downloaded NiFi from the websie (i am windows user), according to
tutorial https://nifi.apache.org/docs/nifi-docs/html/getting-started.html. 
I can run run-nifi.bat, but i cannot connect to local host (i have tried
changing the port and other things - but nothing seems to work). 

Additionally run-nifi.bat sometimes is shutting down without any reason (i
tried to run it by cmd, but the outcome is the same). 

I would be glad if somebody would be able to help me. 

Below are logs (additionally i have attached image of run-nifi.bat) 

 

: 



2017-12-15 19:18:55,214 INFO [main] org.apache.nifi.NiFi Launching NiFi... 
2017-12-15 19:18:55,355 INFO [main] o.a.nifi.properties.NiFiPropertiesLoader
Determined default nifi.properties path to be
'D:\nifi-1.4.0\.\conf\nifi.properties' 
2017-12-15 19:18:55,355 INFO [main] o.a.nifi.properties.NiFiPropertiesLoader
Loaded 139 properties from D:\nifi-1.4.0\.\conf\nifi.properties 
2017-12-15 19:18:55,370 INFO [main] org.apache.nifi.NiFi Loaded 139
properties 
2017-12-15 19:18:55,402 INFO [main] org.apache.nifi.BootstrapListener
Started Bootstrap Listener, Listening for incoming requests on port 58010 
2017-12-15 19:18:55,558 INFO [main] org.apache.nifi.BootstrapListener
Successfully initiated communication with Bootstrap 
2017-12-15 19:18:55,574 INFO [main] org.apache.nifi.nar.NarUnpacker
Expanding 80 NAR files with all processors... 
2017-12-15 19:19:18,259 INFO [main] org.apache.nifi.nar.NarUnpacker NAR
loading process took 22692584959 nanoseconds (22 seconds). 
2017-12-15 19:19:20,459 INFO [main] org.apache.nifi.nar.NarClassLoaders
Loaded NAR file:
D:\nifi-1.4.0\.\work\nar\extensions\nifi-jetty-bundle-1.4.0.nar-unpacked as
class loader
org.apache.nifi.nar.NarClassLoader[.\work\nar\extensions\nifi-jetty-bundle-1.4.0.nar-unpacked]
 
2017-12-15 19:19:20,475 INFO [main] org.apache.nifi.nar.NarClassLoaders
Loaded NAR file:
D:\nifi-1.4.0\.\work\nar\framework\nifi-framework-nar-1.4.0.nar-unpacked as
class loader
org.apache.nifi.nar.NarClassLoader[.\work\nar\framework\nifi-framework-nar-1.4.0.nar-unpacked]
 
2017-12-15 19:19:20,475 INFO [main] org.apache.nifi.nar.NarClassLoaders
Loaded NAR file:
D:\nifi-1.4.0\.\work\nar\extensions\nifi-ambari-nar-1.4.0.nar-unpacked as
class loader
org.apache.nifi.nar.NarClassLoader[.\work\nar\extensions\nifi-ambari-nar-1.4.0.nar-unpacked]
 
2017-12-15 19:19:20,475 INFO [main] org.apache.nifi.nar.NarClassLoaders
Loaded NAR file:
D:\nifi-1.4.0\.\work\nar\extensions\nifi-avro-nar-1.4.0.nar-unpacked as
class loader
org.apache.nifi.nar.NarClassLoader[.\work\nar\extensions\nifi-avro-nar-1.4.0.nar-unpacked]
 
2017-12-15 19:19:20,475 INFO [main] org.apache.nifi.nar.NarClassLoaders
Loaded NAR file:
D:\nifi-1.4.0\.\work\nar\extensions\nifi-ccda-nar-1.4.0.nar-unpacked as
class loader
org.apache.nifi.nar.NarClassLoader[.\work\nar\extensions\nifi-ccda-nar-1.4.0.nar-unpacked]
 
2017-12-15 19:19:20,475 INFO [main] org.apache.nifi.nar.NarClassLoaders
Loaded NAR file:
D:\nifi-1.4.0\.\work\nar\extensions\nifi-couchbase-nar-1.4.0.nar-unpacked as
class loader
org.apache.nifi.nar.NarClassLoader[.\work\nar\extensions\nifi-couchbase-nar-1.4.0.nar-unpacked]
 
2017-12-15 19:19:20,475 INFO [main] org.apache.nifi.nar.NarClassLoaders
Loaded NAR file:
D:\nifi-1.4.0\.\work\nar\extensions\nifi-cybersecurity-nar-1.4.0.nar-unpacked
as class loader
org.apache.nifi.nar.NarClassLoader[.\work\nar\extensions\nifi-cybersecurity-nar-1.4.0.nar-unpacked]
 
2017-12-15 19:19:20,475 INFO [main] org.apache.nifi.nar.NarClassLoaders
Loaded NAR file:
D:\nifi-1.4.0\.\work\nar\extensions\nifi-datadog-nar-1.4.0.nar-unpacked as
class loader
org.apache.nifi.nar.NarClassLoader[.\work\nar\extensions\nifi-datadog-nar-1.4.0.nar-unpacked]
 
2017-12-15 19:19:20,475 INFO [main] org.apache.nifi.nar.NarClassLoaders
Loaded NAR file:
D:\nifi-1.4.0\.\work\nar\extensions\nifi-enrich-nar-1.4.0.nar-unpacked as
class loader
org.apache.nifi.nar.NarClassLoader[.\work\nar\extensions\nifi-enrich-nar-1.4.0.nar-unpacked]
 
2017-12-15 19:19:20,491 INFO [main] org.apache.nifi.nar.NarClassLoaders
Loaded NAR file:
D:\nifi-1.4.0\.\work\nar\extensions\nifi-gcp-nar-1.4.0.nar-unpacked as class
loader
org.apache.nifi.nar.NarClassLoader[.\work\nar\extensions\nifi-gcp-nar-1.4.0.nar-unpacked]
 
2017-12-15 19:19:20,491 INFO [main] org.apache.nifi.nar.NarClassLoaders
Loaded NAR file:
D:\nifi-1.4.0\.\work\nar\extensions\nifi-hl7-nar-1.4.0.nar-unpacked as class
loader
org.apache.nifi.nar.NarClassLoader[.\work\nar\extensions\nifi-hl7-nar-1.4.0.nar-unpacked]
 
2017-12-15 19:19:20,491 INFO [main] org.apache.nifi.nar.NarClassLoaders
Loaded NAR file:
D:\nifi-1.4.0\.\work\nar\extensions\nifi-kafka-0-8-nar-1.4.0.nar-unpacked as
class loader
org.apache.nifi.nar.NarClassLoader[.\work\nar\extensions\nifi-kafka-0-8-nar-1.4.0.nar-unpacked]
 
2017-12-15 19:19:20,491 INFO [main] org.apache.nifi.nar.NarClassLoaders
Loaded NAR file:
D:\nifi-1

Cannot connect to local host (ui not displaying)

2017-12-15 Thread serafin098
Hello i am quite new to NiFi.
I have downloaded NiFi from the websie (i am windows user), according to
tutorial https://nifi.apache.org/docs/nifi-docs/html/getting-started.html. 
I can run run-nifi.bat, but i cannot connect to local host (i have tried
changing the port and other things - but nothing seems to work). 

Additionally run-nifi.bat sometimes is shutting down without any reason (i
tried to run it by cmd, but the outcome is the same). 

I would be glad if somebody would be able to help me.

Below are logs (additionally i have attached image of run-nifi.bat)
 :



2017-12-15 19:18:55,214 INFO [main] org.apache.nifi.NiFi Launching NiFi...
2017-12-15 19:18:55,355 INFO [main] o.a.nifi.properties.NiFiPropertiesLoader
Determined default nifi.properties path to be
'D:\nifi-1.4.0\.\conf\nifi.properties'
2017-12-15 19:18:55,355 INFO [main] o.a.nifi.properties.NiFiPropertiesLoader
Loaded 139 properties from D:\nifi-1.4.0\.\conf\nifi.properties
2017-12-15 19:18:55,370 INFO [main] org.apache.nifi.NiFi Loaded 139
properties
2017-12-15 19:18:55,402 INFO [main] org.apache.nifi.BootstrapListener
Started Bootstrap Listener, Listening for incoming requests on port 58010
2017-12-15 19:18:55,558 INFO [main] org.apache.nifi.BootstrapListener
Successfully initiated communication with Bootstrap
2017-12-15 19:18:55,574 INFO [main] org.apache.nifi.nar.NarUnpacker
Expanding 80 NAR files with all processors...
2017-12-15 19:19:18,259 INFO [main] org.apache.nifi.nar.NarUnpacker NAR
loading process took 22692584959 nanoseconds (22 seconds).
2017-12-15 19:19:20,459 INFO [main] org.apache.nifi.nar.NarClassLoaders
Loaded NAR file:
D:\nifi-1.4.0\.\work\nar\extensions\nifi-jetty-bundle-1.4.0.nar-unpacked as
class loader
org.apache.nifi.nar.NarClassLoader[.\work\nar\extensions\nifi-jetty-bundle-1.4.0.nar-unpacked]
2017-12-15 19:19:20,475 INFO [main] org.apache.nifi.nar.NarClassLoaders
Loaded NAR file:
D:\nifi-1.4.0\.\work\nar\framework\nifi-framework-nar-1.4.0.nar-unpacked as
class loader
org.apache.nifi.nar.NarClassLoader[.\work\nar\framework\nifi-framework-nar-1.4.0.nar-unpacked]
2017-12-15 19:19:20,475 INFO [main] org.apache.nifi.nar.NarClassLoaders
Loaded NAR file:
D:\nifi-1.4.0\.\work\nar\extensions\nifi-ambari-nar-1.4.0.nar-unpacked as
class loader
org.apache.nifi.nar.NarClassLoader[.\work\nar\extensions\nifi-ambari-nar-1.4.0.nar-unpacked]
2017-12-15 19:19:20,475 INFO [main] org.apache.nifi.nar.NarClassLoaders
Loaded NAR file:
D:\nifi-1.4.0\.\work\nar\extensions\nifi-avro-nar-1.4.0.nar-unpacked as
class loader
org.apache.nifi.nar.NarClassLoader[.\work\nar\extensions\nifi-avro-nar-1.4.0.nar-unpacked]
2017-12-15 19:19:20,475 INFO [main] org.apache.nifi.nar.NarClassLoaders
Loaded NAR file:
D:\nifi-1.4.0\.\work\nar\extensions\nifi-ccda-nar-1.4.0.nar-unpacked as
class loader
org.apache.nifi.nar.NarClassLoader[.\work\nar\extensions\nifi-ccda-nar-1.4.0.nar-unpacked]
2017-12-15 19:19:20,475 INFO [main] org.apache.nifi.nar.NarClassLoaders
Loaded NAR file:
D:\nifi-1.4.0\.\work\nar\extensions\nifi-couchbase-nar-1.4.0.nar-unpacked as
class loader
org.apache.nifi.nar.NarClassLoader[.\work\nar\extensions\nifi-couchbase-nar-1.4.0.nar-unpacked]
2017-12-15 19:19:20,475 INFO [main] org.apache.nifi.nar.NarClassLoaders
Loaded NAR file:
D:\nifi-1.4.0\.\work\nar\extensions\nifi-cybersecurity-nar-1.4.0.nar-unpacked
as class loader
org.apache.nifi.nar.NarClassLoader[.\work\nar\extensions\nifi-cybersecurity-nar-1.4.0.nar-unpacked]
2017-12-15 19:19:20,475 INFO [main] org.apache.nifi.nar.NarClassLoaders
Loaded NAR file:
D:\nifi-1.4.0\.\work\nar\extensions\nifi-datadog-nar-1.4.0.nar-unpacked as
class loader
org.apache.nifi.nar.NarClassLoader[.\work\nar\extensions\nifi-datadog-nar-1.4.0.nar-unpacked]
2017-12-15 19:19:20,475 INFO [main] org.apache.nifi.nar.NarClassLoaders
Loaded NAR file:
D:\nifi-1.4.0\.\work\nar\extensions\nifi-enrich-nar-1.4.0.nar-unpacked as
class loader
org.apache.nifi.nar.NarClassLoader[.\work\nar\extensions\nifi-enrich-nar-1.4.0.nar-unpacked]
2017-12-15 19:19:20,491 INFO [main] org.apache.nifi.nar.NarClassLoaders
Loaded NAR file:
D:\nifi-1.4.0\.\work\nar\extensions\nifi-gcp-nar-1.4.0.nar-unpacked as class
loader
org.apache.nifi.nar.NarClassLoader[.\work\nar\extensions\nifi-gcp-nar-1.4.0.nar-unpacked]
2017-12-15 19:19:20,491 INFO [main] org.apache.nifi.nar.NarClassLoaders
Loaded NAR file:
D:\nifi-1.4.0\.\work\nar\extensions\nifi-hl7-nar-1.4.0.nar-unpacked as class
loader
org.apache.nifi.nar.NarClassLoader[.\work\nar\extensions\nifi-hl7-nar-1.4.0.nar-unpacked]
2017-12-15 19:19:20,491 INFO [main] org.apache.nifi.nar.NarClassLoaders
Loaded NAR file:
D:\nifi-1.4.0\.\work\nar\extensions\nifi-kafka-0-8-nar-1.4.0.nar-unpacked as
class loader
org.apache.nifi.nar.NarClassLoader[.\work\nar\extensions\nifi-kafka-0-8-nar-1.4.0.nar-unpacked]
2017-12-15 19:19:20,491 INFO [main] org.apache.nifi.nar.NarClassLoaders
Loaded NAR file:
D:\nifi-1.4.0\.\work\nar\extensions\nifi-kerbero