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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0-incubating
    • Component/s: tools
    • Labels:
      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.9 kB
          Jarek Jarcec Cecho
        2. SQOOP-340.patch
          0.8 kB
          Jarek Jarcec Cecho

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: