Use of Log4cpp for the lob server process needs rework
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Trafodion |
Fix Committed
|
High
|
Sandhya Sundaresan |
Bug Description
The lobserver process is aseparate sql process that should log it's events to a seaprate log file. Need to add support for this as well as intitializing log4cpp when the lob server process receives it's first request from the master.
Some current symptoms include a core when the lob server gets it's first request. This occurs rarely .
gdb) bt
#0 0x000000000004cf66 in ?? ()
#1 0x00007ffff2b4c237 in log4cpp:
at Category.cpp:36
#2 0x00007ffff2651330 in QRLogger::log (cat=0x7ffff2678757 "SQL.HBase",
level=LL_DEBUG,
logMsgTempl
#3 0x00007ffff71fd27a in HBaseClient_
Traceback (most recent call last):
File "/usr/lib64/
return self.val[
OverflowError: signed integer is greater than maximum
, tblName="",
actions=
at ../executor/
#4 0x00007ffff5c2892c in ExpHbaseInterfa
hbs=0x0) at ../exp/
#5 0x00007ffff08f8edf in CmpSeabaseDDL:
server=
interface=
at ../sqlcomp/
#6 0x00007ffff08f9e9f in CmpSeabaseDDL:
---Type <return> to continue, or q <return> to quit---
this=
mdMinorVers
sysSWUpdVer
hbaseErrNum
at ../sqlcomp/
#7 0x00007ffff09bfd07 in NADefaults:
overwriteIf
at ../sqlcomp/
#8 0x00007ffff09c0047 in NADefaults:
this=
#9 0x00007ffff09c007f in NADefaults:
this=
#10 0x00007fffef1e61ba in SchemaDB:
lightweight=0) at ../optimizer/
#11 0x00007fffef1e6028 in SchemaDB::SchemaDB (this=0x7fffe81
0x7fffe8179420) at ../optimizer/
#12 0x00007fffee02e5b5 in CmpContext:
0x7fffe830af48) at ../arkcmp/
#13 0x00007ffff45a3c0a in arkcmp_main_entry () at ../common/
#14 0x00007ffff793deb7 in ContextCli:
cmpCntxtType=0) at ../cli/
#15 0x00007ffff7974e96 in CliStatement:
source=
---Type <return> to continue, or q <return> to quit---
passed_
cliFlags=144) at ../cli/
#16 0x00007ffff797499c in CliStatement:
source=
passed_
cliFlags=144) at ../cli/
#17 0x00007ffff790beab in SQLCLI_Prepare2 (cliGlobals=
statement_
gencode_len=0, ret_gencode_
query_
uniqueStmtI
#18 0x00007ffff7997e41 in SQL_EXEC_Prepare2 (statement_
sql_
ret_
comp_
flags=128) at ../cli/
#19 0x00007ffff70bbfce in ExeCliInterface
stmtStr=
module=
input_
outputBuf=
inputVarPtr
query_
---Type <return> to continue, or q <return> to quit---
at ../executor/
#20 0x00007ffff70bd711 in ExeCliInterface
this=
stmtStr=
outputBufLe
globalDiags
#21 0x00007ffff70bdbee in ExeCliInterface
infoList=@0x0, query=0x7ffff70
varcharForm
at ../executor/
#22 0x00007ffff7912cf9 in SQLCLI_
inLobHandle
outLobHandl
qPhase=
outDescPart
at ../cli/Cli.cpp:9391
#23 0x00007ffff799ab7d in SQL_EXEC_
inLobHandle
outLobHandl
dataOffset=0x0, dataLen=0x0, outDescPartnKey
inCliInterf
#24 0x00000000004092ab in processRequest (request=
at ../exp/
---Type <return> to continue, or q <return> to quit---
#25 0x0000000000409757 in receive_message (request=
at ../exp/
#26 0x000000000040a1a4 in main (argc=1, argv=0x7fffffff
at ../exp/
(gdb)
Changed in trafodion: | |
status: | New → In Progress |
Fixed and merged into mainline :I8d06716a1cac4 64454e01e526746 0efa1859747f
lobserver process now has it's own config file and log file for logging events.