Member since
03-14-2016
4721
Posts
1111
Kudos Received
874
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2452 | 04-27-2020 03:48 AM | |
4891 | 04-26-2020 06:18 PM | |
3977 | 04-26-2020 06:05 PM | |
3222 | 04-13-2020 08:53 PM | |
4930 | 03-31-2020 02:10 AM |
02-12-2019
12:52 PM
1 Kudo
@Michael Bronson Can you please try something like this: # curl --user admin:admin -i -H 'X-Requested-By: ambari' -X POST -d '{"ViewInstanceInfo":{"instance_name":"SLIDER_NEW","label":"SLIDER_NEW","visible":true,"description":"SLIDER_NEWDescription","properties":{"ambari.server.url":"http://localhost:8080/api/v1/clusters/YOUR_CLUSTER_NAME","ambari.server.username":"admin","ambari.server.password":"admin","slider.user":"admin"},"cluster_type":"NONE"}}' http://localhost:8080/api/v1/views/SLIDER/versions/2.0.0/instances/SLIDER_NEW . You will need to make sure to change the Cluster Name "YOUR_CLUSTER_NAME" in the following piece of the JSON data: "ambari.server.url":"http://localhost:8080/api/v1/clusters/YOUR_CLUSTER_NAME" .
... View more
02-12-2019
04:39 AM
1 Kudo
@Yee Zee Please make sure that your Ambari Infra is running fine and now throwing any errors in the logs. Looks like Log Search UI is not able to communicate with Infra Solr. Or better to restart the Ambari Infra Solr once and then try logging in to LogSearch UI
... View more
02-11-2019
05:09 AM
@Shraddha Singh As we see the error : ERROR: Unable to write in /var/log/hadoop/hdfs. Aborting. . So please make sure that the dir permissions are correctly set as following: # ls -ld /var/log/hadoop/hdfs
drwxr-xr-x. 2 hdfs hadoop 8192 Feb 11 03:27 /var/log/hadoop/hdfs . If you see permissions are incorrectly set then please do the following and then try starting process again: (You executed chmod, better you change the ownership of the mentioned directories as following) # chown -R hdfs:hadoop /var/log/hadoop . Then try your commands: # su - hdfs
# hdfs dfsadmin -safemode leave .
... View more
02-07-2019
01:05 AM
@Shraddha Singh While checking /usr/hdp/current folder there are no files available. . This is normal ... If your ambari cluster installation is not done successfully via ambari then the HDP binaries will not be installed to the cluster hosts and hence you will not see the directories inside the "/usr/hdp" Once the HDP installation is started/completed then you will see the hsp-select command returning results by looking the contents inside the "/usr/hdp" directory.
... View more
02-06-2019
10:04 AM
@Shraddha Singh Please try this on the problematic host and then check if it works, # yum reinstall hdp-select -y
# yum clean all
. Also please share the output of the following commands: # hdp-select versions # hdp-select | grep hadoop # ls -lart /usr/hdp # ls -lart /usr/hdp/current/
.
... View more
02-06-2019
09:02 AM
@Shraddha Singh You can find similar issue as yours here: http://knowledge.teradata.com/KCS/id/KCS015527
... View more
02-06-2019
08:55 AM
@Shraddha Singh Can you please share the "/etc/ambari-agent/conf/ambari-agent.ini" file or check & share the output of the following commands : # grep 'run_as_user' /etc/ambari-agent/conf/ambari-agent.ini
# ps -ef | grep main.py .
... View more
02-06-2019
07:21 AM
@Shraddha Singh If you are running ambari agent as non root user then you must have to give him some command execute permissions and sudoer permission as mentioned in : https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.2/bk_ambari-security/content/commands_agent.html sudo entries that should be placed in /etc/sudoers by running the visudo command Example (snippet): (notice hdp-select in below command list.) # Ambari: Hadoop and Configuration Commands
ambari ALL=(ALL) NOPASSWD:SETENV: /usr/bin/hdp-select, /usr/bin/conf-select, /usr/hdp/current/hadoop-client/sbin/hadoop-daemon.sh, /usr/lib/hadoop/bin/hadoop-daemon.sh, /usr/lib/hadoop/sbin/hadoop-daemon.sh, /usr/bin/ambari-python-wrap * . You can get the list of all needed commands in the mentioned Doc. You must do this sudo configuration on every node in the cluster. To
ensure that the configuration has been done properly, you can su to the
ambari user and run sudo -l. There, you can double check that there are
no warnings, and that the configuration output matches what was just
applied.
... View more
02-06-2019
06:17 AM
@ram sriram You can click on the "Accept" button on the correct answer, that way other HCC users can quickly browser the answered queries.
... View more
02-06-2019
05:44 AM
1 Kudo
@ram sriram There is not separate instructions for ambari installation on Ubuntu. Mostly it involves common steps. https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.3.0/bk_ambari-installation/content/ch_Getting_Ready.html https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.3.0/bk_ambari-installation/content/install-ambari-server-ubuntu16.html . However you can take a 3 year old video if you want to see some Ubuntu specific commands (although Above doc is sufficient) Something similar to this video (just use the latest version of ambari) https://www.youtube.com/watch?v=letMI5VqoT0
... View more