Created 03-01-2017 05:32 PM
Hello together,
i want to do the tutorial for sentiment Analysis. But after the first step of installing NiFi my system doesnt work correct anymore. i cant restart all the services and when i try all services got yellow and out of heartbeat. At the moment SNameNode from HDFS is stopped, HBase Master and NiFi Server also. Is it possible to start them through command line or does anyone have an idea how i get this system back to work to continue the tutorial ? iam already afraid of installing solr and need to restart again.
Thanks in advance.
Best Regards, Martin
Created 03-01-2017 09:38 PM
Sounds like this is a sandbox issue of being in safe mode, you can confirm this by reviewing the logs. If this is the case you can exit by:
bin/hadoop fs -safemode leave
To start hdfs manually: su -l hdfs -c "/usr/hdp/current/hadoop-hdfs-namenode/../hadoop/sbin/hadoop-daemon.sh start namenode"
Created 03-01-2017 06:19 PM
I can only speak to any NiF issues here, but what do you mean by "my system doesn't work correct anymore"? If you stop NiFi, does your system go back to normal? Perhaps you do not have enough resources to run all these services on your machine.
Matt
Created 03-01-2017 08:58 PM
i mean that now every time i start the sandbox hdfs hbase nifi and some other services are red. i can start nifi and hbase manually. at hdfs only the snamenode is stopped and i cant start it manually. i will just try to continue the tutorial now.
Thanks for the answer
Created 03-01-2017 09:38 PM
Sounds like this is a sandbox issue of being in safe mode, you can confirm this by reviewing the logs. If this is the case you can exit by:
bin/hadoop fs -safemode leave
To start hdfs manually: su -l hdfs -c "/usr/hdp/current/hadoop-hdfs-namenode/../hadoop/sbin/hadoop-daemon.sh start namenode"
Created 03-01-2017 09:50 PM
Hey eorgad, thx for your answer. i tried to leave safemode now with the command hdfs dfsadmin -safemode leave.
But now it says access denied for user root. superuser privilege is required. iam logged in as ssh root@127.0.0.1 -p 2222
Created 03-01-2017 09:53 PM
iam out of safemode now with:
sudo -u hdfs hdfs dfsadmin -safemode leave