Member since
01-19-2017
3656
Posts
624
Kudos Received
365
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
424 | 12-22-2024 07:33 AM | |
263 | 12-18-2024 12:21 PM | |
294 | 12-18-2024 08:50 AM | |
1190 | 12-17-2024 07:48 AM | |
389 | 08-02-2024 08:15 AM |
02-08-2016
01:25 PM
1 Kudo
Zookeeper expiration can happen due to low memory on the node or GCs that are too long You can add session timeout in your hbase-site.xml like this <property> <name>zookeeper.session.timeout</name> <value>60000</value> </property>
... View more
02-08-2016
11:21 AM
1 Kudo
@Rupinder Singh 1.Restarting YARN should solve it. 2. This could be a java heap size problem. or To use both the options, use below command: pig -useHCatalog -x tez -f script.pig To use only Hcat: pig -useHCatalog -f script.pig To use only tez: pig -x tez -f script.pig
... View more
02-08-2016
08:25 AM
@Majid Ali Syed Amjad Ali Sayed Are you still stuck ? If you could you attach your ambari log here.
... View more
02-07-2016
08:34 AM
@Rupinder Singh Try starting the Database and retry but the info you gave doesn't help much in the diagnosis !
... View more
02-07-2016
07:38 AM
1 Kudo
@Majid Ali Syed Amjad Ali Sayed I noticed on the screenshot you attached that started manually the agent on krplhadoop02 (see attached file)krplhadoop-ambari-agent.jpg The agent will be installed by the during the Ambari server installation ! Please clean up that host and relaunch the Ambari install My biggest worry was the passwordless login configuration between the servers in the cluster ,so I had this procedure for you The assumption here is that you are running the Ambari installation as root 1.Delete the directory .ssh in roots home directory on krplhadoop.kaimrc [root@krplhadoop.kaimrc]#ssh-keygen Accept the defaults
[root@krplhadoop.kaimrc]# ls
authorized_keys id_rsa id_rsa.pub known_hosts The first one contains the private key, the second one contains the public key for user root. 2. Now run the command [root@krplhadoop.kaimrc]#cat /root/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys this will add the contents of the root’s file id_rsa.pub to a file authorized_keys. Therefore, if a user will connect to this machine by SSH and will specify the correct private key, this machine will look up into authorized_keys and will know that this is root. 3. Copy this file authorized_keys as root to krplhadoop2.kaimrc in /root/.ssh directory
Also check the permissions on the .ssh directory, id.rsa,authorized_keys and id_rsa.pub keys 4. Configure Database for ambari assuming you are using MySQL and don't forget to yum install mysql-connector-java and the appropriate permissions 644 5. Pre-load the Ambari database schema into your MySQL database then and pre-load the Ambari database schema into your MySQL database 6. [root@krplhadoop.kaimrc]# yum install ambari-server 7. [root@krplhadoop.kaimrc]#ambari-server setup /* output Ambari Server 'setup' completed successfully.*/ 8. [root@krplhadoop.kaimrc]# Start the server #ambari-server start
... View more
02-06-2016
08:31 AM
1 Kudo
@Juan Manuel Perez If you are using Spark >= 1.4 try the following command risk_factor_spark.write.format("orc").save("risk_factor_spark")
... View more
02-06-2016
08:26 AM
@Saurabh Kuma I see you are installing Amabari from 192.168.24.118 pp-hdp-m but the output of your netstat shows this IP
172.24.64.98 using the port 50070. Can you identify this host 172.24.64.98 ? Typically the netstat command should have your hostname 4th and 6th
line see the attached out put from my Ambari server. I guess youe network
configuration is wrong.See
my attached screenshot My Ambarai server is listeneing to the correct port Your hostname looks okay 1. Do the following [root@had etc] # vi /etc/sysconfig/network NETWORKING=yes HOSTNAME= pp-hdp-m 2. Edit the ifcfg-eth0 - ifcfg-eth0 depending on attached NIC’s [root@had ] vi /etc/sysconfig/network-scripts DEVICE=eth0 HWADDR=00:15:17:12:F2:50 TYPE=Ethernet UUID=6428569e-e729-4985-974d-e87fc81a8796 NM_CONTROLLED=yes ONBOOT=yes BOOTPROTO=dhcp 3. See the output of ifconfig check the IP addresses mapped to all the
NIC's attached: [root@had ] ifconfig Your cuurent IP should map to one of the NIC’s attached If you are on a vmware check the IP's of other hosts
... View more
02-05-2016
10:09 PM
@Prakash Punj try rebooting that server ans restart the Ambari server.. Then log you upload says "Port in use: pp-hdp-m:50070 at org.apache.hadoop.http.HttpServer2.openListeners" If you want help then you need to follow some tips from this forum by elimination we cn come to your rescue !
... View more
02-05-2016
10:01 PM
Kill the process that is using the port 50070
15:12:21,968 ERROR namenode.NameNode (NameNode.java:main(1712)) - Failed to start namenode. java.net.BindException: Port in use: pp-hdp-m:50070 at org.apache.hadoop.http.HttpServer2.openListeners(HttpServer2.java:919) at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:856) at
... View more
02-05-2016
04:13 PM
@Robin Dong Any updates?
... View more