Member since
10-18-2018
11
Posts
0
Kudos Received
0
Solutions
04-10-2019
06:19 PM
Dear Jay, When i am trying to enable HA in Ambari .then getting below error . Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py", line 348, in <module>
NameNode().execute()
File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 375, in execute
method(env)
File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py", line 90, in start
upgrade_suspended=params.upgrade_suspended, env=env)
File "/usr/lib/ambari-agent/lib/ambari_commons/os_family_impl.py", line 89, in thunk
return fn(*args, **kwargs)
File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py", line 175, in namenode
create_log_dir=True
File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/utils.py", line 276, in service
Execute(daemon_cmd, not_if=process_id_exists_command, environment=hadoop_env_exports)
File "/usr/lib/ambari-agent/lib/resource_management/core/base.py", line 166, in __init__
self.env.run()
File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 160, in run
self.run_action(resource, action)
File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 124, in run_action
provider_action()
File "/usr/lib/ambari-agent/lib/rexample.comesource_management/core/providers/system.py", line 262, in action_run
tries=self.resource.tries, try_sleep=self.resource.try_sleep)
File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 72, in inner
result = function(command, **kwargs)
File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 102, in checked_call
tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy)
File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 150, in _call_wrapper
result = _call(command, **kwargs_copy)
File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 303, in _call
raise ExecutionFailed(err_msg, code, out, err)
resource_management.core.exceptions.ExecutionFailed: Execution of 'ambari-sudo.sh su hdfs -l -s /bin/bash -c 'ulimit -c unlimited ; /usr/hdp/2.6.5.0-292/hadoop/sbin/hadoop-daemon.sh --config /usr/hdp/2.6.5.0-292/hadoop/conf start namenode'' returned 1. starting namenode, logging to /var/log/hadoop/hdfs/hadoop-hdfs-namenode-HBDCAUTDBN14.cidr.gov.in.out
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. Thanks & Regards, Prashant Gupta
... View more
02-27-2019
05:50 PM
Dear Team,
When we are trying to launching the instance in ambai 2.6.2 then getting error. Please find the below steps and error.
steps :-
========
Get Started > Select Version > install options > Confirm Hosts
error:-
======
Registering with the server...
Registration with the server failed.
Ambari-server log file :-
27 Feb 2019 14:40:42,613 INFO [pool-18-thread-1] AmbariMetricSinkImpl:95 - No clusters configured.
27 Feb 2019 14:45:42,613 INFO [pool-18-thread-1] MetricsServiceImpl:65 - Attempting to initialize metrics sink
27 Feb 2019 14:45:42,613 INFO [pool-18-thread-1] MetricsServiceImpl:81 - ********* Configuring Metric Sink **********
27 Feb 2019 14:45:42,613 INFO [pool-18-thread-1] AmbariMetricSinkImpl:95 - No clusters configured.
27 Feb 2019 14:50:42,614 INFO [pool-18-thread-1] MetricsServiceImpl:65 - Attempting to initialize metrics sink
27 Feb 2019 14:50:42,614 INFO [pool-18-thread-1] MetricsServiceImpl:81 - ********* Configuring Metric Sink **********
27 Feb 2019 14:50:42,614 INFO [pool-18-thread-1] AmbariMetricSinkImpl:95 - No clusters configured.
27 Feb 2019 14:55:42,614 INFO [pool-18-thread-1] MetricsServiceImpl:65 - Attempting to initialize metrics sink
27 Feb 2019 14:55:42,615 INFO [pool-18-thread-1] MetricsServiceImpl:81 - ********* Configuring Metric Sink **********
27 Feb 2019 14:55:42,615 INFO [pool-18-thread-1] AmbariMetricSinkImpl:95 - No clusters configured.
Ambari-agent log file :-
Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details. WARNING 2019-02-27 15:00:31,741 NetUtil.py:124 - Server at https://xxx.yyyy.example.com:8440 is not reachable, sleeping for 10 seconds... INFO 2019-02-27 15:00:41,741 NetUtil.py:70 - Connecting to https://xxx.yyyy.example.com:8440/ca ERROR 2019-02-27 15:00:41,744 NetUtil.py:96 - [Errno 8] _ssl.c:492: EOF occurred in violation of protocol ERROR 2019-02-27 15:00:41,744 NetUtil.py:97 - SSLError: Failed to connect. Please check openssl library versions. Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details. WARNING 2019-02-27 15:00:41,744 NetUtil.py:124 - Server at https://xxx.yyyy.example.com:8440 is not reachable, sleeping for 10 seconds... INFO 2019-02-27 15:00:51,745 NetUtil.py:70 - Connecting to https://xxx.yyyy.example.com:8440/ca ERROR 2019-02-27 15:00:51,747 NetUtil.py:96 - [Errno 8] _ssl.c:492: EOF occurred in violation of protocol ERROR 2019-02-27 15:00:51,747 NetUtil.py:97 - SSLError: Failed to connect. Please check openssl library versions. Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details. WARNING 2019-02-27 15:00:51,748 NetUtil.py:124 - Server at https://xxx.yyyy.example.com:8440 is not reachable, sleeping for 10 seconds... INFO 2019-02-27 15:01:01,748 NetUtil.py:70 - Connecting to https://xxx.yyyy.example.com:8440/ca ERROR 2019-02-27 15:01:01,751 NetUtil.py:96 - [Errno 8] _ssl.c:492: EOF occurred in violation of protocol ERROR 2019-02-27 15:01:01,751 NetUtil.py:97 - SSLError: Failed to connect. Please check openssl library versions. Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details. WARNING 2019-02-27 15:01:01,751 NetUtil.py:124 - Server at https://xxx.yyyy.example.com:8440 is not reachable, sleeping for 10 seconds... INFO 2019-02-27 15:01:11,752 main.py:439 - Connecting to Ambari server at https://xxx.yyyy.example.com:8440 (10.66.52.93) INFO 2019-02-27 15:01:11,752 NetUtil.py:70 - Connecting to https://xxx.yyyy.example.com:8440/ca ERROR 2019-02-27 15:01:11,755 NetUtil.py:96 - [Errno 8] _ssl.c:492: EOF occurred in violation of protocol ERROR 2019-02-27 15:01:11,755 NetUtil.py:97 - SSLError: Failed to connect. Please check openssl library versions. Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details. WARNING 2019-02-27 15:01:11,755 NetUtil.py:124 - Server at https://xxx.yyyy.example.com:8440 is not reachable, sleeping for 10 seconds...
Thanks & Regards,
Prashant Gupta
... View more
Labels:
01-09-2019
01:36 PM
Dear @Akhil S Naik, We have followed same prerequesties step as per mentioned above the reference link but still getting same error. please find below details. >> tail -f /var/log/ambari-server/ambari-server.log 03 Jan 2019 18:24:27,338 INFO [pool-18-thread-1] AmbariMetricSinkImpl:95 - No clusters configured.
03 Jan 2019 18:29:27,339 INFO [pool-18-thread-1] MetricsServiceImpl:65 - Attempting to initialize metrics sink
03 Jan 2019 18:29:27,339 INFO [pool-18-thread-1] MetricsServiceImpl:81 - ********* Configuring Metric Sink **********
03 Jan 2019 18:29:27,339 INFO [pool-18-thread-1] AmbariMetricSinkImpl:95 - No clusters configured.
03 Jan 2019 18:34:27,339 INFO [pool-18-thread-1] MetricsServiceImpl:65 - Attempting to initialize metrics sink
03 Jan 2019 18:34:27,339 INFO [pool-18-thread-1] MetricsServiceImpl:81 - ********* Configuring Metric Sink **********
03 Jan 2019 18:34:27,340 INFO [pool-18-thread-1] AmbariMetricSinkImpl:95 - No clusters configured.
03 Jan 2019 18:39:27,340 INFO [pool-18-thread-1] MetricsServiceImpl:65 - Attempting to initialize metrics sink
03 Jan 2019 18:39:27,340 INFO [pool-18-thread-1] MetricsServiceImpl:81 - ********* Configuring Metric Sink **********
03 Jan 2019 18:39:27,340 INFO [pool-18-thread-1] AmbariMetricSinkImpl:95 - No clusters configured.
03 Jan 2019 18:44:27,340 INFO [pool-18-thread-1] MetricsServiceImpl:65 - Attempting to initialize metrics sink
03 Jan 2019 18:44:27,341 INFO [pool-18-thread-1] MetricsServiceImpl:81 - ********* Configuring Metric Sink **********
03 Jan 2019 18:44:27,341 INFO [pool-18-thread-1] AmbariMetricSinkImpl:95 - No clusters configured.
03 Jan 2019 18:49:27,341 INFO [pool-18-thread-1] MetricsServiceImpl:65 - Attempting to initialize metrics sink
03 Jan 2019 18:49:27,341 INFO [pool-18-thread-1] MetricsServiceImpl:81 - ********* Configuring Metric Sink **********
03 Jan 2019 18:49:27,341 INFO [pool-18-thread-1] AmbariMetricSinkImpl:95 - No clusters configured.
03 Jan 2019 18:54:27,342 INFO [pool-18-thread-1] MetricsServiceImpl:65 - Attempting to initialize metrics sink
03 Jan 2019 18:54:27,342 INFO [pool-18-thread-1] MetricsServiceImpl:81 - ********* Configuring Metric Sink **********
03 Jan 2019 18:54:27,342 INFO [pool-18-thread-1] AmbariMetricSinkImpl:95 - No clusters configured. Regards, Prashant Gupta
... View more
01-09-2019
11:01 AM
Dear @Akhil S Naik, Any updates of above the query. Thanks & Regards, Prashant Gupta
... View more
01-03-2019
02:22 PM
Dear Akhil, We have followed same steps as per mention reference link but i am geeing same error. > > tail -f /var/log/ambari-server/ambari-server.log 03 Jan 2019 18:24:27,338 INFO [pool-18-thread-1] AmbariMetricSinkImpl:95 - No clusters configured.
03 Jan 2019 18:29:27,339 INFO [pool-18-thread-1] MetricsServiceImpl:65 - Attempting to initialize metrics sink
03 Jan 2019 18:29:27,339 INFO [pool-18-thread-1] MetricsServiceImpl:81 - ********* Configuring Metric Sink **********
03 Jan 2019 18:29:27,339 INFO [pool-18-thread-1] AmbariMetricSinkImpl:95 - No clusters configured.
03 Jan 2019 18:34:27,339 INFO [pool-18-thread-1] MetricsServiceImpl:65 - Attempting to initialize metrics sink
03 Jan 2019 18:34:27,339 INFO [pool-18-thread-1] MetricsServiceImpl:81 - ********* Configuring Metric Sink **********
03 Jan 2019 18:34:27,340 INFO [pool-18-thread-1] AmbariMetricSinkImpl:95 - No clusters configured.
03 Jan 2019 18:39:27,340 INFO [pool-18-thread-1] MetricsServiceImpl:65 - Attempting to initialize metrics sink
03 Jan 2019 18:39:27,340 INFO [pool-18-thread-1] MetricsServiceImpl:81 - ********* Configuring Metric Sink **********
03 Jan 2019 18:39:27,340 INFO [pool-18-thread-1] AmbariMetricSinkImpl:95 - No clusters configured. >> hostname -f MNDCAUTDBN16.cidr.gov.in
... View more
01-02-2019
02:28 PM
Dear Team, When we are trying to launching the instance in ambai then getting error. Please find the below steps and error. steps :- ======== Get Started > Select Version > install options > Confirm Hosts error:- ====== Registering with the server... Registration with the server failed. Thanks & Regards, Prashant Gupta gupta67222@gmail.com
... View more
Labels:
10-24-2018
10:45 AM
Dear Jay, After added above the property it's working fine. Thanks for support. Regards, Prashant Gupta
... View more
10-24-2018
07:30 AM
Dear Jay, Any update for above the query. Thanks & Regards, Prashant Gupta
... View more
10-22-2018
12:29 PM
Dear Jay, Please find the resource manager log file after executed the above the command. we have changed server name to localhost , but we r using FQN. Thanks & Regards, Prashant Gupta resourcemanager-logfile.txt
... View more
10-18-2018
05:22 PM
Traceback (most recent call last): File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/YARN/package/scripts/resourcemanager.py", line 275, in <module>
Resourcemanager().execute()
File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 353, in execute
method(env)
File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/YARN/package/scripts/resourcemanager.py", line 158, in start
service('resourcemanager', action='start')
File "/usr/lib/ambari-agent/lib/ambari_commons/os_family_impl.py", line 89, in thunk
return fn(*args, **kwargs)
File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/YARN/package/scripts/service.py", line 92, in service
Execute(daemon_cmd, user = usr, not_if = check_process)
File "/usr/lib/ambari-agent/lib/resource_management/core/base.py", line 166, in __init__
self.env.run()
File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 160, in run
self.run_action(resource, action)
File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 124, in run_action
provider_action()
File "/usr/lib/ambari-agent/lib/resource_management/core/providers/system.py", line 263, in action_run
returns=self.resource.returns)
File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 72, in inner
result = function(command, **kwargs)
File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 102, in checked_call
tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy, returns=returns)
File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 150, in _call_wrapper
result = _call(command, **kwargs_copy)
File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 314, in _call
raise ExecutionFailed(err_msg, code, out, err)
resource_management.core.exceptions.ExecutionFailed: Execution of 'ulimit -c unlimited; export HADOOP_LIBEXEC_DIR=/usr/hdp/3.0.0.0-1634/hadoop/libexec && /usr/hdp/3.0.0.0-1634/hadoop-yarn/bin/yarn --config /usr/hdp/3.0.0.0-1634/hadoop/conf --daemon start resourcemanager' returned 1.
... View more
Labels:
- Labels:
-
Apache Hadoop
-
Cloudera Manager