Member since
03-14-2016
4721
Posts
1111
Kudos Received
874
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2459 | 04-27-2020 03:48 AM | |
4899 | 04-26-2020 06:18 PM | |
3985 | 04-26-2020 06:05 PM | |
3229 | 04-13-2020 08:53 PM | |
4946 | 03-31-2020 02:10 AM |
11-07-2018
03:26 AM
@Anpan K Can you please share the output of the following command to see if there is a valid Kerberos ticket? # klist . Also please share the exact command which you are using ? Is it somethink like mentioned in the SupportKB https://community.hortonworks.com/content/supportkb/210571/how-to-submit-spark-job-using-livy-rest-api-in-a-k.html # curl -iv -X POST --negotiate -u:<any-user> --data '{"file": "/tmp/spark-client/lib/spark-examples.jar", "className": "org.apache.spark.examples.SparkPi", "args": ["100"]}' -H "Content-Type: application/json" node1.localdomain:8998/batches . Can you please post the complete stacktrace of the error which you are getting ?
... View more
11-05-2018
08:16 PM
1 Kudo
@Michael Bronson Based on the CRITICAL Or WARNING state you can capture all the alerts that are triggered as following (where component/host are not in maintenance mode): # curl -H "X-Requested-By: ambari" -u admin:admin -X GET http://$AMBARI_HOST:8080/api/v1/clusters/$CLUSTER_NAME/alerts?fields=Alert/component_name,Alert/definition_id,Alert/definition_name,Alert/host_name,Alert/id,Alert/instance,Alert/label,Alert/latest_timestamp,Alert/maintenance_state,Alert/original_timestamp,Alert/scope,Alert/service_name,Alert/state,Alert/text,Alert/repeat_tolerance,Alert/repeat_tolerance_remaining&Alert/state.in(CRITICAL,WARNING)&Alert/maintenance_state.in(OFF) .
... View more
11-02-2018
02:09 AM
@Ronnie 10 Can you please try removing the "kafka.network.RequestMetrics" from the "Advanced kafka-broker" property in the Ambari UI "external.kafka.metrics.exclude.prefix" . Then restart the Kafka Brokers then wait for 3-5 minutes and then check the graph again. Default Value should be as following: external.kafka.metrics.exclude.prefix = kafka.network.RequestMetrics,kafka.server.DelayedOperationPurgatory,kafka.server.BrokerTopicMetrics.BytesRejectedPerSec,kafka.server.KafkaServer.ClusterId . Please try changing it to following: external.kafka.metrics.exclude.prefix = kafka.server.DelayedOperationPurgatory,kafka.server.BrokerTopicMetrics.BytesRejectedPerSec,kafka.server.KafkaServer.ClusterId . Also based on your requirement you can include or exclude some more metrics of Kafka. Please take a look at the other relative property "external.kafka.metrics.include.prefix" .
... View more
10-31-2018
11:09 AM
1 Kudo
@Sajesh PP No, Ambari Server restart will not impact any Hadoop Cluster service. The Hadoop daemons should be running as it is.
... View more
10-31-2018
10:51 AM
@Himani Bansal It can be done using Ambari UI or API calls. https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.0/bk_ambari-operations/content/rolling_restarts.html https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.0/bk_ambari-operations/content/setting_rolling_restart_parameters.html API calls: https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=41812517
... View more
10-30-2018
12:40 AM
@Geoffrey Shelton Okot
Only a user who own the thread Or a user with 1000+ points can accept other users answers as accepted. I have marked your previous answer as "Accepted" which you answered on "Aug 09, 2017" as that answer looks more informative form this HCC thread perspective.
... View more
10-29-2018
11:18 AM
@Marek Martofel Wonderful!!! thank you for sharing so detailed steps. I am marking this thread as answered.
... View more
10-27-2018
08:26 AM
@Marek Martofel So basically you should do the following: 1. Setup truststore for Ambari Server : (option-4) # ambari-server setup-seturity
[4] Setup truststore 2. Import Ranger certificate inside the ambari truststore it can also be done manually or using the following option (option-5) # ambari-server setup-seturity
[5] Import certificate to truststore. .
... View more
10-27-2018
08:18 AM
@Marek Martofel Can you please check if you have setup Abari Truststore? Do you see any 'truststore' related settings in your current or old "/etc/ambari-server/conf/ambari.properties" ? # grep 'trust' /etc/ambari-server/conf/ambari.properties
# grep 'trust' /etc/ambari-server/conf/ambari.properties.rpmsave Based on the error it looks like Your Ranger UI is running on HTTPs and ambari truststore does not have the Ranger certificate imported to it. You can refer to the following doc to know more about Setting up Truststore for Ambari : https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.2/bk_ambari-security/content/set_up_truststore_for_ambari_server.html . The following HCC article also explains the cause and remedy of "Truststore path or password is not set" https://community.hortonworks.com/articles/39865/enabling-https-for-ambariserver-and-troubleshootin.html
... View more
10-26-2018
08:51 AM
@Ayoub Bounfour Exception in thread "main" java.lang.IllegalArgumentException: A HostProvider may not be empty! The above error that you reported is coming from The "StaticHostProvider.java" class. which has the following code: https://github.com/apache/zookeeper/blob/release-3.4.6/src/java/main/org/apache/zookeeper/client/StaticHostProvider.java#L72-L86 this.serverAddresses.add(
new InetSocketAddress(InetAddress.getByAddress(
address.getHostName(),
resolvedAddress.getAddress()),
address.getPort()));
} else {
this.serverAddresses.add(new InetSocketAddress(resolvedAddress.getHostAddress(), address.getPort()));
}
}
}
if (this.serverAddresses.isEmpty()) {
throw new IllegalArgumentException(
"A HostProvider may not be empty!");
} . So somehoiw the FQDN (hostname) of your Zookeeper host is not correct. So can you please check if you are specifying the IP Adderss/Hostname in your configs? Also please verify the following command on your cluster nodes to verify if the FQDN (fully qualified Hostname) is correctly setup? Also please chekc that every host is resolving each other using their hostnmae. # hostname -f
# cat /etc/hosts .
... View more