We are using Streams ver 1.2 on Linux 64 bit servers and have a cluster of 20 servers.
Out of those 20 servers, we are unable to compile the application on 10 servers and getting error as below. Actually only these 10 servers went to some AIX Security Patch and since then we are getting the error.
Preprocessing file 'main.dmm'...
Preprocessing file 'main.dps'...
Creating operator graph partitioning ...
Creating application model ...
Generating node pools...
ERROR: Cannot obtain a real hostname other than 'localhost' host for host 'localhost'
While the same application gets compile on the other set of 10 servers correctly.
Please help us out in this issue and let me know if some other information is needed from my end.
Thanks And Regards
This topic has been locked.
Pinned topic Infosphere Streams ver 1.2 : Unable to compile the application
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
mendell 120000KPGC219 Posts
Re: Infosphere Streams ver 1.2 : Unable to compile the application2012-09-25T11:18:14ZThis is the accepted answer. This is the accepted answer.You have a problem with the hostname resolution on those machines. The SPADE compiler gets the hostname using the gethostname() system call, and then resolves that name to an IP address, and then tries mapping the IP address back to a hostname (other than localhost).
You have a problem with /etc/hosts, or more likely, the DNS (Domain Name System) name and IP address resolution.
Use ping `hostname` to figure out your IP address, and then use dig -x addr to map back to the same hostname as you started with.
Somewhere in there, you should be able to figure out where the problem lies
hnasgaard 27000064QT200 Posts
Re: Infosphere Streams ver 1.2 : Unable to compile the application2012-09-25T11:22:16ZThis is the accepted answer. This is the accepted answer.It sounds like those nodes may have a network config problem. Have a look in the install/admin guide, chapter 2, section Verify local hostname to IP requirements. Perhaps you could post the output from /sbin/ifconfig. Here's a link to the guide although it should be in your install: http://publib.boulder.ibm.com/infocenter/streams/v1r2/topic/com.ibm.swg.im.infosphere.streams.product.doc/doc/IBMInfoSphereStreams-InstAdmin.pdf
Are these linux servers VMs on an AIX machine?