chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Yang (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CHUKWA-489) Malformed SQL generated in MetricDataLoader when values contain single quote character
Date Sat, 19 Jun 2010 21:17:24 GMT

     [ https://issues.apache.org/jira/browse/CHUKWA-489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Eric Yang updated CHUKWA-489:
-----------------------------

      Status: Patch Available  (was: Open)
    Assignee: Eric Yang

+1 Looks good.

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


Mime
View raw message