Member since
01-04-2016
409
Posts
313
Kudos Received
35
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
4632 | 01-16-2018 07:00 AM | |
1350 | 09-13-2017 06:17 PM | |
2846 | 09-13-2017 05:58 AM | |
1760 | 08-28-2017 07:16 AM | |
3692 | 05-11-2017 11:30 AM |
09-28-2016
07:34 AM
1 Kudo
@li michael I faced same issue and I resolved the issue after update the python package with yum update python* Once try and if this also help you to resolve the issue.
... View more
09-26-2016
10:31 AM
1 Kudo
Hi I done following steps :- 1) Run service check . 2)follow the link and updated the config from backend :- https://cwiki.apache.org/confluence/display/AMBARI/Modify+configurations 3) And then restarted the service and issue is resolved.
... View more
09-26-2016
09:45 AM
2 Kudos
I am trying to upgrade the ambari from version 2.1 to 2.3, but getting eroor:- Last Service Check should be more recent than the last configuration change for the given service Thanks in advance.
... View more
Labels:
- Labels:
-
Apache Ambari
09-21-2016
09:32 AM
3 Kudos
Ambari version 2.4.2 HDP version 2.1 Getting following error while restarting hive from ambari. resource_management.core.exceptions.Fail: Execution of 'export HIVE_CONF_DIR=/etc/hive/conf.server ; /usr/hdp/current/hive-metastore/bin/schematool -initSchema -dbType mysql -userName hive -passWord [PROTECTED] -verbose' returned 127. -bash: /usr/hdp/current/hive-metastore/bin/schematool: No such file or directory Thanks in advance for help.
... View more
Labels:
- Labels:
-
Apache Hive
09-16-2016
08:07 AM
2 Kudos
To upgrade it will take time so I have written script to get the graph of queue usage data:- Gnuplot installed on linux box cat data.sh #!/bin/bash WD='/path where we will resotre
the data FN=`date +%Y%m%d%H%M%S` curl "http://XXX.XXX.XXX:8088/ws/v1/cluster/scheduler"
> $WD/$FN To collect the output in one file for creating one graph for qurue usage:- cat queue.sh HM=home path where stored all config and script WD=$HM/original QD=$HM/queue-data rm -rf $QD/* cd $WD for que in abc xyz xx do for i in `ls` do column=`awk -F',' '{ for (i=0; i<=NF; i++) {print i,$i}}' $i| grep $que | tail -1 | awk '{print $1}'` uc=$((column-6)) auc=$((column-2)) awk -F',' '{print ARGV[3], $ucp, $aucp}' ucp="$uc" aucp="$auc" $i | awk -F' ' '{print $1" "$2" "$3}' | awk -F':' '{print $1" "$2" "$3}' | awk '{print $1" "$3" "$5}' >> $QD/$que done done paste -d' ' $QD/abc $QD/xyz $QD/xx | gawk '{print $1 " " $3 " " $6 " " $9 " " $12 " " $15 " " $18 " " $21 " " $24" " $27}' >>$QD/all_que Than create a conf file for create graph:- cat 1.conf set terminal png truecolor size 2000,600 set output "all-in-1.png" set autoscale set xdata time set timefmt "%Y%m%d%H%M%S" set format x "%Y/%m/%d\n%H:%M\n" set style data lines set key reverse Left outside set xlabel "Time(in IST)" set ylabel "Used Capacity" set title "non-parental-queue-usage" plot "/home/xyz" using 1:2 title "xyz", '' using 1:3 title "abc", '' using 1:4 title "xx" /home/xyz is path from where we will get the details of que usage and time In this conf on xlabel is use for TIme and ylable for used capacity of queue. Now plot the graph using following command- cat 1.conf | gnuplot You will see the graph Thanks for the reply.....!!!!!!!
... View more
09-15-2016
01:13 PM
2 Kudos
Steps for installation cd /root yum install git git clone https://github.com/hortonworks-gallery/ambari-zeppelin-service.git echo $VERSION cd /var/lib/ambari-server/resources/stacks/HDP/2.4/services/ mkdir ZEPPELIN mv /root/ambari-zeppelin-service/* /var/lib/ambari-server/resources/stacks/HDP/ 2.4/services/ZEPPELIN/ ambari-agent stop ambari-server restart ambari-agent start then Login to ambari Add service----->>> Zeppelin Notebook And connect to https://zeppline-host:9995 And its works...!!!!!!
... View more
09-15-2016
01:09 PM
1 Kudo
I wrote one script for this. We can't migrate right now because it will take time to upgrade, this is client system.
... View more
09-14-2016
11:08 AM
1 Kudo
Hi I am using ambari 1.7. Hdp 2.1 We have multiple queue's to run jobs. Now we want to take the output of queue usage in graph . Any idea how to do this.
... View more
Labels:
- Labels:
-
Apache Ambari
09-13-2016
10:48 AM
currently using java java -version "1.7.0_111" OpenJDK Runtime Environment (rhel-2.6.7.2.el6_8-x86_64 u111-b01) OpenJDK 64-Bit Server VM (build 24.111-b01, mixed mode)
... View more
09-13-2016
09:53 AM
@Sagar Shimpi Error was:- Ambari Server configured for Embedded Postgres. Confirm you have made a backup of the Ambari Server database [y/n] (y)? Upgrading database schema Error output from schema upgrade command: Exception in thread "main" java.lang.Exception: Unexpected error, upgrade failed at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:370) Caused by: java.lang.RuntimeException: java.lang.Exception at org.apache.ambari.server.state.stack.OsFamily.init(OsFamily.java:92) And yes also planning to upgrade the HDP.
... View more