You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by kirilzilla <ki...@me.com> on 2018/06/07 13:38:11 UTC

nifi not running (installation problem) - brew

Hi, im writing my bachelor thesis and would like to use apache nifi.
im using macOS 10.13.5 right now and installed nifi over brew packet manager
"brew install nifi".

i can't access the user interface, because nifi doesn't seem to start.
http://localhost:8080/nifi

if i run "nifi start"
this is the output:

nifi start

Java home: /Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home
NiFi home: /usr/local/Cellar/nifi/1.6.0/libexec

Bootstrap Config File:
/usr/local/Cellar/nifi/1.6.0/libexec/conf/bootstrap.conf

then, when running "nifi status"
nifi status

Java home: /Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home
NiFi home: /usr/local/Cellar/nifi/1.6.0/libexec

Bootstrap Config File:
/usr/local/Cellar/nifi/1.6.0/libexec/conf/bootstrap.conf

*2018-06-07 15:35:08,955 INFO [main] org.apache.nifi.bootstrap.Command
Apache NiFi is not responding to Ping requests. The process may have died or
may be hung*


my java versions:
java --version
java 10.0.1 2018-04-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)




--
Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/

Re: nifi not running (installation problem) - brew

Posted by Jeremy Dyer <jd...@gmail.com>.
To Kevin's point Java 10 or even 9 for that matter is not yet supported. If
you don't want to use mess with your existing environment setup we do offer
a docker image[1] that you can run if interested.

[1] - https://hub.docker.com/r/apache/nifi/

Thanks,
Jeremy Dyer

On Thu, Jun 7, 2018 at 9:41 AM, Kevin Doran <kd...@apache.org> wrote:

> The version of NiFi you are using (1.6.0) requires Java 8 (jre or jdk 1.8).
>
> Regards,
> Kevin
>
> On 6/7/18, 09:38, "kirilzilla" <ki...@me.com> wrote:
>
>     Hi, im writing my bachelor thesis and would like to use apache nifi.
>     im using macOS 10.13.5 right now and installed nifi over brew packet
> manager
>     "brew install nifi".
>
>     i can't access the user interface, because nifi doesn't seem to start.
>     http://localhost:8080/nifi
>
>     if i run "nifi start"
>     this is the output:
>
>     nifi start
>
>     Java home: /Library/Java/JavaVirtualMachines/jdk-10.0.
> 1.jdk/Contents/Home
>     NiFi home: /usr/local/Cellar/nifi/1.6.0/libexec
>
>     Bootstrap Config File:
>     /usr/local/Cellar/nifi/1.6.0/libexec/conf/bootstrap.conf
>
>     then, when running "nifi status"
>     nifi status
>
>     Java home: /Library/Java/JavaVirtualMachines/jdk-10.0.
> 1.jdk/Contents/Home
>     NiFi home: /usr/local/Cellar/nifi/1.6.0/libexec
>
>     Bootstrap Config File:
>     /usr/local/Cellar/nifi/1.6.0/libexec/conf/bootstrap.conf
>
>     *2018-06-07 15:35:08,955 INFO [main] org.apache.nifi.bootstrap.Command
>     Apache NiFi is not responding to Ping requests. The process may have
> died or
>     may be hung*
>
>
>     my java versions:
>     java --version
>     java 10.0.1 2018-04-17
>     Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)
>     Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)
>
>
>
>
>     --
>     Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/
>
>
>
>

Re: nifi not running (installation problem) - brew

Posted by Kevin Doran <kd...@apache.org>.
The version of NiFi you are using (1.6.0) requires Java 8 (jre or jdk 1.8).

Regards,
Kevin

On 6/7/18, 09:38, "kirilzilla" <ki...@me.com> wrote:

    Hi, im writing my bachelor thesis and would like to use apache nifi.
    im using macOS 10.13.5 right now and installed nifi over brew packet manager
    "brew install nifi".
    
    i can't access the user interface, because nifi doesn't seem to start.
    http://localhost:8080/nifi
    
    if i run "nifi start"
    this is the output:
    
    nifi start
    
    Java home: /Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home
    NiFi home: /usr/local/Cellar/nifi/1.6.0/libexec
    
    Bootstrap Config File:
    /usr/local/Cellar/nifi/1.6.0/libexec/conf/bootstrap.conf
    
    then, when running "nifi status"
    nifi status
    
    Java home: /Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home
    NiFi home: /usr/local/Cellar/nifi/1.6.0/libexec
    
    Bootstrap Config File:
    /usr/local/Cellar/nifi/1.6.0/libexec/conf/bootstrap.conf
    
    *2018-06-07 15:35:08,955 INFO [main] org.apache.nifi.bootstrap.Command
    Apache NiFi is not responding to Ping requests. The process may have died or
    may be hung*
    
    
    my java versions:
    java --version
    java 10.0.1 2018-04-17
    Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)
    Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)
    
    
    
    
    --
    Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/
    



Re: nifi not running (installation problem) - brew

Posted by Aldrin Piri <al...@gmail.com>.
Hello,

I suspect the issue is your Java version.  We are in the process of
providing support for those beyond 8.

In the interim, you can get it working via the following:

brew tap caskroom/versions
> brew update (if it doesn't do it automatically)
> brew cask install java8


I'll look to see how the formula can be adjusted until we are indeed good
for 1.8+.

--aldrin

On Thu, Jun 7, 2018 at 9:38 AM, kirilzilla <ki...@me.com> wrote:

> Hi, im writing my bachelor thesis and would like to use apache nifi.
> im using macOS 10.13.5 right now and installed nifi over brew packet
> manager
> "brew install nifi".
>
> i can't access the user interface, because nifi doesn't seem to start.
> http://localhost:8080/nifi
>
> if i run "nifi start"
> this is the output:
>
> nifi start
>
> Java home: /Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home
> NiFi home: /usr/local/Cellar/nifi/1.6.0/libexec
>
> Bootstrap Config File:
> /usr/local/Cellar/nifi/1.6.0/libexec/conf/bootstrap.conf
>
> then, when running "nifi status"
> nifi status
>
> Java home: /Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home
> NiFi home: /usr/local/Cellar/nifi/1.6.0/libexec
>
> Bootstrap Config File:
> /usr/local/Cellar/nifi/1.6.0/libexec/conf/bootstrap.conf
>
> *2018-06-07 15:35:08,955 INFO [main] org.apache.nifi.bootstrap.Command
> Apache NiFi is not responding to Ping requests. The process may have died
> or
> may be hung*
>
>
> my java versions:
> java --version
> java 10.0.1 2018-04-17
> Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)
> Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)
>
>
>
>
> --
> Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/
>