Rise exception when both --direct and --as--sequencefile or --as-avrodatafile
------------------------------------------------------------------------------
Key: SQOOP-340
URL: https://issues.apache.org/jira/browse/SQOOP-340
Project: Sqoop
Issue Type: Bug
Components: tools
Reporter: Jarek Jarcec Cecho
Assignee: Jarek Jarcec Cecho
Priority: Minor
Attachments: SQOOP-340.patch
I was very excited when I saw that sqoop is able to use direct import from
MySQL to HDFS and that it's able to save output as SequenceFile. Unfortunately
sqoop is not able to do both at the same time, but it will accept both
parameters on command line. The --as-sequencefile is ignored and file is still
exported to CSV. Which make sense, but it's very confusing for the end user.
Would be nice, if sqoop would rise an Exception in case that both parameters
are present on the command line.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira