Skip to main content
asirna
Gold ⭐️
February 21, 2018

mbind: Operation not permitted when running hive shell in docker

  • October 5, 2026 at 9:13 AM
  • 0 replies
  • 7083 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 🙂