Skip to main content
asirna
Gold ⭐️
Feb 21, 2018 5:01 PM UTC

mbind: Operation not permitted when running hive shell in docker

  • Oct 5, 2026 9:13 AM UTC
  • 0 replies
  • 7085 views
  • Translate All

Issue: When running hive shell in a docker you will be getting a message "mbind: Operation not permitted" printed on the console but the operations will pass.

.

Root Cause: mbind syscall is used for NUMA (non-uniform memory access) operations which is blocked by docker by default. But in hive opts there is an option which specifies '+UseNUMA'.

.

Resolution:

Go to Ambari -> Hive -> Configs -> Advanced

1) Remove '-XX:+UseNUMA' from 'hive.tez.java.opts'.

2) Remove '-XX:+UseNUMA' from hive-env template.

Hope this helps 🙂