1. Coopr
  2. COOPR-662

Coopr Server with a blank coopr-site.xml doesn't function


    • Type: Bug Bug
    • Status: Open Open
    • Priority: Blocker Blocker
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 0.9.10 Code Name: Mensa
    • Component/s: server
    • Labels:
    • Rank:


      Here's the configuration:

      # cat /etc/coopr/conf/coopr-site.xml
      <?xml version="1.0"?>
      <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
       Copyright © 2012-2014 Cask Data, Inc.
       Licensed under the Apache License, Version 2.0 (the "License");
       you may not use this file except in compliance with the License.
       You may obtain a copy of the License at
       Unless required by applicable law or agreed to in writing, software
       distributed under the License is distributed on an "AS IS" BASIS,
       WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
       See the License for the specific language governing permissions and
       limitations under the License.
          Your site level configuration goes here

      Here's the error from the logs...

      2014-12-17 19:39:06,292 - ERROR [ STARTING:o.a.z.s.NIOServerCnxnFactory$1@44] - Thread Thread[ STARTING,5,main] died
      java.lang.RuntimeException: Cannot assign requested address
              at ~[coopr-0.9.9-SNAPSHOT-jar-with-dependencies.jar:na]
              at$1$ ~[coopr-0.9.9-SNAPSHOT-jar-with-dependencies.jar:na]
              at ~[na:1.7.0_71]
      Caused by: Cannot assign requested address
              at Method) ~[na:1.7.0_71]
              at ~[na:1.7.0_71]
              at ~[na:1.7.0_71]
              at ~[na:1.7.0_71]
              at ~[na:1.7.0_71]
              at ~[na:1.7.0_71]
              at org.apache.zookeeper.server.NIOServerCnxnFactory.configure( ~[coopr-0.9.9-SNAPSHOT-jar-with-dependencies.jar:na]
              at org.apache.twill.internal.zookeeper.InMemoryZKServer$1.startUp( ~[coopr-0.9.9-SNAPSHOT-jar-with-dependencies.jar:na]
              at$1$ ~[coopr-0.9.9-SNAPSHOT-jar-with-dependencies.jar:na]
              ... 1 common frames omitted

      Setting to the IP address of the machine did not resolve the issue.

      I had to make sure there was an entry in /etc/hosts with the specific IP address and a matching host name. This means that we're doing some name resolution somewhere we shouldn't. There's no reason to do any resolution when we specify an IP address (and not a host name).


        There are no comments yet on this issue.


          • Assignee:
            Nitin Motgi
            Chris Gianelloni
          • Votes:
            0 Vote for this issue
            1 Start watching this issue


            • Created: