Sqoop
  1. Sqoop
  2. SQOOP-1071

Avro import is failing when columns are starting with underscore

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.3
    • Fix Version/s: 1.4.4
    • Component/s: None
    • Labels:
      None

      Description

      Importing into Avro will fail with NullPointerException in case that one of the columns is starting with underscore.

      1. bugSQOOP-1071.patch
        6 kB
        Jarek Jarcec Cecho

        Issue Links

          Activity

          Hide
          ASF subversion and git services added a comment -

          Commit 5d767e796d70830657496558514c349074fbb3eb in branch refs/heads/trunk from Kathleen Ting
          [ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=5d767e7 ]

          SQOOP-1071: Avro import is failing when columns are starting with underscore
          (Jarek Jarcec Cecho via Kate Ting)

          Show
          ASF subversion and git services added a comment - Commit 5d767e796d70830657496558514c349074fbb3eb in branch refs/heads/trunk from Kathleen Ting [ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=5d767e7 ] SQOOP-1071 : Avro import is failing when columns are starting with underscore (Jarek Jarcec Cecho via Kate Ting)
          Hide
          Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop23 #876 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop23/876/)
          SQOOP-1071: Avro import is failing when columns are starting with underscore (Revision 5d767e796d70830657496558514c349074fbb3eb)

          Result = SUCCESS
          kathleen : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=5d767e796d70830657496558514c349074fbb3eb
          Files :

          • src/test/com/cloudera/sqoop/testutil/BaseSqoopTestCase.java
          • src/java/org/apache/sqoop/orm/AvroSchemaGenerator.java
          • src/test/com/cloudera/sqoop/TestAvroImport.java
          Show
          Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop23 #876 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop23/876/ ) SQOOP-1071 : Avro import is failing when columns are starting with underscore (Revision 5d767e796d70830657496558514c349074fbb3eb) Result = SUCCESS kathleen : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=5d767e796d70830657496558514c349074fbb3eb Files : src/test/com/cloudera/sqoop/testutil/BaseSqoopTestCase.java src/java/org/apache/sqoop/orm/AvroSchemaGenerator.java src/test/com/cloudera/sqoop/TestAvroImport.java
          Hide
          Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop20 #682 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop20/682/)
          SQOOP-1071: Avro import is failing when columns are starting with underscore (Revision 5d767e796d70830657496558514c349074fbb3eb)

          Result = SUCCESS
          kathleen : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=5d767e796d70830657496558514c349074fbb3eb
          Files :

          • src/java/org/apache/sqoop/orm/AvroSchemaGenerator.java
          • src/test/com/cloudera/sqoop/testutil/BaseSqoopTestCase.java
          • src/test/com/cloudera/sqoop/TestAvroImport.java
          Show
          Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop20 #682 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop20/682/ ) SQOOP-1071 : Avro import is failing when columns are starting with underscore (Revision 5d767e796d70830657496558514c349074fbb3eb) Result = SUCCESS kathleen : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=5d767e796d70830657496558514c349074fbb3eb Files : src/java/org/apache/sqoop/orm/AvroSchemaGenerator.java src/test/com/cloudera/sqoop/testutil/BaseSqoopTestCase.java src/test/com/cloudera/sqoop/TestAvroImport.java
          Hide
          Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop100 #673 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop100/673/)
          SQOOP-1071: Avro import is failing when columns are starting with underscore (Revision 5d767e796d70830657496558514c349074fbb3eb)

          Result = SUCCESS
          kathleen : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=5d767e796d70830657496558514c349074fbb3eb
          Files :

          • src/test/com/cloudera/sqoop/testutil/BaseSqoopTestCase.java
          • src/java/org/apache/sqoop/orm/AvroSchemaGenerator.java
          • src/test/com/cloudera/sqoop/TestAvroImport.java
          Show
          Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop100 #673 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop100/673/ ) SQOOP-1071 : Avro import is failing when columns are starting with underscore (Revision 5d767e796d70830657496558514c349074fbb3eb) Result = SUCCESS kathleen : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=5d767e796d70830657496558514c349074fbb3eb Files : src/test/com/cloudera/sqoop/testutil/BaseSqoopTestCase.java src/java/org/apache/sqoop/orm/AvroSchemaGenerator.java src/test/com/cloudera/sqoop/TestAvroImport.java
          Hide
          Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop200 #686 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop200/686/)
          SQOOP-1071: Avro import is failing when columns are starting with underscore (Revision 5d767e796d70830657496558514c349074fbb3eb)

          Result = SUCCESS
          kathleen : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=5d767e796d70830657496558514c349074fbb3eb
          Files :

          • src/test/com/cloudera/sqoop/TestAvroImport.java
          • src/java/org/apache/sqoop/orm/AvroSchemaGenerator.java
          • src/test/com/cloudera/sqoop/testutil/BaseSqoopTestCase.java
          Show
          Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop200 #686 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop200/686/ ) SQOOP-1071 : Avro import is failing when columns are starting with underscore (Revision 5d767e796d70830657496558514c349074fbb3eb) Result = SUCCESS kathleen : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=5d767e796d70830657496558514c349074fbb3eb Files : src/test/com/cloudera/sqoop/TestAvroImport.java src/java/org/apache/sqoop/orm/AvroSchemaGenerator.java src/test/com/cloudera/sqoop/testutil/BaseSqoopTestCase.java

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development