Uploaded image for project: 'Sqoop (Retired)'
  1. Sqoop (Retired)
  2. SQOOP-340

Rise exception when both --direct and --as--sequencefile or --as-avrodatafile are given

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.4.0-incubating
    • tools
    • None

    Description

      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.

      Attachments

        1. SQOOP-340.patch
          0.8 kB
          Jarek Jarcec Cecho
        2. SQOOP-340.patch
          0.9 kB
          Jarek Jarcec Cecho

        Activity

          People

            jarcec Jarek Jarcec Cecho
            jarcec Jarek Jarcec Cecho
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: