Member since
07-18-2016
262
Posts
12
Kudos Received
21
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
6717 | 09-21-2018 03:16 AM | |
3226 | 07-25-2018 05:03 AM | |
4181 | 02-13-2018 02:00 AM | |
1956 | 01-21-2018 02:47 AM | |
38062 | 08-08-2017 10:32 AM |
03-31-2017
05:48 PM
1) Error
Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/service_check.py", line 138, in <module>
OozieServiceCheck().execute()
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 219, in execute
method(env)
File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/service_check.py", line 61, in service_check
OozieServiceCheckDefault.oozie_smoke_shell_file(smoke_test_file_name, prepare_hdfs_file_name)
File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/service_check.py", line 123, in oozie_smoke_shell_file
logoutput=True
File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154, in __init__
self.env.run()
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
self.run_action(resource, action)
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
provider_action()
File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 238, in action_run
tries=self.resource.tries, try_sleep=self.resource.try_sleep)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner
result = function(command, **kwargs)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
tries=tries, try_sleep=try_sleep)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper
result = _call(command, **kwargs_copy)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291, in _call
raise Fail(err_msg)
resource_management.core.exceptions.Fail: Execution of '/var/lib/ambari-agent/tmp/oozieSmoke2.sh redhat /var/lib/oozie /etc/oozie/conf /usr/bin http://centos2.test.com:11000/oozie /usr/share/doc/oozie-4.0.0.2.1.10.0 /etc/hadoop/conf /usr/bin ambari-qa False' returned 1. source /etc/oozie/conf/oozie-env.sh ; /usr/bin/oozie -Doozie.auth.token.cache=false job -oozie http://centos2.test.com:11000/oozie -config /usr/share/doc/oozie-4.0.0.2.1.10.0/examples/apps/map-reduce/job.properties -run
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/lib/oozie/lib/slf4j-log4j12-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/lib/oozie/lib/slf4j-simple-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
log4j:WARN No appenders could be found for logger (org.apache.hadoop.security.authentication.client.KerberosAuthenticator).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Error: E0501 : E0501: Could not perform authorization operation, User: oozie is not allowed to impersonate ambari-qa
Invalid sub-command: Missing argument for option: info
use 'help [sub-command]' for help details
Invalid sub-command: Missing argument for option: info
use 'help [sub-command]' for help details
workflow_status= Error: E0501 : E0501: Could not perform authorization operation, User: oozie is not allowed to impersonate ambari-qa 2)Python script has been killed due to timeout after waiting 300 secs 3) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291, in _call
raise Fail(err_msg)
resource_management.core.exceptions.Fail: Execution of '/var/lib/ambari-agent/tmp/oozieSmoke2.sh redhat /var/lib/oozie /etc/oozie/conf /usr/bin http://centos2.test.com:11000/oozie /usr/share/doc/oozie-4.0.0.2.1.10.0 /etc/hadoop/conf /usr/bin ambari-qa False' returned 1. source /etc/oozie/conf/oozie-env.sh ; /usr/bin/oozie -Doozie.auth.token.cache=false job -oozie http://centos2.test.com:11000/oozie -config /usr/share/doc/oozie-4.0.0.2.1.10.0/examples/apps/map-reduce/job.properties -run
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/lib/oozie/lib/slf4j-log4j12-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/lib/oozie/lib/slf4j-simple-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
log4j:WARN No appenders could be found for logger (org.apache.hadoop.security.authentication.client.KerberosAuthenticator).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Job ID : 0000023-170331225332898-oozie-oozi-W
-----------------------------------------------------
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Hadoop
-
Apache Oozie
03-29-2017
03:22 PM
I am getting the response from server [root@centos ~]# telnet centos2.test.com 3306
Trying 192.168.154.113...
Connected to centos2.test.com.
Escape character is '^]'.
J
5.6.35BNBA\/▒<1!ONu%U^Vtgmysql_native_password
^CConnection closed by foreign host. [root@centos ~]#
... View more
03-29-2017
07:30 AM
Its takes memory from datanode and same Node Manager, where map split is stored(Due to data locality) and map output is stored in an in-memory buffer. when this buffer is almost full then we start (in parallel) the spilling phase in order to remove data from it and reducer output will be stored on the local filesystem.
... View more
03-29-2017
06:25 AM
sure i try for as below and update you. Jay SenSharma zkfs · 13 hours ago 0 Vote Reply Share More...
@zkfs
You are doing telnet on default port. Can you check your MySQL port and the use that connector port to see ambari is able to connect to mysql on that port?
Disable firewall on MySQl port (default mysql port is 3306)
Example: if "centos2" is your mysql host and mysql port is 3306 then you might check like following:
# telnet centos2 3306. Or check if your MySQL is using the same port?
Else fix the N/W or firewall issue to allow access to that mysql port from ambari host.
... View more
03-28-2017
04:45 PM
3)[root@centos ambari-server]# telnet centos2
Trying 192.168.154.113...
telnet: connect to address 192.168.154.113: Connection refused
[root@centos ambari-server]#
Please advise
... View more
03-28-2017
04:43 PM
Please find information as below [root@centos2 ~]# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 13
Server version: 5.6.35 MySQL Community Server (GPL)
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| hive |
| mysql |
| performance_schema |
+--------------------+
4 rows in set (0.00 sec)
mysql>
... View more
03-28-2017
04:41 PM
Thanks for immediate reply, yep we followed the same while installation and database as below. From the Mysql database mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| hive |
... View more
03-28-2017
04:22 PM
1) No error in ambar-server log as below. 28 Mar 2017 21:43:08,779 INFO [main] Configuration:791 - Reading password from existing file
28 Mar 2017 21:43:08,791 INFO [main] Configuration:1128 - Hosts Mapping File null
28 Mar 2017 21:43:08,791 INFO [main] HostsMap:60 - Using hostsmap file null
28 Mar 2017 21:43:09,327 INFO [main] ControllerModule:195 - Detected POSTGRES as the database typ from the JDBC URL
2) [root@centos ambari-server]# ls -lrt /usr/share/java/mysql-connector-java.jar
lrwxrwxrwx 1 root root 31 Mar 23 20:26 /usr/share/java/mysql-connector-java.jar -> mysql-connector-java-5.1.29.jar
... View more
03-28-2017
04:02 PM
Not able to Test the MYSQL database connection from the Ambari-server , while adding the Hive service.
... View more
Labels:
- Labels:
-
Apache Hadoop
-
Apache Hive