java.lang.NoSuchMethodError: parquet.schema.Types$MessageTypeBuilder.addFields([Lparquet/schema/Type;)Lparquet/schema/Types$GroupBuilder;

Stack Overflow | Eric Pettijohn | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 1

    Sqoop import --as-parquetfile from Oracle gets wrong file types

    Stack Overflow | 9 months ago | Eric Pettijohn
    java.lang.NoSuchMethodError: parquet.schema.Types$MessageTypeBuilder.addFields([Lparquet/schema/Type;)Lparquet/schema/Types$GroupBuilder;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      parquet.schema.Types$MessageTypeBuilder.addFields([Lparquet/schema/Type;)Lparquet/schema/Types$GroupBuilder;

      at org.apache.hadoop.hive.ql.io.parquet.read.DataWritableReadSupport.getSchemaByName()
    2. Hive Query Language
      Driver.getResults
      1. org.apache.hadoop.hive.ql.io.parquet.read.DataWritableReadSupport.getSchemaByName(DataWritableReadSupport.java:159)
      2. org.apache.hadoop.hive.ql.io.parquet.read.DataWritableReadSupport.init(DataWritableReadSupport.java:222)
      3. org.apache.hadoop.hive.ql.io.parquet.read.ParquetRecordReaderWrapper.getSplit(ParquetRecordReaderWrapper.java:256)
      4. org.apache.hadoop.hive.ql.io.parquet.read.ParquetRecordReaderWrapper.<init>(ParquetRecordReaderWrapper.java:99)
      5. org.apache.hadoop.hive.ql.io.parquet.read.ParquetRecordReaderWrapper.<init>(ParquetRecordReaderWrapper.java:85)
      6. org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat.getRecordReader(MapredParquetInputFormat.java:72)
      7. org.apache.hadoop.hive.ql.exec.FetchOperator$FetchInputFormatSplit.getRecordReader(FetchOperator.java:673)
      8. org.apache.hadoop.hive.ql.exec.FetchOperator.getRecordReader(FetchOperator.java:323)
      9. org.apache.hadoop.hive.ql.exec.FetchOperator.getNextRow(FetchOperator.java:445)
      10. org.apache.hadoop.hive.ql.exec.FetchOperator.pushRow(FetchOperator.java:414)
      11. org.apache.hadoop.hive.ql.exec.FetchTask.fetch(FetchTask.java:140)
      12. org.apache.hadoop.hive.ql.Driver.getResults(Driver.java:1670)
      12 frames
    3. org.apache.hadoop
      CliDriver.main
      1. org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:233)
      2. org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:165)
      3. org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:376)
      4. org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:736)
      5. org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:681)
      6. org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:621)
      6 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    5. Hadoop
      RunJar.main
      1. org.apache.hadoop.util.RunJar.run(RunJar.java:221)
      2. org.apache.hadoop.util.RunJar.main(RunJar.java:136)
      2 frames