Another Word For It Patrick Durusau on Topic Maps and Semantic Diversity

June 14, 2012

Ontopia 5.2.1 and HBase [Port 8080 Conflicts]

Filed under: HBase,Ontopia — Patrick Durusau @ 12:58 pm

I have HBase 0.92-1 and Ontopia 5.2.1 installed on the same Ubuntu box. (An obvious “gotcha” and its correction follows.)

The Catalina server will not start with the following error message in {$basedir}/apache-tomcat/logs/catalina.(date).log:

SEVERE: Error initializing endpoint
java.net.BindException: Address already in use <null>:8080

To discover what is using port 8080, use:

sudo lsof -i :8080

Result (partial):

COMMAND PID USER
java 5314 hbase

You can either reset the port on HBase or open up {$basedir}/apache-tomcat/conf/server.xml and change:

<Connector port=”8080″ protocol=”HTTP/1.1″

to:

<!– Redefined port to avoid conflict with hbase
–>
<Connector port=”8090″ protocol=”HTTP/1.1″

The comment about avoiding conflict with HBase isn’t necessary but good practice.

(Cloudera has a note about the 8080 issue in its HBase Installation documentation.)

3 Comments

  1. I think it might even be possible to merge the two. HBase is running on a jetty server and Ontopia on Tomcat. It might take some patching here and there, but should be doable.

    Ofcourse you could just use the ontopia libraries and contruct your own webapp’s within the HBase container.

    Comment by quixsilver — June 14, 2012 @ 3:56 pm

  2. Good point!

    Another hack solution would be to create another user to run Ontopia.

    HBase is moving rapidly enough that I suspect I would prefer the HBase libraries. Just to avoid odd and/or obscure errors.

    Comment by Patrick Durusau — June 14, 2012 @ 6:22 pm

  3. […] remember the HBase 8080 conflict issue, so from the Scalatron […]

    Pingback by Scalatron « Another Word For It — July 11, 2012 @ 2:25 pm

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress