Created on 08-31-2018 01:27 PM - edited 09-16-2022 06:39 AM
Created on 08-31-2018 01:56 PM - edited 08-18-2019 02:54 AM
Correction the above instruction was for HDF Sandbox.
So if you want to achieve the same in HDP Sandbox then please try this:
For HDP Sandbox please try this:
# ssh root@127.0.0.1 -p 2122 root@127.0.0.1's password: hadoop
Edit the script "/root/start_scripts/splash.py"
Example: Like changed the following line in "/root/start_scripts/splash.py"
if flavor == "hdp": greet_win.addstr(1, 2, "HDP 2.5")
To something like
if flavor == "hdp": greet_win.addstr(1, 2, "HDP 2.5 (###### Test Application ######) ")
Save the file and then Restarted HDP Sandbox.
.
Created 08-31-2018 01:37 PM
Hi @Mahesh Chaudhary,
i think these is the document you are searching for : https://hortonworks.com/tutorial/learning-the-ropes-of-the-hortonworks-sandbox/#terminal-access
You can explore more on this help guide : https://hortonworks.com/tutorial/learning-the-ropes-of-the-hortonworks-sandbox
Please accept the answer if this helped
Created 08-31-2018 01:50 PM
For HDF Sandbox please try this:
If you want to customize the welcome screen then try something like this:
# ssh root@127.0.0.1 -p 2122 root@127.0.0.1's password: hadoop
Then edit the file "/sandbox/terminal-splash.py"
For example change the line
greet_win.addstr(1, 2, "Hortonworks Sandbox")
With something like
greet_win.addstr(1, 2, "Hortonworks Sandbox ########## TEST APP ##########")<br>
Then restart your Sandbox.
Created on 08-31-2018 01:56 PM - edited 08-18-2019 02:54 AM
Correction the above instruction was for HDF Sandbox.
So if you want to achieve the same in HDP Sandbox then please try this:
For HDP Sandbox please try this:
# ssh root@127.0.0.1 -p 2122 root@127.0.0.1's password: hadoop
Edit the script "/root/start_scripts/splash.py"
Example: Like changed the following line in "/root/start_scripts/splash.py"
if flavor == "hdp": greet_win.addstr(1, 2, "HDP 2.5")
To something like
if flavor == "hdp": greet_win.addstr(1, 2, "HDP 2.5 (###### Test Application ######) ")
Save the file and then Restarted HDP Sandbox.
.
Created 09-03-2018 09:15 AM
I can't find splash.py file in HDP 2.4, please let me know the workaround for this version.
Created 09-03-2018 09:45 AM
Are you using Correct SSH port to connect to the HDP VM (2122)?
# ssh root@127.0.0.1 -p 2122 root@127.0.0.1's password: hadoop . . #### In order to find a file, please try using the "locate" command. # yum install mlocate -y # updatedb # locate splash.py
Created 09-03-2018 11:02 AM
Perfect. Thanks a lot , I was able to find the script using locate command.
Created 09-03-2018 11:22 AM
Wonderful !!! Good to know that you have found the script. It will be great if you can click on the "Accept" button on the correct answer here to mark this threads as answered, that way other HCC users can quickly find and browse the answer quickly.