Code Monkey home page Code Monkey logo

Comments (8)

huangtianhua avatar huangtianhua commented on August 16, 2024 4

@JunHe77 I have already deploy the leveldbjni-all-1.8.jar which support aarch64, see https://search.maven.org/search?q=g:org.openlabtesting.leveldbjni :) I based on the master. The details you can find theopenlab@aa6b14a

from leveldbjni.

ZhengZhenyu avatar ZhengZhenyu commented on August 16, 2024

@chirino @johnmark @JunHe77

from leveldbjni.

JunHe77 avatar JunHe77 commented on August 16, 2024

@ZhengZhenyu @huangtianhua
Pls refer this script:
https://github.com/apache/bigtop/blob/master/bigtop-packages/src/common/hadoop/do-component-build#L46-L104

from leveldbjni.

ZhengZhenyu avatar ZhengZhenyu commented on August 16, 2024

@JunHe77 Hi Jun, thanks for the info and your previous helps. We are trying to making bigdata ecosystem more compatible with ARM architecture natively from upstream. I know that you and your team are really experienced in this area, I wonder if we can cooperate ion this goal. We have sent out maillists and reported issues in projects like Hadoop, Spark, Flink etc, is it possible for you guys to show some supports in those mails and issues? :)

from leveldbjni.

ZhengZhenyu avatar ZhengZhenyu commented on August 16, 2024

@JunHe77 FYI http://hadoop-common.472056.n3.nabble.com/DISCUSS-ARM-aarch64-support-for-Hadoop-td4190435.html

from leveldbjni.

KaloyanTanev avatar KaloyanTanev commented on August 16, 2024

Did somebody try running @huangtianhua's solution on Apple M1 chip? It should be the same architecture (64-bit ARM), but still got the same error: Could not load any of the factory classes: org.openlabtesting.leveldbjni.JniDBFactory, org.iq80.leveldb.impl.Iq80DBFactory.

I am using sbt and add as a dependency "org.openlabtesting.leveldbjni" % "leveldbjni-linux64-aarch64" % "1.8". Then in my class LevelDBFactory I have:
private val nativeFactory = "org.openlabtesting.leveldbjni.JniDBFactory"
private val javaFactory = "org.iq80.leveldb.impl.Iq80DBFactory".

from leveldbjni.

csaltos avatar csaltos commented on August 16, 2024

Did somebody try running @huangtianhua's solution on Apple M1 chip? It should be the same architecture (64-bit ARM), but still got the same error: Could not load any of the factory classes: org.openlabtesting.leveldbjni.JniDBFactory, org.iq80.leveldb.impl.Iq80DBFactory.

Sadly they are a different target, while they are based on the same architecture (ARM64) they are different operating systems ... is like having a computer running Windows on an Intel chip and a Macintosh running on an Intel chip ... it's the same chip but totally different operating systems where a Windows executable will not work on a Macintosh machine or a Linux on a Mac (at least directly in native mode)

from leveldbjni.

csaltos avatar csaltos commented on August 16, 2024

@JunHe77 I have already deploy the leveldbjni-all-1.8.jar which support aarch64, see https://search.maven.org/search?q=g:org.openlabtesting.leveldbjni :) I based on the master. The details you can find theopenlab@aa6b14a

Thank you very much !! ... You are a big data hero !! ;) :)

from leveldbjni.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.