Tuesday, March 14, 2017

Hortonworks SandBox on Azure



Bitwise or Putty for Port Forwarding

0. Ambari - localhost:8080 admin/admin

1. Login to VM (public Ip Address) provided with user Id specified while creating  it              .    pankaj/LetsDoIt2017
2. sudo su - root   <<>>
3. After login in Make sure yo do ssh to docker container, not the VM. Do this:
ssh -p2222 root@127.0.0.1
Password: Pankaj123

and then try all the commands you want to.
Like --> ambari-admin-password-reset
     admin/admin

----
FIles on hdf with command line
1. Login to sandbox
2. ssh root@127.0.0.1 -p 2222
su hdfs
cd
wget https://github.com/pankajchopra/togaf/blob/master/Hadoop/driver_data/drivers.csv

hdfs dfs -moveFromLocal drivers.csv /user/pankaj/drivers.csv


hdfs list of commands
hdfs dfs < list of file system commands>



No comments:

Post a Comment

Followers