mxosrvr failing to write to repos session and aggr metric table when we test connection from odbc administrator, errors in master log
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Trafodion |
In Progress
|
High
|
Judy Zhao |
Bug Description
After trying etst connection from odbc administrator on Windows, the following errors are logged in the master log file and there are no rows inserted into the metric session and aggr tables. The test connection succeeds.
2015-04-27 17:54:28,169, ERROR, SQL, Node Number: 0, CPU: 3, PIN: 20885, Process Name: $Z030H1Q, SQLCODE: 15001, QID: MXID11003020885
insert into Trafodion.
5,3,0,0,
0406U3333300'
8168603)
Source 'amethyst' Configuration'
^ (332 characters from start of SQL statement)
2015-04-27 17:54:28,169, ERROR, MXOSRVR, Node Number: 3, CPU: 3, PIN:20885, Process Name:$Z030H1Q , , ,A NonStop Process Service error Failed to write statistics: insert into Trafodion.
insert into Trafodion.
5,3,0,0,
0406U3333300'
8168603)
Source 'amethyst' Configuration'
^ (332 characters from start of SQL statement) [2015-04-27 17:54:28] has occurred.
2015-04-27 17:54:33,241, ERROR, SQL, Node Number: 0, CPU: 3, PIN: 20885, Process Name: $Z030H1Q, SQLCODE: 15001, QID: MXID11003020885
insert into Trafodion.
,0,0,'16.
6U3333300'
7273198784)
rce 'amethyst' Configuration'
^ (329 characters from start of SQL statement)
2015-04-27 17:54:33,241, ERROR, MXOSRVR, Node Number: 3, CPU: 3, PIN:20885, Process Name:$Z030H1Q , , ,A NonStop Process Service error Failed to write statistics: insert into Trafodion.
insert into Trafodion.
,0,0,'16.
6U3333300'
7273198784)
rce 'amethyst' Configuration'
^ (329 characters from start of SQL statement) [2015-04-27 17:54:33] has occurred.
Changed in trafodion: | |
assignee: | nobody → Judy Zhao (hongxia-zhao) |
Changed in trafodion: | |
status: | New → In Progress |
In fixing bug 1449195 ,I found that the application name is in following format: Trafodion ODBC Data Source+’DATA SOURCE NAME‘ Configuration when I test connection from MS ODBC Administrator. For example it is: Trafodion ODBC Data Source 'JuneOne' Configuration . Here JuneOne is the Data Source name. "_REPOS_ ".METRIC_ QUERY_AGGR_ TABLE and TRAFODION. "_REPOS_ ".METRIC_ SESSION_ TABLE.
While if I connect from Trafci, the application name is TRAFCI.
The APPLICATION_NAME is one column of table
TRAFODION.
Currently we can't get the application name as "Trafodion ODBC Data Source 'JuneOne' Configuration " from the tables without the fixing.
While with the fixing ,we will get the application name as above.
So I have another question :
It is ODBC driver that send the application name to server side. So can connectivity guys help to check if the string is correct or not?
If the name is incorrect, maybe need to file another bug for that.