Hi! It's a really a good news. Of course, we should do a release today based on: https://github.com/fusesource/leveldbjni/tree/master
But what about that leveldb has no members named 'ResumeCompactions' and 'SuspendCompactions'? And I found that I forget to copy to dev<[email protected]>,MrAsanjar<[email protected]> and Jun He<[email protected]> in the last reply. I was too careless. The last reply as follows: (please have a look at the error ) ----------------------2017-01-10-------------------------------- Hi! We tried to create a leveldnjni for aarch64, but got a error when built leveldbjni : [INFO] libtool: compile: g++ -DHAVE_CONFIG_H -I. -I./src -g -O2 -I/opt/xwd/mygithub/github/build/leveldb/include -I/usr/lib/jvm/java-7-openjdk-arm64/include -I/usr/lib/jvm/java-7-openjdk-arm64/include/linux -c src/leveldbjni.cpp -fPIC -DPIC -o .libs/leveldbjni.o [INFO] src/leveldbjni.cpp: In function 'void Java_org_fusesource_leveldbjni_internal_NativeDB_00024DBJNI_ResumeCompactions(JNIEnv*, jclass, jlong)': [INFO] src/leveldbjni.cpp:426:35: error: 'class leveldb::DB' has no member named 'ResumeCompactions' [INFO] ((leveldb::DB *)(intptr_t)arg0)->ResumeCompactions(); [INFO] ^ [INFO] src/leveldbjni.cpp: In function 'void Java_org_fusesource_leveldbjni_internal_NativeDB_00024DBJNI_SuspendCompactions(JNIEnv*, jclass, jlong)': [INFO] src/leveldbjni.cpp:435:35: error: 'class leveldb::DB' has no member named 'SuspendCompactions' [INFO] ((leveldb::DB *)(intptr_t)arg0)->SuspendCompactions(); [INFO] ^ [INFO] Makefile:430: recipe for target 'leveldbjni.lo' failedmake: *** [leveldbjni.lo] Error 1 [INFO] rc: 2 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] leveldbjni-project ................................. SUCCESS [ 0.384 s] [INFO] leveldbjni ......................................... SUCCESS [ 5.210 s] [INFO] leveldbjni-linux64 ................................. FAILURE [ 6.995 s] [INFO] leveldbjni-all ..................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 13.779 s [INFO] Finished at: 2017-01-10T10:24:53+08:00 [INFO] Final Memory: 21M/107M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.fusesource.hawtjni:maven-hawtjni-plugin:1.9:build (default) on project leveldbjni-linux64: build failed: org.apache.maven.plugin.MojoExecutionException: make based build failed with exit code: 2 -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException It seems to that leveldb has no has no members named 'ResumeCompactions' and 'SuspendCompactions'. So my team made some changes to leveldb refering to https://github.com/ibmsoe/leveldb ,and then we are successful. https://github.com/weidongxing/leveldb/commit/e521f3c4a0f92ba01a3b2a077517507c021a8cea ----------------------2017-01-10-------------------------------- Roman, can you talk about the error in the last reply with RedHat folks? Thanks, Xing. From: Roman Shaposhnik Date: 2017-01-12 12:20 To: [email protected]; xingweidong CC: Jun He; MrAsanjar Subject: Re: Re: [jira] [Commented] (BIGTOP-2659) Support aarch64 leveldb for hadoop Hi! here's an update: I've reached out to RedHat folks and they are more than happy to roll another release for us based on what's in master. Xingweidong, can you please verify that you have *everything* you need there? IOW, if we do a release today based on: https://github.com/fusesource/leveldbjni/tree/master You won't have to have any special patches on the Bigtop side. This also applies to PPC and the rest of the folks who may need something from leveldbjni. This is the last call before we roll a release. Please take a look. Thanks, Roman. On Mon, Jan 9, 2017 at 6:12 PM, Roman Shaposhnik <[email protected]> wrote: > Hi! > > now I'm really confused -- I thought that what Ganesh did should be enough. > Why do we need this extra patch? > > Xingweidong, can you take a look at what's there already? > > Thanks, > Roman. > > On Sat, Jan 7, 2017 at 12:59 AM, [email protected] > <[email protected]> wrote: >> Well, we have taken a look. It is so helpful ! >> We built aarch64 hadoop by bigtop and got a bad result in two months ago, >> then we decided to do some repair when we found no commits such as yours. >> After the test, we created a leveldbjni-all-1.8.jar for aarch64 a months ago. >> >> https://github.com/chinaredoop/leveldb/commit/abb05abdbd9a92440e41a33704fba783818929d4 >> >> https://github.com/chinaredoop/leveldbjni/commit/f7d1157dcd68ed6ade2372c339935bdb9943463d >> >> https://github.com/chinaredoop/bigtop/commit/f5a04e36b471eea5faae3cf246e3e6510505b95d >> >> >> >> >> >> From: Ganesh Raju >> Date: 2017-01-07 12:15 >> To: dev >> CC: issues; Jun He >> Subject: Re: [jira] [Commented] (BIGTOP-2659) Support aarch64 leveldb for >> hadoop >> For aarch64 support, we had committed the following to leveldb couple of >> months ago. >> https://github.com/JunHe77/leveldb/commit/c5b5b745b5089d45b197bd85c82d1e7e0ae9b25a >> >> and also did a pull request to bigtop on >> https://github.com/apache/bigtop/pull/160 for hadoop build >> >> >> On Fri, Jan 6, 2017 at 8:36 PM, Xing (JIRA) <[email protected]> wrote: >> >>> >>> [ https://issues.apache.org/jira/browse/BIGTOP-2659?page= >>> com.atlassian.jira.plugin.system.issuetabpanels:comment- >>> tabpanel&focusedCommentId=15806553#comment-15806553 ] >>> >>> Xing commented on BIGTOP-2659: >>> ------------------------------ >>> >>> My team will try to contribute the change of leveldb to google/leveldb >>> master branch and aarch64 patches to fusesource/leveldbjni master branch >>> later. >>> >>> > Support aarch64 leveldb for hadoop >>> > ---------------------------------- >>> > >>> > Key: BIGTOP-2659 >>> > URL: https://issues.apache.org/jira/browse/BIGTOP-2659 >>> > Project: Bigtop >>> > Issue Type: Improvement >>> > Components: hadoop >>> > Affects Versions: 1.1.0 >>> > Environment: arm64 >>> > Reporter: Xing >>> > Assignee: Xing >>> > Labels: patch >>> > Fix For: 1.1.0 >>> > >>> > Attachments: 0001-Added-aarch64-for-hadoop.patch >>> > >>> > >>> > Supported arm64 for packing hadoop by bigtop >>> >>> >>> >>> -- >>> This message was sent by Atlassian JIRA >>> (v6.3.4#6332) >>> >> >> >> -- >> IRC: ganeshraju@#linaro on irc.freenode.ne <http://irc.freenode.net/>t
