Fix two error in Hadoop entry point file.
- ssh id_rsa path:
It wrongly check ssh key path for hdfs and yarn user without
/home/prefix. To solve tuple item created asusername,home_path, in the for it iterate over tuples and username will be stored intoxand home path intoxhome. - Unprivileged log in: It seems Cent Os does not allow establish connection with unprivileged login, the error is:
localhost: "System is booting up. Unprivileged users are not permitted to log in yet. Please come back later. For technical details, see pam_nologin(8)."
and it close localhost ssh connection with port 22. To solve the rm -f /run/nologin before starting the service.
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities (and
0 Security Hotspots to review)
0 Code Smells
Sider detected 1 warning on analyzing the commit 4652af7.
- ⚠️ Goodcheck
We recommend fixing them as possible by updating the dependencies, configuring the analysis tool, configuring sider.yml, turning off unused tools, and so on.
If you have problems or questions still, feel free to ask us via chat. 💬
You can turn off this notification if you don't want to receive it from now on.
brilliant fix