Created on 03-16-2018 12:02 AM - edited 09-16-2022 05:58 AM
I realized one thing.
[root@sandbox-host ~]# find / -name ifconfig -print
find: ‘/proc/22242/task/23182’: No such file or directory
/var/lib/docker/overlay2/41087e09495dc95aee184863107f442f34c1a860ed109772651e4cdd3472e1d9/merged/sbin/ifconfig
/var/lib/docker/overlay2/b26d7d5a8ca86d12c58d1eab03cdd747ed497f8d1aa8d64551351d896e7dea82/diff/sbin/ifconfig
[root@sandbox-host ~]#
[root@sandbox-host ~]# find / -name ambari-server.log -print
/var/lib/docker/overlay2/41087e09495dc95aee184863107f442f34c1a860ed109772651e4cdd3472e1d9/merged/var/log/ambari-server/ambari-server.log
/var/lib/docker/overlay2/41087e09495dc95aee184863107f442f34c1a860ed109772651e4cdd3472e1d9/diff/var/log/ambari-server/ambari-server.log
The os command and ambary logs are “nested” really deep , is this normal ? is there a work around ?
e.g I have to export PATH=$PATH: /var/lib/docker/overlay2/41087e09495dc95aee184863107f442f34c1a860ed109772651e4cdd3472e1d9/merged/sbin
e.g. I want to change my NIC interface from dhcp to static IP etc... via root user.
Also using root user to do tail -F ambari-server.log is a pain due to long path names.
Is it suppose to be like this ?
Created 03-16-2018 03:45 AM
ssh localhost -p 2222
Should take your to docker container where HDP is installed and you can use the regular paths like /var/log/ambari-server/ambari-server.log. Not sure if you already tried this.
Created 03-16-2018 12:02 AM
its vmware , how do most people setup their environment ? I am confused why would they nest this so deep ?
Created 03-16-2018 03:45 AM
ssh localhost -p 2222
Should take your to docker container where HDP is installed and you can use the regular paths like /var/log/ambari-server/ambari-server.log. Not sure if you already tried this.
Created 03-28-2018 04:48 AM
To which question you answered? Who accepted your answer as the best answer? The question is ambiguous and your response is at most a comment ... Useless.