Member since
02-29-2016
11
Posts
14
Kudos Received
2
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2141 | 03-08-2016 08:26 PM | |
13959 | 02-29-2016 03:42 AM |
03-09-2016
02:28 PM
Can you share more details about your solution? Which config / system files you had to change?
... View more
03-08-2016
08:26 PM
2 Kudos
I solved that issue by doing $ ambari-server upgrade. I am able to login to web ui now.
... View more
03-08-2016
08:01 PM
I checked ambari-server.log, it's saying database version issue. [root@ttsv-lab-vmdb-01 jdk64]# tail -f /var/log/ambari-server/ambari-server.log
08 Mar 2016 11:49:57,623 INFO [main] ControllerModule:578 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.EmailDispatcher
08 Mar 2016 11:49:57,702 INFO [main] ControllerModule:578 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.SNMPDispatcher
08 Mar 2016 11:49:57,704 INFO [main] ControllerModule:578 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.AlertScriptDispatcher
08 Mar 2016 11:50:00,769 INFO [main] AmbariServer:807 - Getting the controller
08 Mar 2016 11:50:01,829 INFO [main] DatabaseChecker:154 - Checking DB store version
08 Mar 2016 11:50:02,531 WARN [main] DatabaseChecker:184 - Current database store version is not compatible with current server version, serverVersion=2.2.1.0, schemaVersion=2.2.0.0
08 Mar 2016 11:50:02,532 ERROR [main] AmbariServer:820 - Failed to run the Ambari Server
org.apache.ambari.server.AmbariException: Current database store version is not compatible with current server version, serverVersion=2.2.1.0, schemaVersion=2.2.0.0
at org.apache.ambari.server.controller.utilities.DatabaseChecker.checkDBVersion(DatabaseChecker.java:185)
at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:812)
^C Regards, ~Vinti
... View more
03-08-2016
07:58 PM
1 Kudo
I was trying to update ambari 2.2.0 to 2.2.1. I ran following commands on my machine: $ cd /etc/yum.repos.d/ $ wget http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.2.1.0/ambari.repo # Install $ yum install ambari-server $ ambari-server start First, time it was not giving any error when trying to start amari sever but was not able to login using "admin" "admin" username and password. Then i tried to stop and re-started Ambari and now i am getting below error. [root@ttsv-lab-vmdb-01 jdk64]# [root@ttsv-lab-vmdb-01 jdk64]# tail -f var/log/ambari-server/ambari-server.out^C
[root@ttsv-lab-vmdb-01 jdk64]# ambari-server start
Using python /usr/bin/python2
Starting ambari-server
Ambari Server running with administrator privileges.
Organizing resource files at /var/lib/ambari-server/resources...
Server PID at: /var/run/ambari-server/ambari-server.pid
Server out at: /var/log/ambari-server/ambari-server.out
Server log at: /var/log/ambari-server/ambari-server.log
Waiting for server start....................
ERROR: Exiting with exit code -1.
REASON: Ambari Server java process died with exitcode 255. Check /var/log/ambari-server/ambari-server.out for more information. I checked the file /var/log/ambari-server/ambari-server.out but it was empty. Thanks, ~Vinti
... View more
Labels:
- Labels:
-
Apache Ambari
03-06-2016
09:41 PM
2 Kudos
I am getting alert in Ambari for Host disk full: I checked my machine disk space, it's showing 100% full but i am not sure what should i delete as i have already deleted logs which were greater then 100MB size. But it's still showing same. Can anyone help me in this? I am using kafka, hbase and spark-streaming. Please find screenshot attached of my disk usage:
screen-shot-2016-03-06-at-13742-pm.png screen-shot-2016-03-06-at-14231-pm.png Regards, ~Vinti
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Kafka
-
Apache Spark
03-02-2016
12:56 AM
1 Kudo
Thanks Neeraj, It's working now.
... View more
03-02-2016
12:44 AM
1 Kudo
Hi, It was running fine, but suddenly, I started getting below error, Does anyone know what can be the issue? I restarted zookeepr from ambari as well. [root@ttsv-lab-vmdb-01 ~]# /usr/hdp/current/kafka-broker/bin/kafka-console-consumer.sh --zookeepelocalhost:2081 --topic 56d4a92bb0073e537755b461 --from-beginning
[2016-03-01 16:37:13,249] WARN Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn)
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739)
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1125)
[2016-03-01 16:37:13,354] WARN Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn)
java.net.ConnectException: Connection refused
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Kafka
03-01-2016
08:52 PM
2 Kudos
Hi, I wanted to set "auto.offset.reset" to smallest in kafka consumer, as i my kafka consumer (spark-scala program) is not reading data from beginning currently. https://kafka.apache.org/08/configuration.html * smallest : automatically reset the offset to the smallest offset
Thanks & Regards, Vinti
... View more
Labels:
- Labels:
-
Apache Kafka
-
Apache Spark
02-29-2016
03:57 AM
2 Kudos
Initially i had two machines to setup hadoop, spark, hbase, kafka, zookeeper, MR2 . Each of those machines had 16GB of RAM. I used Apache Ambari to setup the two machines with the above mentioned services. Now i have upgraded the RAM of each of those machines to 128GB. How can i now tell Ambari to scale up all its services to make use of the additional memory? Do i need to understand how the memory is configured for each of these services? Is this part covered in Ambari documentation somewhere?
... View more
Labels:
- Labels:
-
Apache Ambari
02-29-2016
03:42 AM
3 Kudos
I could finally solve it by combining some of the steps mentioned above. I first checked what is the value of `zookeeper.znode.parent` in HBase. I tried setting that same value in Ambari, but that did not work because some of the metrics processes were already running on that machine. So, i had to `ps -ef | grep metrics` and kill all of them as they were caching the `/hbase` value. Watch the ambari metrics collector logs ( /var/log/ambari-metrics-collector/ambari-metrics-collector.log) while you do the below steps Steps: 0. tail -f /var/log/ambari-metrics-collector/ambari-metrics-collector.log 1. Stop Ambari 2. Kill all the metrics processes 3. curl --user admin:admin -i -H "X-Requested-By: ambari" -X DELETE http://`hostname -f`:8080/api/v1/clusters/CLUSTERNAME/services/AMBARI_METRICS => Make sure you replace CLUSTERNAME with your cluster name 4. Refresh Ambari UI 5. Add Service 6. Select Ambari Metrics 7. In the configuration screen, make sure to set the value of `zookeeper.znode.parent` to what is configured in the HBase service. By default in Ambari Metrics it is set to empty value. 8. Deploy
... View more