SteNicholas opened a new pull request, #2530:
URL: https://github.com/apache/celeborn/pull/2530

   ### What changes were proposed in this pull request?
   
   Dependency leveldbjni uses `org.openlabtesting.leveldbjni` to support linux 
aarch64 platform for leveldb via `aarch64` profile.
   
   Follow up #2476.
   
   ### Why are the changes needed?
   
   Celeborn worker could not start on arm arch devices if db backend is 
`LevelDB`, which should support leveldbjni on the aarch64 platform. 
   
   aarch64 uses `org.openlabtesting.leveldbjni:leveldbjni-all.1.8`, and other 
platforms use `org.fusesource.leveldbjni:leveldbjni-all.1.8`. Meanwhile, 
because some hadoop dependencies packages are also depend on 
`org.fusesource.leveldbjni:leveldbjni-all`, but hadoop merge the similar change 
on trunk, details see
   [HADOOP-16614](https://issues.apache.org/jira/browse/HADOOP-16614), 
therefore it should exclude the dependency of `org.fusesource.leveldbjni` for 
these hadoop packages related.
   
   Meanwhile, `org.openlabtesting.leveldbjni` requires glibc version 3.4.21. 
Otherwise, there will be the following potential runtime risks:
   
   ```
   #
   # A fatal error has been detected by the Java Runtime Environment:
   #
   #  SIGBUS (0x7) at pc=0x00007fad3630b12a, pid=62, tid=0x00007f93394ef700
   #
   # JRE version: Java(TM) SE Runtime Environment (8.0_162-b12) (build 
1.8.0_162-b12)
   # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.162-b12 mixed mode 
linux-amd64 )
   # Problematic frame:
   # C  [libc.so.6+0x8412a]
   #
   # Core dump written. Default location: /data/service/celeborn/core or core.62
   #
   # If you would like to submit a bug report, please visit:
   #   http://bugreport.java.com/bugreport/crash.jsp
   # The crash happened outside the Java Virtual Machine in native code.
   # See problematic frame for where to report the bug.
   #
   
   ---------------  T H R E A D  ---------------
   
   Current thread (0x00007f9308001000):  JavaThread "leveldb" 
[_thread_in_native, id=878, stack(0x00007f9338cf0000,0x00007f93394f0000)]
   
   siginfo: si_signo: 7 (SIGBUS), si_code: 2 (BUS_ADRERR), si_addr: 
0x00007f97380d2220
   ```
   
   Backport:
   
   - https://github.com/apache/spark/pull/26636
   - https://github.com/apache/spark/pull/31036
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   No.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to