You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@parquet.apache.org by "steveloughran (via GitHub)" <gi...@apache.org> on 2025/06/05 14:08:10 UTC

[I] Probe for FileSystem.hasCapability() method uses wrong method name [parquet-java]

steveloughran opened a new issue, #3239:
URL: https://github.com/apache/parquet-java/issues/3239

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   noticed while running @ debug. HadoopStreams is looking for a method called `hasCapabilities()` but the method name needed is `hasCapability`
   
   ```
   2025-06-05 15:02:53 DEBUG DynMethods - failed to load method hasCapabilities from class class org.apache.hadoop.fs.FSDataInputStream
   java.lang.NoSuchMethodException: org.apache.hadoop.fs.FSDataInputStream.hasCapabilities(java.lang.String)
   	at java.lang.Class.getMethod(Class.java:1786)
   	at org.apache.parquet.util.DynMethods$Builder.impl(DynMethods.java:282)
   	at org.apache.parquet.hadoop.util.HadoopStreams.<clinit>(HadoopStreams.java:42)
   	at org.apache.parquet.hadoop.util.HadoopOutputFile.createOrOverwrite(HadoopOutputFile.java:92)
   	at org.apache.parquet.hadoop.ParquetFileWriter.<init>(ParquetFileWriter.java:473)
   	at org.apache.parquet.hadoop.ParquetFileWriter.<init>(ParquetFileWriter.java:407)
   	at org.apache.parquet.hadoop.ParquetWriter.<init>(ParquetWriter.java:392)
   	at org.apache.parquet.hadoop.ParquetWriter$Builder.build(ParquetWriter.java:965)
   2025-06-05 15:02:53 DEBUG ParquetFileWriter - 0: start
   ```
   
   Given parquet is now building with Hadoop 3.3.0, maybe it's time to move from reflection invocation?
   
   ### Component(s)
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@parquet.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@parquet.apache.org
For additional commands, e-mail: issues-help@parquet.apache.org


Re: [I] Probe for FileSystem.hasCapability() method uses wrong method name [parquet-java]

Posted by "steveloughran (via GitHub)" <gi...@apache.org>.
steveloughran closed issue #3239: Probe for FileSystem.hasCapability() method uses wrong method name
URL: https://github.com/apache/parquet-java/issues/3239


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@parquet.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@parquet.apache.org
For additional commands, e-mail: issues-help@parquet.apache.org


Re: [I] Probe for FileSystem.hasCapability() method uses wrong method name [parquet-java]

Posted by "pan3793 (via GitHub)" <gi...@apache.org>.
pan3793 commented on issue #3239:
URL: https://github.com/apache/parquet-java/issues/3239#issuecomment-3139166814

   issue can be closed since it has been fixed by #3259


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@parquet.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@parquet.apache.org
For additional commands, e-mail: issues-help@parquet.apache.org