You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chukwa.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2010/06/20 17:55:24 UTC
[jira] Commented: (CHUKWA-489) Malformed SQL generated in
MetricDataLoader when values contain single quote character
[ https://issues.apache.org/jira/browse/CHUKWA-489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12880644#action_12880644 ]
Hudson commented on CHUKWA-489:
-------------------------------
Integrated in Chukwa-trunk #401 (See [http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/401/])
Updated Change log for CHUKWA-489 and CHUKWA-490.
CHUKWA-489. Fixed malformed SQL in MetricDataLoader when values contain single quote character. (Kirk True via Eric Yang)
> Malformed SQL generated in MetricDataLoader when values contain single quote character
> --------------------------------------------------------------------------------------
>
> Key: CHUKWA-489
> URL: https://issues.apache.org/jira/browse/CHUKWA-489
> Project: Hadoop Chukwa
> Issue Type: Bug
> Components: DB Data Processors
> Affects Versions: 0.4.0
> Reporter: Kirk True
> Assignee: Eric Yang
> Attachments: MetricDataLoader.diff
>
>
> When our demux creates ChukwaRecord entries whose values contain single quotes, the SQL generated by MetricDataLoader is invalid as the single quote character is not being properly escaped. There's already an escape method present, and adding two lines of code fixed it for us.
> Patch forthcoming...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.