Member since
08-02-2019
12
Posts
3
Kudos Received
3
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
383 | 09-11-2017 12:10 PM | |
2205 | 03-06-2017 03:51 PM | |
720 | 03-02-2017 02:31 PM |
12-14-2017
04:44 PM
You clean the db by executing ambari-server stop ambari-server reset
... View more
12-14-2017
04:22 PM
1 Kudo
Hi, The post-user-creation-hook.sh is only executed after user creation and currently there is no post-user-deletion hook in Ambari. I'm afraid you have to delete the home directory manually after removing the user.
... View more
12-14-2017
04:00 PM
Could you share the full stacktrace? Maybe it's in ambari-metrics-collector.log. Also if you have non localized exception messages that would be helpful.
... View more
09-21-2017
09:49 AM
@David Pocivalnik I think those are not visible for some reason. If you add some erroneous code like 1 / 0 to the status method then an exception will show up in the /var/log/ambari-agent/ambari-agent.log but normal log messages are not.
... View more
09-14-2017
12:14 PM
@ketan kunde I don't know why that happens. What happens when you try run the command manually? npm install --color=false
... View more
09-12-2017
01:00 PM
Try it again with a -U parameter. You don't need to do a full clean install if you don't want to wait for a full build again, just run mvn -U -DskipSurefireTests=true -DskipPythonTests=true -Dcheckstyle.skip=true -Drat.skip=true -Del.log=OFF install If this doesn't work you can try deleting that failed to download artifact from your local repository (it's usually under ~/.m2/). rm -rf ~/.m2/repository/org/apache/ambari/ambari-metrics-storm-sink
... View more
09-12-2017
07:27 AM
@ketan kunde What's your maven version? (mvn --version) Can you try it with 3.3.9 ? Just try running this (in the ambari root project dir) at the first round and see what happens: mvn -DskipSurefireTests=true -DskipPythonTests=true -Dcheckstyle.skip=true -Drat.skip=true -Del.log=OFF clean install
... View more
09-11-2017
12:30 PM
hi @David Pocivalnik Status commands and service checks are 2 different things. A status command is implemented in the status method of the component's class, while a service check is implemented in the service_check.py file. Almos all status commands look like as follows: def status(self, env):
import status_params
env.set_params(status_params)
check_process_status(status_params.zk_pid_file) This code checks whether the process is running by simply checking its pid file. Ambari server periodically sends status commands to each (non client) components in order to determine which one of those are currently running and which one is stopped. This is a fairly quick operation. On the other hand a service check is kind of a smoke test, that checks is the component is working properly (for example a HDFS service check tries to create some temp directories under HDFS). You can manually trigger a service check by clicking on Service Actions/Run Service Check.
... View more
09-11-2017
12:10 PM
Hi @uri ben-ari, You can find the display-names and the property names in the xml configs like hdfs-site, hadoop-env.xml, core-site.xml, etc. https://github.com/apache/ambari/blob/cc412e66156d5a887a725015537dcb75b0caf986/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/configuration/hdfs-site.xml https://github.com/apache/ambari/blob/cc412e66156d5a887a725015537dcb75b0caf986/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/configuration/hadoop-env.xml for example: <property>
<name>dfs.datanode.max.transfer.threads</name>
<value>1024</value>
<description>
Specifies the maximum number of threads to use for transferring data in and out of the datanode.
</description>
<display-name>DataNode max data transfer threads</display-name>
<value-attributes>
<type>int</type>
<minimum>0</minimum>
<maximum>48000</maximum>
</value-attributes>
<on-ambari-upgrade add="true"/>
</property>
If you can't find something under the common-services then go the appropriate stack directory: ambari-server/src/main/resources/stacks/<STACK>/<STACK_VERSION>/services/<SERVICE_NAME>/configuration
... View more
09-11-2017
11:45 AM
There should be some error messages above the summary. Can you paste those as well?
... View more
03-06-2017
03:51 PM
2 Kudos
Could you check what certificates the client truststore contains? keytool -list -v -keystore /path/to/hadoop-client-truststore It is worth checking, what is the ssl certificate used by the server. openssl s_client -showcerts -connect https://<kms_host>:9393 You can copy paste the pem content (from begincert to endcert) in a new file and check its content openssl x509 -noout -text -in saved.crt If you're using self signed certificates like in the docs, then this certificate (server) should be the same that is in the client trust store.
... View more
03-02-2017
02:31 PM
Is hadoop.registry.secure set to true in yarn-site? If yes, then the following properties should be set as well: hadoop.registry.client.auth=kerberos
hadoop.registry.jaas.context=Client But this may not work because of this issue: https://issues.apache.org/jira/browse/YARN-6104 This will be fixed in HDP2.6.
... View more