You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "liu ming (JIRA)" <ji...@apache.org> on 2016/03/06 16:23:40 UTC

[jira] [Commented] (TRAFODION-1854) Trafodion cannot start on nodes with uppercase hostname.

    [ https://issues.apache.org/jira/browse/TRAFODION-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15182198#comment-15182198 ] 

liu ming commented on TRAFODION-1854:
-------------------------------------

Monitor's CClusterConfig class treat all character as lower case when reading the cluster configuration file.
Monitor will not use hostname in normal operation, so convert the hostname into lowercase in shell.cxx will solve the issue.

> 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
>
> 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)