Member since
03-14-2016
4721
Posts
1111
Kudos Received
874
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2725 | 04-27-2020 03:48 AM | |
| 5285 | 04-26-2020 06:18 PM | |
| 4450 | 04-26-2020 06:05 PM | |
| 3576 | 04-13-2020 08:53 PM | |
| 5380 | 03-31-2020 02:10 AM |
04-24-2018
01:09 PM
1 Kudo
@Victor The services shows in Green Color indicates that they are already installed on your cluster (Or selected currently) No Color means you can add those services. Can you please let us know which version of ambari is it? May be the components that you see in yellow are in tech preview purpose in that version.
... View more
04-24-2018
09:33 AM
@Victor The property "tez.tez-ui.history-url.base" is missing in your case. Please do the following to fix it. Tez --> Configs --> Advanced --> "Custom tez-site" --> "Add Property" Example: tez.tez-ui.history-url.base=http://ambariserver.exmaple.com:8080/#/main/view/TEZ/tez_cluster_instance Please make sure to replace the "http://ambariserver.exmaple.com:8080" with your own ambari server URL and then restart required services after saving this. .
... View more
04-24-2018
08:54 AM
@Victor In Older version of ambari (Like Ambari 2.4.2) the property value used to be slightly different like following Example: (for example only) tez.tez-ui.history-url.base=http://ambariserver.example.com:8080/#/main/views/TEZ/0.7.0.2.5.3.0-136/TEZ_CLUSTER_INSTANCE So please let us know your exact ambari version as well.
... View more
04-24-2018
08:51 AM
@Victor Please try this, Login to Ambari UI and then navigate to : Tez --> Configs --> Advanced --> "Advanced tez-site" and then check if it has the property "tez.tez-ui.history-url.base" set already ? If the value if not set for the property "tez.tez-ui.history-url.base" then please click on the "Custom tez-site" (expand) and then click on "Add Property" link then add the following value: Example: tez.tez-ui.history-url.base=http://ambariserver.exmaple.com:8080/#/main/view/TEZ/tez_cluster_instance NOTE: Please make sure to replace the "http://ambariserver.exmaple.com:8080" with your own ambari server URL and then restart required services after saving this. .
... View more
04-24-2018
12:46 AM
@Amit
Ashish
You can also use the "hadoop checknative" command on all the clusert hosts to find out if the snappy or other native libraries are installed properly on them or not? Example: # hadoop checknative
18/04/24 00:43:37 INFO bzip2.Bzip2Factory: Successfully loaded & initialized native-bzip2 library system-native
18/04/24 00:43:37 INFO zlib.ZlibFactory: Successfully loaded & initialized native-zlib library
Native library checking:
hadoop: true /usr/hdp/2.6.4.0-91/hadoop/lib/native/libhadoop.so.1.0.0
zlib: true /lib64/libz.so.1
snappy: true /usr/hdp/2.6.4.0-91/hadoop/lib/native/libsnappy.so.1
lz4: true revision:99
bzip2: true /lib64/libbz2.so.1 .
... View more
04-24-2018
12:41 AM
@Amit
Ashish
Which version of HDP are you using? Are you sure that all the host have the following packages installed? (it might be possible that when it is failing intermittently that time it might be executing the queries on the hosts which does not have these packages installed). Can you please install the
following packages as mentioned in the DOC:
https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.3/bk_command-line-installation/content/install_compression_libraries.html Install Snappy on all the nodes in your cluster. At each node: For RHEL/CentOS/Oracle Linux: yum install snappy snappy-devel For SLES: zypper install snappy snappy-devel For Ubuntu/Debian: apt-get install libsnappy1 libsnappy-dev
... View more
04-23-2018
10:40 AM
@Robert
Lepen
At this point (based on the screenshot) you should be able to access the Terminal or web terminal to check the ambari server logs. Please try to open the URL in your browser : http://localhost:4200. (username: root, password: hadoop) Or try using the terminal to access the Sandbox: (port must be 2222) # ssh root@127.0.0.1 -p 2222
Enter Password: hadoop . Then check the log of ambari to see if there are any issues. Normally due to some resource issues it takes longer time to start. So better to kill some of the components like Zeppelin / Spark if you are not using them and put them in maintenance mode for next time.
... View more
04-19-2018
12:28 PM
@Manisha Pande In that case you cane add the "host_components/HostRoles/service_name" part in the same API call to also list the components on each host along with the Rack Info. Burt you will have to parse the output based on your requirement. Example: # curl -u admin:admin -H "X-Requested-By:ambari" -X GET http://hdfcluster1.example.com:8080/api/v1/clusters/TestCluster/hosts?fields=Hosts/rack_info,Hosts/host_name,host_components/HostRoles/service_name .
... View more
04-19-2018
12:10 PM
@Manisha Pande Can you please clarify what exactly do you mean by "check each service get host name and rack info"? In Each service where do you see the rack info?
... View more
04-19-2018
11:52 AM
@Manisha Pande You can use the following Ambari API call: # curl -u admin:admin -H "X-Requested-By:ambari" -X GET http://ambariserver.example.com:8080/api/v1/clusters/TestCluster/hosts?fields=Hosts/rack_info,Hosts/host_name . Please replace the "TestCluster" with your own cluster name and the ambari hostname in the above URL.
... View more