Closed arunb2w closed 2 years ago
I see from this ticket https://github.com/apache/hudi/issues/1483 that when running local instances of hadoop may cause this error. But, I dont have any local instances running in my machine. Please help how to proceed further
@arunb2w Can you please share the docker resources?
I have come across this error once when I was running out of allocated image size. Can you please do a clean docker setup? I am able to run the setup. For reference, my current docker resources:
@codope Attaching my docker resources for your reference
I have also tried with the below config as well but still the same error persists. I have also uninstalled and reinstalled docker in my mac before running this I am running docker demo in Apple M1 chip. Are there any issues related to that?
@arunb2w The docker demo is not fully supported on Apple M1 chip yet, which is arm64 architecture. That breaks some functionality of Hadoop and Hive in the demo. We have a Jira ticket to track it: HUDI-2786
okay thanks. can you please suggest are there any alternatives to run hudi in local for development purpose.
@arunb2w If you don't need Hadoop or Hive specifically, you can compile Hudi jars and use Spark to write Hudi table to the local file system. Spark should run on any platform that runs Java 8. You can download the Spark release and directly use spark-submit
, spark-shell
, or spark-sql
for writing and reading Hudi table, following our Spark Guide.
@yihua the issue can be solved by using hadoop and hive images built for arm64, correct? we should aim to fix this with arm64 docker images. I'll tag the ticket for 0.12
tracking the work and fix in https://issues.apache.org/jira/browse/HUDI-3601
@xushiyan We've built the images for arm64. I remember some native libraries from Hadoop or Hive are not compatible on arm64 arch so at runtime the errors are thrown. It depends on those OSS projects to fully support arm64 before we can make the docker demo fully working on arm64.
This is again a duplicate of #4985 The work here is blocked on arm64 support for dependent OSS projects. We are tracking the issue closely in HUDI-3601 and expect to make it work in Hudi 0.13.0.
Facing below error while performing hudi docker demo
docker ps output