Created 07-14-2016 07:37 AM
Resource_management.core.exceptions.Fail: Execution of 'export HIVE_CONF_DIR=/usr/hdp/current/hive-metastore/conf/conf.server ; /usr/hdp/current/hive-metastore/bin/schematool -initSchema -dbType postgres -userName hive -passWord [PROTECTED]' returned 254. /etc/profile: fork: retry: Resource temporarily unavailable /etc/profile: fork: retry: Resource temporarily unavailable /etc/profile: fork: retry: Resource temporarily unavailable /etc/profile: fork: retry: Resource temporarily unavailable /etc/profile: fork: Resource temporarily unavailable /etc/profile: fork: retry: Resource temporarily unavailable
/etc/profile: fork: retry: Resource temporarily unavailable
Created 07-14-2016 11:04 AM
Thanks Everyone,
I resolved the issue by increasing the /etc/security/limits.d/hive.conf . Everything went fine.
Created 07-14-2016 07:46 AM
you're apparently running out of file descriptors, try to adjust your ulimit accordingly
Created 07-14-2016 07:53 AM
su hive su: cannot set user id: Resource temporarily unavailable
Created 07-14-2016 08:53 AM
Main issue could be :
/etc/security/limits.d/90-nproc.conf
example of /etc/security/limits.d/90-nproc.conf
file.<code><user> - nproc 2048 <<<----[ Only for "<user>" user ]
Please use this link to debug for redhat linux flavours:
https://access.redhat.com/solutions/543503
Other thing you can check is the user limit in creating processes.
Check with : ulimit -a. (TO check Limits in your shell)
Esp check for 'ulimit -u' max user processes,
Created 07-14-2016 11:04 AM
Thanks Everyone,
I resolved the issue by increasing the /etc/security/limits.d/hive.conf . Everything went fine.