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]
Created on 06-28-2016 01:19 PM - edited 08-18-2019 04:45 AM
Hello @slachterman
Greetings!!!
I am trying to copy a file from my local windows machine to sandbox using below command and not seeing the file in sandbox root directory after executing command.
scp -P C:/Users/rnkumashi/Downloads/sample.txt root@localhost:/root
1.I am connected to sandbox using Vm ware.
2.After executing the command i am trying to list the content in sandbox root directory and not seeing the file.
Please see below for the details.
any help would be great and i am new to sandbox.
Created 06-28-2016 01:25 PM
Try this command instead.
scp -P 2222 C:/Users/rnkumashi/Downloads/sample.txt root@localhost:/root
However you need something like cygwin to make scp work from windows machine.
You have to run the command from windows, not sandbox.
This is a good document to get you started http://hortonworks.com/hadoop-tutorial/learning-the-ropes-of-the-hortonworks-sandbox/
Created 02-14-2017 10:30 PM
please take a look at my comment above and address those questions for further troubleshooting.
Created on 02-14-2017 10:41 PM - edited 08-18-2019 04:44 AM
Created on 02-24-2017 03:46 AM - edited 08-18-2019 04:43 AM
Hello, I am trying to copy a file and following the above working suggestion, however, it failed here, please see the screenshot.
First time:
scp C/RXIE/Learning/Github/spark-master/examples/src/main/python/streaming/kafka_wordcount.py root@localhost:/root
Second time:
scp C:/RXIE/Learning/Github/spark-master/examples/src/main/python/streaming/kafka_wordcount.py root@localhost:/root
How do I fix it? Thank you very much.
Created on 02-24-2017 03:49 AM - edited 08-18-2019 04:43 AM
I tried again using the hortonworks sandbox's ip address, this time it says Connection refused (tried port 2222, failed with same error)
scp C/RXIE/Learning/Github/spark-master/examples/src/main/python/streaming/kafka_wordcount.py [email protected]:/root