[ https://issues.apache.org/jira/browse/TRAFODION-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15192099#comment-15192099 ]
ASF GitHub Bot commented on TRAFODION-1854: ------------------------------------------- GitHub user traflm opened a pull request: https://github.com/apache/incubator-trafodion/pull/382 [TRAFODION-1854] rework rework of the previous fix, tested on a real cluster using upper case hostname. You can merge this pull request into a Git repository by running: $ git pull https://github.com/traflm/incubator-trafodion TRAFODION-1854 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-trafodion/pull/382.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #382 ---- commit 91c52c0e7077ab028fd23854f04765a4c521901e Author: Liu Ming <ming....@esgyn.cn> Date: 2016-03-13T03:07:10Z [TRAFODION-1854] rework ---- > Trafodion cannot start on nodes with uppercase hostname. > -------------------------------------------------------- > > Key: TRAFODION-1854 > URL: https://issues.apache.org/jira/browse/TRAFODION-1854 > Project: Apache Trafodion > Issue Type: Bug > Components: foundation > Reporter: Eason Zhang > Assignee: liu ming > Fix For: 2.0-incubating > > > set the node's hostname to uppercase, in this case it is set to 'H1 H2 H3' > Trafodion’s .bashrc is setting correctly: > > # These env vars define all nodes in the cluster > export NODE_LIST=" H1 H2 H3" > export MY_NODES=" -w H1 -w H2 -w H3" > > /etc/hosts are also set as ‘H1 H2 H3’. > sqconfig is also set as uppercase hostname. > when starting trafodion instance, it will report below error in sqmon.log: > Processing cluster.conf on local host H1 > [SHELL] Shell/shell Version 1.0.1 EsgynDB_Enterprise Release 2.0.0 (Build > release [EsgynDB-2.0.0-0-g2ba9dde_Bld402], date 20151121_0002) > > [SHELL] % > ! Start the monitor processes across the cluster > startup > [SHELL] %startup > [SHELL] Cannot start monitor from node 'H1' since it is not member of the > cluster configuration or 'hostname' string does not match configuration > string. > [SHELL] Configuration node names: > [SHELL] 'h1' > [SHELL] 'h2' > [SHELL] 'h3' > [SHELL] Failed to start environment! > > [SHELL] % > exit -- This message was sent by Atlassian JIRA (v6.3.4#6332)