Member since
02-24-2016
10
Posts
7
Kudos Received
0
Solutions
03-22-2016
01:34 PM
root@VM-HADOOP-SLAVE2:~# oozie admin -oozie http://vm-hadoop-slave2.out:11100/oozie -status
System mode: NORMAL Notice I had to change the port (from 11000 to 11100) as I explained ahead
... View more
03-22-2016
01:31 PM
I changed the default 10000 for hive and used instead 11000 (since 10000 was busy) root@VM-HADOOP-SLAVE2:~# netstat -anp | grep 10000 tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 1309/perl
udp 0 0 0.0.0.0:10000 0.0.0.0:* 1309/perl Thats why 11000 was already busy (used by hive) and that's why I was having problems. Know that I change the port to 11100 everything is ok
... View more
03-21-2016
08:38 PM
1 Kudo
Thanks for your answers, it was a port issue, port 11000 was already busy. I now use 11100 and now everything is fine
... View more
03-21-2016
10:55 AM
I have install Oozie with Ambari but I am getting 2 alerts this is m tail of ambari-alerts.log root@VM-HADOOP-SLAVE2:/var/log/ambari-agent# tail -8 ambari-alerts.log
INFO 2016-03-17 17:29:13,985 logger.py:67 - call['test -w /run/user'] {'sudo': True, 'timeout': 5}
INFO 2016-03-17 17:29:13,994 logger.py:67 - call returned (0, '')
INFO 2016-03-17 17:29:13,994 logger.py:67 - call['test -w /hadoop'] {'sudo': True, 'timeout': 5}
INFO 2016-03-17 17:29:14,004 logger.py:67 - call returned (0, '')
INFO 2016-03-17 17:29:17,158 logger.py:67 - Execute['export HIVE_CONF_DIR='/usr/hdp/current/hive-metastore/conf/conf.server' ; hive --hiveconf hive.metastore.uris=thriftm-hadoop-slave2.out:9083 --hiveconf hive.metastore.client.connect.retry.delay=1 --hiveconf hive.metastore.failure.retries=1 -hiveconf hive.metastore.connect.retries=1 --hiveconf hive.metastore.client.socket.timeout=14 --hiveconf hive.execution.engine=mr -e 'shotabases;''] {'path': ['/bin/', '/usr/bin/', '/usr/sbin/', '/usr/hdp/current/hive-metastore/bin'], 'user': 'ambari-qa', 'timeout': 30}
INFO 2016-03-17 17:29:17,177 logger.py:67 - Execute['! beeline -u 'jdbc:hive2://vm-hadoop-slave2.out:11000/;transportMode=binary' -e '' 2>&1| awk '{print}'|grep -i -e 'Cction refused' -e 'Invalid URL''] {'path': ['/bin/', '/usr/bin/', '/usr/lib/hive/bin/', '/usr/sbin/'], 'user': 'ambari-qa', 'timeout': 30}
INFO 2016-03-17 17:29:17,214 logger.py:67 - Execute['source /usr/hdp/current/oozie-server/conf/oozie-env.sh ; oozie admin -oozie http://vm-hadoop-slave2.out:11000/oozie tus'] {'environment': None, 'user': 'oozie'}
ERROR 2016-03-17 17:29:17,717 script_alert.py:112 - [Alert][oozie_server_status] Failed with result CRITICAL: ["Execution of 'source /usr/hdp/current/oozie-server/conf/o-env.sh ; oozie admin -oozie http://vm-hadoop-slave2.out:11000/oozie -status' returned 255. Error: IO_ERROR : java.io.IOException: Error while connecting Oozie server. N retries = 1. Exception = Could not authenticate, Authentication failed, status: -1, message: null"]
root@VM-HADOOP-SLAVE2:/var/log/ambari-agent# Can somebody could help me figure out what is the problem?
... View more
Labels:
- Labels:
-
Apache Oozie
02-24-2016
05:00 PM
1 Kudo
ok thanks
... View more
02-24-2016
03:44 PM
everything is doing well now, my cluster is working perfectly and my web UI either. If there is not problem having an ambari-agent on the ambari server host I would keep it there. I was only wondering if it could become a problem, but since you told me it wont (and maybe it could be helpful in the future) I will live it there. Thanks a lot
... View more
02-24-2016
03:29 PM
1 Kudo
In the host where I tried to remove the agent I just had the ambari server. I have used ambari Web UI wizard to create a hadoop cluster but on 3 other hosts an in that cluster I have few services (hdfs, pig, hive, MapReduce2 etc ) but in the host where the ambari server resides I have done nothing but just the configurations and environment settings .
... View more
02-24-2016
03:16 PM
1 Kudo
I installed the agent manually: wget -nv http://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/2.2.0.0/ambari.list -O /etc/apt/sources.list.d/ambari.list
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD
apt-get update apt-get install ambari-agent and Configure the Ambari Agent by editing the ambari-agent.int In order to get the error I should uninstall the agent and restart the server I will do it
... View more
02-24-2016
03:04 PM
2 Kudos
Hi, On the ambari server node I installed both ambari-server and ambari-agent (by mistake) . When I realized it I removed theambari-agent but then I got an error when trying to start ambari server and I had to reinstall ambari-agent again and in this way I got no error. I would like to understand how comes I cannot remove the ambari-agent from ambari server node. Somebody could explain to me how I can I remove the agent and what does it implies having amabri-agent and ambari-server both running on the ambari server node? My cluster is made of 3 nodes and the ambari server is not part of the cluster but just an ambari serever. Thanks in advance
... View more
Labels:
- Labels:
-
Apache Ambari