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:15:47 UTC
[jira] [Created] (TRAFODION-366) LP Bug: 1328284 - Enabling
HdfsLogger leads to core-files
Alice Chen created TRAFODION-366:
------------------------------------
Summary: LP Bug: 1328284 - Enabling HdfsLogger leads to core-files
Key: TRAFODION-366
URL: https://issues.apache.org/jira/browse/TRAFODION-366
Project: Apache Trafodion
Issue Type: Bug
Reporter: Apache Trafodion
Assignee: Apache Trafodion
To debug a problem, I tried turning on logging - specifically, I changed these two lines in sqf/logs/log4cpp.mvqr.config :
log4j.category.JniTop=DEBUG
log4j.category.HBase=DEBUG
As a result, I got a core-file. The issue is that some calls to the HdfsLogger::log method pass, say, N number of substitutions in the format string, but N-1 params for the substitutions. For example:
HdfsLogger::log(CAT_HBASE, LL_DEBUG, "HTableClient_JNI::deleteRow(%s, %s) called.", rowID.val);
The logger assumes two string pointers, but only one is passed.
Assigned to LaunchPad User Mike Hanlon
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)