You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Alice Chen (JIRA)" <ji...@apache.org> on 2015/07/22 20:17:42 UTC

[jira] [Created] (TRAFODION-653) LP Bug: 1373530 - Issue with starting DCS on a single-node instance

Alice Chen created TRAFODION-653:
------------------------------------

             Summary: LP Bug: 1373530 - Issue with starting DCS on a single-node instance
                 Key: TRAFODION-653
                 URL: https://issues.apache.org/jira/browse/TRAFODION-653
             Project: Apache Trafodion
          Issue Type: Bug
          Components: installer
            Reporter: Chirag Bhalgami
            Assignee: Marvin Anderson
            Priority: Critical


Issue with starting DCS on a single-node instance occurs with following error message:
-----------------------------------------------------------
/trafodion/trafodion/trafodion/dcs-0.9.0/bin/start-dcs.sh found.
Starting the DCS environment now
14/09/24 15:09:36 ERROR zookeeper.ClientCnxnSocketNIO: Unable to open socket to 0.0.9.86/0.0.9.86:2181
14/09/24 15:09:36 WARN zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.SocketException: Invalid argument
        at sun.nio.ch.Net.connect0(Native Method)
        at sun.nio.ch.Net.connect(Net.java:364)
        at sun.nio.ch.Net.connect(Net.java:356)
        at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:623)
        at org.apache.zookeeper.ClientCnxnSocketNIO.registerAndConnect(ClientCnxnSocketNIO.java:266)
        at org.apache.zookeeper.ClientCnxnSocketNIO.connect(ClientCnxnSocketNIO.java:276)
        at org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:958)
        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:993)
-----------------------------------------------------------

trafodion_setup/trafodion_installer enters some funky numbers for zookeeper quorum. Looks like a parsing issue.

Solution:
---------
Step 1) 
su - trafodion

Step 2) 
Edit <trafodion_home_dir>/trafodion/dcs-<build>/conf/dcs-site.xml and replace the existing entry of dcs.zookeeper.quorum with node's hostname. e.g.:
<configuration>
  <property>
    <name>dcs.zookeeper.quorum</name>
    <value>n007</value>
  </property>
</configuration>

Step 3) 
dcsstart



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)