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]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Sandbox hdp 264 question

avatar
New Member

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
New Member

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
New Member

@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.