Hi Ravi,

You may want to consider a Docker-based deployment either to a VM running 
Docker or to Azure Container Service. You can use the image I published on 
docker hub (clca/nifi, but won’t be maintained so good only to get you started) 
or happy to share the Dockerfile to build the image, it is super-simple.

Claudio

From: Ravisankar Mani <[email protected]>
Reply-To: "[email protected]" <[email protected]>
Date: Tuesday, May 31, 2016 at 6:59 AM
To: "[email protected]" <[email protected]>
Subject: NiFi deployed in azure as service

Hi All,
I have tried to host the NiFi deployed in azure as service
In this analysis I able to test following two ways

#1.Virtual machine creation

In this case , I created a new virtual machine using azure portal and configure 
the NiFi and I am able to connect the NiFi web app from my local machine


#2. Java web app creation

In this case, some following procedures is needed to host the application
1.       Create a new web app in azure
2.       Create a FTP Host
3.       Move the required files to server using “filezilla” application
4.       Create a web job for running NIFI

I have to create a web app using below procedures. But some initial 
problem(socket exception (following Exception logs)) occurred while starting  
NiFi through web job

Please share the information to resolve the problem from your side

Exception logs:

[05/31/2016 12:46:43 > 22d821: ERR ] Exception in thread "main" 
java.net.SocketException: Address family not supported by protocol family: 
JVM_Bind
[05/31/2016 12:46:43 > 22d821: ERR ]     at 
java.net.DualStackPlainSocketImpl.bind0(Native Method)
[05/31/2016 12:46:43 > 22d821: ERR ]     at 
java.net.DualStackPlainSocketImpl.socketBind(DualStackPlainSocketImpl.java:106)
[05/31/2016 12:46:43 > 22d821: INFO]
[05/31/2016 12:46:43 > 22d821: ERR ]     at 
java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)
[05/31/2016 12:46:43 > 22d821: INFO] 
d:\home\site\wwwroot\root\ETL\1.1.0.9\SDK\NIFI>popd
[05/31/2016 12:46:43 > 22d821: ERR ]     at 
java.net.PlainSocketImpl.bind(PlainSocketImpl.java:190)
[05/31/2016 12:46:43 > 22d821: ERR ]     at 
java.net.ServerSocket.bind(ServerSocket.java:376)
[05/31/2016 12:46:43 > 22d821: ERR ]     at 
java.net.ServerSocket.bind(ServerSocket.java:330)
[05/31/2016 12:46:43 > 22d821: ERR ]     at 
org.apache.nifi.bootstrap.NiFiListener.start(NiFiListener.java:38)
[05/31/2016 12:46:43 > 22d821: ERR ]     at 
org.apache.nifi.bootstrap.RunNiFi.start(RunNiFi.java:948)
[05/31/2016 12:46:43 > 22d821: ERR ]     at 
org.apache.nifi.bootstrap.RunNiFi.main(RunNiFi.java:206)
[05/31/2016 12:46:43 > 22d821: SYS INFO] Status changed to Failed
[05/31/2016 12:46:43 > 22d821: SYS ERR ] Job failed due to exit code 1

Regards,
Ravi

Reply via email to