<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question vmware sandbox path exporting/symbolic link update script? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/vmware-sandbox-path-exporting-symbolic-link-update-script/m-p/184485#M58791</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am trying to run a simple kafka example using vmware version of the sandbox and also using this post below as a guide&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.linkedin.com/pulse/experimenting-apache-kafka-andy-faibishenko" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.linkedin.com/pulse/experimenting-apache-kafka-andy-faibishenko&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When I start up the sandbox all of my directories which contain scripts or even a version of JAVA seem to be buried in /var/lib/docker/overlay/[somehashvalue]. They have not been added to the system PATH or symbolically linked. &lt;/P&gt;&lt;P&gt;Is there a startup script that does either of these things 1)symbolically links all dependencies 2) adds all dependencies to the system path. I am finding it hard to believe that I have to go through and manually update these values to run anything.&lt;/P&gt;&lt;P&gt;So in step 1 &lt;STRONG&gt;cd /usr/hdp/current/kafka-broker&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have no such folder structure instead I have a similar structure underneath the 'docker/overlay'&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="14317-kafka-broker.png" style="width: 1220px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18974i38B209168D2CCB81/image-size/medium?v=v2&amp;amp;px=400" role="button" title="14317-kafka-broker.png" alt="14317-kafka-broker.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If I cd to this directory I can see that the symbolic link is broken (for all services not just kafka)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="14321-kafka-broker-dir.png" style="width: 1176px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18975i379A563A13E71BE5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="14321-kafka-broker-dir.png" alt="14321-kafka-broker-dir.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I do however have the directory structure /usr/hdp/[version]/kafka available but it is also prefixed by /var/lib/docker/overlay[somehashvalue]&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="14322-kafka-dir.png" style="width: 1226px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18976i54FEC140D4DBF522/image-size/medium?v=v2&amp;amp;px=400" role="button" title="14322-kafka-dir.png" alt="14322-kafka-dir.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here you can see the symbolic links are also broken&lt;/P&gt;&lt;P&gt;I tried once to freestyle fix all the broken links by pointing them to their respective directories /var/lib/docker/overlay/[somehashvalue] but I think I was ultimately missing some things. I haven't seen this issue from anyone else in the sandbox subforum so I am thinking I must be on the wrong track.&lt;/P&gt;&lt;P&gt;If not, can anybody walk me through my issues. My first problem occurs with the following create topic command.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic kafkatest&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;where it can't find a verison of java...I see the following versions of java. Both linux cmds 'which java' and 'whereis java' return nothing. No java is available from the path&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="14324-java-open-jdk.png" style="width: 1673px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18977i8C4A2C1170E8E953/image-size/medium?v=v2&amp;amp;px=400" role="button" title="14324-java-open-jdk.png" alt="14324-java-open-jdk.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for any help or guidance&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/8123iAFDEC5837926E89C/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="java-not-found.png" title="java-not-found.png" /&gt;</description>
    <pubDate>Sun, 18 Aug 2019 08:32:41 GMT</pubDate>
    <dc:creator>danmfitbit</dc:creator>
    <dc:date>2019-08-18T08:32:41Z</dc:date>
    <item>
      <title>vmware sandbox path exporting/symbolic link update script?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/vmware-sandbox-path-exporting-symbolic-link-update-script/m-p/184485#M58791</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am trying to run a simple kafka example using vmware version of the sandbox and also using this post below as a guide&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.linkedin.com/pulse/experimenting-apache-kafka-andy-faibishenko" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.linkedin.com/pulse/experimenting-apache-kafka-andy-faibishenko&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When I start up the sandbox all of my directories which contain scripts or even a version of JAVA seem to be buried in /var/lib/docker/overlay/[somehashvalue]. They have not been added to the system PATH or symbolically linked. &lt;/P&gt;&lt;P&gt;Is there a startup script that does either of these things 1)symbolically links all dependencies 2) adds all dependencies to the system path. I am finding it hard to believe that I have to go through and manually update these values to run anything.&lt;/P&gt;&lt;P&gt;So in step 1 &lt;STRONG&gt;cd /usr/hdp/current/kafka-broker&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have no such folder structure instead I have a similar structure underneath the 'docker/overlay'&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="14317-kafka-broker.png" style="width: 1220px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18974i38B209168D2CCB81/image-size/medium?v=v2&amp;amp;px=400" role="button" title="14317-kafka-broker.png" alt="14317-kafka-broker.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If I cd to this directory I can see that the symbolic link is broken (for all services not just kafka)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="14321-kafka-broker-dir.png" style="width: 1176px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18975i379A563A13E71BE5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="14321-kafka-broker-dir.png" alt="14321-kafka-broker-dir.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I do however have the directory structure /usr/hdp/[version]/kafka available but it is also prefixed by /var/lib/docker/overlay[somehashvalue]&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="14322-kafka-dir.png" style="width: 1226px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18976i54FEC140D4DBF522/image-size/medium?v=v2&amp;amp;px=400" role="button" title="14322-kafka-dir.png" alt="14322-kafka-dir.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here you can see the symbolic links are also broken&lt;/P&gt;&lt;P&gt;I tried once to freestyle fix all the broken links by pointing them to their respective directories /var/lib/docker/overlay/[somehashvalue] but I think I was ultimately missing some things. I haven't seen this issue from anyone else in the sandbox subforum so I am thinking I must be on the wrong track.&lt;/P&gt;&lt;P&gt;If not, can anybody walk me through my issues. My first problem occurs with the following create topic command.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic kafkatest&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;where it can't find a verison of java...I see the following versions of java. Both linux cmds 'which java' and 'whereis java' return nothing. No java is available from the path&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="14324-java-open-jdk.png" style="width: 1673px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18977i8C4A2C1170E8E953/image-size/medium?v=v2&amp;amp;px=400" role="button" title="14324-java-open-jdk.png" alt="14324-java-open-jdk.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for any help or guidance&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/8123iAFDEC5837926E89C/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="java-not-found.png" title="java-not-found.png" /&gt;</description>
      <pubDate>Sun, 18 Aug 2019 08:32:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/vmware-sandbox-path-exporting-symbolic-link-update-script/m-p/184485#M58791</guid>
      <dc:creator>danmfitbit</dc:creator>
      <dc:date>2019-08-18T08:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: vmware sandbox path exporting/symbolic link update script?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/vmware-sandbox-path-exporting-symbolic-link-update-script/m-p/184486#M58792</link>
      <description>&lt;P&gt;Long story short, no more problems after a vm reboot. The directory structure no longer exists in /var/lib/docker/ ... and instead everything seems to be in the right place now. No idea what happened. I didn't do anything.&lt;/P&gt;&lt;P&gt;I should've tried the ol' turn it off and back on again sooner. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2017 11:28:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/vmware-sandbox-path-exporting-symbolic-link-update-script/m-p/184486#M58792</guid>
      <dc:creator>danmfitbit</dc:creator>
      <dc:date>2017-04-03T11:28:03Z</dc:date>
    </item>
  </channel>
</rss>

