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

sqoop2 export data from hdfs to rmdbs oracle

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      i use sqoop2 to export data from hdfs to oracle
      the link has been created , and the target table has been created
      the table i want to export has 2 columns
      one's name is "PACKAGEID" and type is STRING
      another's name is "PACKAGENAME" and also STRING
      and after i start the job
      the job throw some exception and says:

      org.apache.sqoop.common.SqoopException: MAPRED_EXEC_0013:Cannot write to the data writer
      .........
      org.apache.sqoop.common.SqoopException: INTERMEDIATE_DATA_FORMAT_0001:Wrong number of columns. - The data [Ljava.lang.String;@3bc5578b has the wrong number of fields.

      so can anyone help me to solve the problem ????

      Attachments

        Activity

          People

            Unassigned Unassigned
            fish881225 sjfeng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 48h
                48h
                Remaining:
                Remaining Estimate - 48h
                48h
                Logged:
                Time Spent - Not Specified
                Not Specified