Member since
09-18-2018
11
Posts
0
Kudos Received
0
Solutions
10-03-2018
01:46 PM
@Geoffrey Shelton Okot, I do agree with with you, the /home was the cause of the error message, when i changed it the passage to another directory it resolved the error. That's what i was trying to raise in the previous point.
... View more
10-02-2018
09:16 AM
Thanks for your support team. I resolved the issue. 'hdfs --config /usr/hdp/2.6.5.0-292/hadoop/conf namenode -format -nonInteractive' returned 1.18/09/2614:00:23 INFO namenode.NameNode: STARTUP_MSG: This is brought when you have duplicate file during the installing of namenode and Datanode in different files. E.g /hadoop/hdfs/namenode,/home/hadoop/hdfs/namenode,/var/hadoop/hdfs/namenode. This is located in HDFS wizard, But when you use "/hadoop/hdfs/namenode" as the only passage, the error will be resolved and the HDFS will be running without Alerts. N.B. Also make sure you have first uninstalled Ambari, Hadoop, HDP from your server completely https://community.hortonworks.com/articles/97489/completely-uninstall-hdp-and-ambari.html. if you don't do so, it will not work the way you want it. I encourage this to be done if it was your first time to install Ambari on your server.
... View more
09-28-2018
09:32 PM
There are name node in /var/log/hadoop/hdfs/hadoop-hdfs-namenode/{host_name}.log. -rw-r--r-- 1 hdfs hadoop 727 Sep 28 12:48 hadoop-hdfs-datanode-stg_slods.freeosk.out.1 -rw-r--r-- 1 hdfs hadoop 1736 Sep 28 12:48 gc.log-201809281248 -rw-r--r-- 1 hdfs hadoop 727 Sep 28 14:37 hadoop-hdfs-datanode-stg_slods.freeosk.out -rw-r--r-- 1 hdfs hadoop 61999 Sep 28 14:37 hadoop-hdfs-datanode-stg_slods.freeosk.log
... View more
09-28-2018
09:32 PM
There are no namenode, -rw-r--r-- 1 hdfs hadoop 61999 Sep 28 14:37 hadoop-hdfs-datanode-stg_slods.freeosk.log -rw-r--r-- 1 hdfs hadoop 727 Sep 28 14:37 hadoop-hdfs-datanode-stg_slods.freeosk.out -rw-r--r-- 1 hdfs hadoop 727 Sep 28 12:48 hadoop-hdfs-datanode-stg_slods.freeosk.out.1 -rw-r--r-- 1 hdfs hadoop 0 Sep 28 12:48 hdfs-audit.log -rw-r--r-- 1 hdfs hadoop 0 Sep 28 12:48 SecurityAuth.audit
... View more
09-28-2018
07:18 PM
Hey am there, have not done it manually and I am starting it as a root user. How can i find the logs please. I am working on it right about now.
... View more
09-28-2018
07:16 PM
Hey am there, have not done it manually and I am starting it as a root user. How can i find the logs please. I am working on it right about now.
... View more
09-27-2018
01:32 PM
@Pradeep Shetty I was running ambari on a default user
... View more
09-26-2018
09:53 PM
stderr: /var/lib/ambari-agent/data/errors-208.txt
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 122, in namenode
format_namenode()
File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py", line 333, in format_namenode
logoutput=True
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 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 'hdfs --config /usr/hdp/2.6.5.0-292/hadoop/conf namenode -format -nonInteractive' returned 1. 18/09/26 14:00:23 INFO namenode.NameNode: STARTUP_MSG:
... View more
- Tags:
- Hadoop Core
- namenode
Labels:
- Labels:
-
Apache Hadoop
09-21-2018
08:13 PM
Traceback (most recent call last): File "/usr/sbin/ambari-server.py", line 35, in from ambari_commons.os_utils import remove_file File "/usr/lib/ambari-server/lib/ambari_commons/os_utils.py", line 39, in from ambari_commons.os_linux import os_change_owner, os_getpass, os_is_root, os_run_os_command, \ File "/usr/lib/ambari-server/lib/ambari_commons/os_linux.py", line 25, in from ambari_commons import subprocess32 File "/usr/lib/ambari-server/lib/ambari_commons/subprocess32.py", line 146, in import importlib ImportError: No module named importlib
... View more