Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 06-08-2018 09:51 AM
Hi All,
I was running command hadoop fs -get /user/centos/dist/a.txt
I got error during command java.net.SocketException: error creating UNIX domain socket with SOCK_STREAM: Too many open files
Open file limit is default limit. I didn't change.
Can some one suggest should i have to increase open file limit in sysctl and limit.conf?
Thanks
vinay
Created 06-08-2018 12:13 PM
Hi @Vinay K
It depends, you might have some underlying issue, first check who is holding up too many open files, by using the os command "lsof"
If everything seems OK but and you just have this issue due to the workload, increase the number of open files in limit.conf, but beware that if you are using Ambari and using of of the hadoop users, its limit will be overridden by the value from the Ambari configuration.
Created 06-08-2018 12:13 PM
Hi @Vinay K
It depends, you might have some underlying issue, first check who is holding up too many open files, by using the os command "lsof"
If everything seems OK but and you just have this issue due to the workload, increase the number of open files in limit.conf, but beware that if you are using Ambari and using of of the hadoop users, its limit will be overridden by the value from the Ambari configuration.
Created 06-08-2018 12:21 PM