Member since
02-22-2017
11
Posts
1
Kudos Received
0
Solutions
01-11-2017
02:35 PM
Hi Geoffrey, Assigning the network adapter in settings as per your doc. worked fine.
Now I'm able to ssh to VB. Thanks.
... View more
01-11-2017
01:55 PM
Hi Sagar, Yes I'm able to access the machine directly from its VB console with user/password provided.
Also, ip address that assigned to VB by DHCP is 10.0.0.22 and when I try to ssh to this address from my terminal
I got: ssh root@10.0.0.22 -p 2222
ssh: connect to host 10.0.0.22 port 2222: No route to host When I ping 10.0.0.22 I see that I can't reach this VB from my OS. $ ping 10.0.0.22
PING 10.0.0.22 (10.0.0.22) 56(84) bytes of data.
From 10.0.0.15 icmp_seq=1 Destination Host Unreachable
... View more
01-11-2017
09:08 AM
I'm using linux fedora 23. First, there is no prompt "You can access SSH by $ ssh root@127.0.0.1 -p 2222" on startup screen. Second, when I try to connect from my terminal to started HDP 2.4 sandbox via ssh I got the error: $ ssh root@127.0.0.1 -p 2222 ssh: connect to host 127.0.0.1 port 2222: Connection refused
... View more
Labels:
- Labels:
-
Hortonworks Data Platform (HDP)
08-04-2016
08:20 PM
Finally it worked. Needed to install separate key pair for passwordless SSH communication but still used insecure_private_key for registration in ambari.
Thanks.
... View more
08-04-2016
06:17 PM
As I already mentioned 2 machines can communicate with SSH passwordless in both directions using their own rsa public keys.
From the other hand the virtual host c7001 (where ambari resides in) on machine 1 can't communicate with virtual host c7003 on machine 2, as they use single insecure_private_key, which in turn is used by vagrant to make internal virtual hosts SSH communication within a virtualbox. So, I'm kind of uncertain should I use one more private/public key pair for each of virtual hosts separated by machines to establish passwordless SSH communication for them as well as for physical machines. Then the question arise which one to use in ambari 'Add Host Wizard' -> 'Install Options' -> Provide your SSH private key. Are there formal guidelines, docs, etc. for ambari that installs Hadoop cluster in distributed maner?
... View more
08-04-2016
04:26 PM
Hi, I recently set up Hadoop cluster with 4 nodes on single machine using vagrant and ambari, all within virtualbox residing on single physical machine.
Now, I decided to modify the topology: remove 2 data nodes from the former machine and add 2 data nodes on another physical machine running its own virtualbox. I installed two hosts on second machine under virtualbox with vagrant. On the 'Add Host Wizard', Confirm Hosts step I fail with the error: "Host checks were skipped on 1 hosts that failed to register." Looking at the ambari-server log at /var/log/ambari-server/ambari-server.log I found the following log error: INFO:root:BootStrapping hosts ['c7003.ambari.apache.org'] using /usr/lib/python2.6/site-packages/ambari_server cluster primary OS: redhat7 with user 'vagrant' sshKey File /var/run/ambari-server/bootstrap/6/sshKey password File null using tmp dir /var/run/ambari-server/bootstrap/6 ambari: c7001.ambari.apache.org; server_port: 8080; ambari version: 2.2.2.0; user_run_as: root
INFO:root:Executing parallel bootstrap
ERROR:root:ERROR: Bootstrap of host c7003.ambari.apache.org fails because previous action finished with non-zero exit code (1)
ERROR MESSAGE: Connection to c7003.ambari.apache.org closed. which hints that ambari-server is trying to start up c7003 node on its local virtualbox (although it is already running on the different machine).
The communication between two machine is SSH passwordless and I checked it is working in both directions. Does amabari support the cluster that is distributed accross multiple machines? Thanks
Zeev
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Hadoop
01-19-2016
08:11 PM
@Jonas Straub @Neeraj Sabharwal Using of hdfs user instead of root did work.
Appreciate.
Zeev
... View more
01-19-2016
07:55 PM
@Jonas Strau
@Neeraj Sabharwal Thank you Guys.
Since the /mp2/links, /mp2/titles, and /mp2/misc folders dynamically created and removed, I better run
on behalf of hdfs user, i.e. su - hdfs.
Will try this out.
Thanks.
Zeev Lazarev
... View more
01-19-2016
05:36 AM
1 Kudo
Hi,
I got these errors when running any scripts of tutorials for Hortonworks sandbox HDP 2.3.2 on linux: [root@sandbox cloudapp-mp2]# bash start.sh
Coursera User ID: 15677561
User Id: 15677561
Dataset: 15
Dataset Patch: 4
User Id: 15677561
Prepare the Environment
/root/cloudapp-mp2
Prepare the HDFS
mkdir: Permission denied: user=root, access=WRITE, inode="/mp2/links":hdfs:hdfs:drwxr-xr-x
mkdir: Permission denied: user=root, access=WRITE, inode="/mp2/titles":hdfs:hdfs:drwxr-xr-x
mkdir: Permission denied: user=root, access=WRITE, inode="/mp2/misc":hdfs:hdfs:drwxr-xr-x
put: `/mp2/links/': No such file or directory
put: `/mp2/titles/': No such file or directory
put: `/mp2/misc/': No such file or directory
Done Please advice.
Thanks.
Zeev Lazarev
... View more
Labels:
- Labels:
-
HDFS
-
Hortonworks Data Platform (HDP)