Comments (6)
ByteBuffer inherits rewind from Buffer and Java 8 has this method.
https://docs.oracle.com/javase/8/docs/api/java/nio/Buffer.html#rewind--
I have seem issues in Java 8 where you need to cast to java.nio.Buffer for this to work reliably.
In https://issues.apache.org/jira/browse/HADOOP-18197, there were issues where we got on some Java8 installations.
java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
We had to upgrade protobuf-java (which had the ByteBuffer code that was causing us issues) to get this fix:
protocolbuffers/protobuf@d40aadf
See https://www.morling.dev/blog/bytebuffer-and-the-dreaded-nosuchmethoderror/
from arrow.
from arrow.
Arrow has this cast in a different part of the code.
Could we add a similar cast in the method that is causing issues?
from arrow.
fyi: #38051
from arrow.
Issue resolved by pull request 41718
#41718
from arrow.
@lidavidm @assignUser This was also reported (@pan3793)
from arrow.
Related Issues (20)
- [Java] Use immutables value-annotations instead of value artifact HOT 1
- [CI][Conda] The CondaEnvironment@1 (Conda environment) task has been deprecated since February 13, 2019 and will soon be retired HOT 1
- [CI][Integration][Release] RC verification script failed
- [C++] [Python] Add functionality of `STSProfileCredentialsProvider` to default credentials chain for `S3FileSystem` HOT 4
- [C++][S3] Remove GetBucketRegion hack for never AWS SDK versions
- [Java] Transition from gradle-enterprise-maven-extension to develocity-maven-extension HOT 1
- [MATLAB] Add C Data Interface format import/export functionality for `arrow.tabular.RecordBatch` HOT 1
- [Swift] Add Struct (Nested) types
- [GLib][CI] Use vcpkg for C++ dependencies when building GLib libraries with MSVC
- [Java] Jni mvn generate-resources failed because not generate arrow-bom HOT 4
- [C++] Add Compute Kernel for Casting from struct to string
- [C++] Add Compute Kernel for Casting from union to string
- writing/reading parquet enum types from pyarrow
- [Python] Table.from_arrow can't import nan values into a non-null float column
- [R] Segfault when collecting parquet dataset query results HOT 7
- [Python] `pyarrow.write_feather` can't be used in `atexit` contexts to write a `pandas.DataFrame` HOT 1
- [C++] Meson Support for Arrow HOT 4
- [C++][Parquet] Unify normalize dictionary encoding handling
- [C++][Parquet][Benchmark] Adding benchmarking for reading Statistics
- [R] Update relative URLs in README to absolute paths to prevent CRAN check failures
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arrow.