Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Sandbox hdp 264 question

avatar
Explorer

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 ?

1 ACCEPTED SOLUTION

avatar
@Yung Song
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.

View solution in original post

3 REPLIES 3

avatar
Explorer

its vmware , how do most people setup their environment ? I am confused why would they nest this so deep ?

avatar
@Yung Song
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.

avatar
Contributor

@Sandeep Nemuri

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.