Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-18724

Open file fails with NumberFormatException for S3AFileSystem

    XMLWordPrintableJSON

Details

    Description

      Saw the trace for Hive-Iceberg, was using the old client, doesn't happen once I upgraded.

      Caused by: java.lang.NumberFormatException: For input string: "5783.0"
      	at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      	at java.base/java.lang.Long.parseLong(Long.java:692)
      	at java.base/java.lang.Long.parseLong(Long.java:817)
      	at org.apache.hadoop.conf.Configuration.getLong(Configuration.java:1601)
      	at org.apache.hadoop.fs.s3a.impl.OpenFileSupport.prepareToOpenFile(OpenFileSupport.java:262)
      	at org.apache.hadoop.fs.s3a.S3AFileSystem.openFileWithOptions(S3AFileSystem.java:5219)
      	at org.apache.hadoop.fs.FileSystem$FSDataInputStreamBuilder.build(FileSystem.java:4753)
      	at org.apache.iceberg.hadoop.HadoopInputFile.newStream(HadoopInputFile.java:196)
      	at org.apache.iceberg.avro.AvroIterable.newFileReader(AvroIterable.java:101)
      	at org.apache.iceberg.avro.AvroIterable.getMetadata(AvroIterable.java:66)

      Attachments

        Issue Links

          Activity

            People

              stevel@apache.org Steve Loughran
              ayushtkn Ayush Saxena
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: