[
https://issues.apache.org/jira/browse/SQOOP-2651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14995670#comment-14995670
]
Jarek Jarcec Cecho commented on SQOOP-2651:
-------------------------------------------
Given the way Sqoop 1 is written, I would prefer to keep this configuration
very specific to the {{TextEportMapper}}. We can't control all readers and
given a general config, users would expect that we never print out sensitive
data which is something that we can't guarantee.
> Do not dump data on error in TextExportMapper by default
> --------------------------------------------------------
>
> Key: SQOOP-2651
> URL: https://issues.apache.org/jira/browse/SQOOP-2651
> Project: Sqoop
> Issue Type: Bug
> Affects Versions: 1.4.6
> Reporter: Jarek Jarcec Cecho
> Assignee: Jarek Jarcec Cecho
> Fix For: 1.4.7
>
> Attachments: SQOOP-2651.patch
>
>
> I've been notified offline that dumping data by default in our
> [TextExportMapper|https://github.com/apache/sqoop/blob/trunk/src/java/org/apache/sqoop/mapreduce/TextExportMapper.java#L92]
> is not entirely correct as we might unintentionally leak sensitive
> information to logs.
> Hence I would like to propose guarding that dump with a special property.
> This way we won't dump the data by default while still having the ability to
> conditionally do so if/when needed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)