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'.
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 :)