drprolegend opened a new issue, #40071:
URL: https://github.com/apache/airflow/issues/40071

   ### Apache Airflow version
   
   2.9.1
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   **Description:**
   I encountered a fatal error while using Apache Airflow 2.9.1 on a Mac with 
an Apple M3 Pro chip. The issue occurs when I attempt to test a task that 
connects to Hive via JDBC.
   
   **System Information:**
   - OS: macOS
   - uname: Darwin 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:13:18 PDT 
2024; root .121.3~5/RELEASE_ARM64_T6030 arm64
   - OS uptime: 0 days 9:05 hours
   - Load average: 4.26 4.61 4.92
   
   **Hardware**:
   - CPU: Apple M3 Pro
   - Total Cores: 11
   - Cache Line Size: 128
   - L1 Cache: 128 KB (instruction), 64 KB (data)
   - L2 Cache: 4 MB
   
   **Memory:**
   - Physical: 18 GB
   - Free: 332 MB
   - Swap: 2 GB (Free: 1 GB)
   
   **Java Information:**
   - Java Version: JDK 21 and JDK 22 (tested with both)
   - vm_info: Java HotSpot(TM) 64-Bit Server VM (22.0.1+8-16) for bsd-aarch64 
JRE (22.0.1+8-16), built on 2024-03-12T10:33:16Z by "mach5one" with clang Apple 
LLVM 14.0.3 (clang-1403.0.22.14.1)
   
   
[hs_err_pid37676.log](https://github.com/user-attachments/files/15593711/hs_err_pid37676.log)
   
   
   
   ### What you think should happen instead?
   
   The task should execute successfully without causing a JVM crash.
   
   ### How to reproduce
   
   1. Install Apache Airflow 2.9.1 on macOS with Apple M3 Pro.
   2. Configure Airflow to use a JDBC connection to Hive.
   3. Execute the command: airflow tasks test <dag_id> <task_id> 
   
   ```
   [2024-06-05T18:18:18.750+0200] {base.py:84} INFO - Using connection ID 
'jdbc_hive2' for task execution.
   #
   # A fatal error has been detected by the Java Runtime Environment:
   #
   #  SIGBUS (0xa) at pc=0x000000012845912c, pid=37676, tid=259
   #
   # JRE version:  (22.0.1+8) (build )
   # Java VM: Java HotSpot(TM) 64-Bit Server VM (22.0.1+8-16, mixed mode, 
sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
   # Problematic frame:
   # V  [libjvm.dylib+0x45912c]  CodeHeap::allocate(unsigned long)+0x1a4
   #
   # No core dump will be written. Core dumps have been disabled. To enable 
core dumping, try "ulimit -c unlimited" before starting Java again
   #
   # An error report file with more information is saved as:
   # /..../airflow/hs_err_pid37676.log
   #
   #
   
   Process finished with exit code 134 (interrupted by signal 6:SIGABRT)
   
   ```
   
   
   ### Operating System
   
   Apple M3 Pro 
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Virtualenv installation
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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