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 | |
4896 | 04-26-2020 06:18 PM | |
3984 | 04-26-2020 06:05 PM | |
3228 | 04-13-2020 08:53 PM | |
4940 | 03-31-2020 02:10 AM |
11-18-2018
09:01 AM
@Theef Qian According to the SupportMatrics MySQL 8 is not Supported Database for Ambari 2.7.1 Please take a look at: https://supportmatrix.hortonworks.com/ With Ambari 2.7.1 you should be using MySQL versions as MySQL 5.7 OR Maria DB 10.2 . So even if you can fix the mentioned table .. still there will be possibility that when ambari will try to run some other Groups relatd query then it might fail again. Hence better you use the tested and certified database.
... View more
11-15-2018
10:10 AM
1 Kudo
@Naeem Ullah Khan I see that you are getting OOM error: 2018/11/15 13:48:32 ERROR [main] org.apache.nifi.toolkit.encryptconfig.EncryptConfigMain:
java.lang.OutOfMemoryError: Java heap space Based on your HDF version please change the Heap Settings inside the toolkit as following inside file "/var/lib/ambari-agent/tmp/nifi-toolkit-xxxx.x-x/bin/encrypt-config.sh" "${JAVA}" -cp "${CLASSPATH}" ${JAVA_OPTS:--Xms512m -Xmx1024m} org.apache.nifi.toolkit.encryptconfig.EncryptConfigMain "$@ . See: https://community.hortonworks.com/content/supportkb/198288/unable-to-upgrade-from-hdf-300-to-hdf-311-as-encry.html In Later version of Nifi you should be able to make this change from Ambari UIl
... View more
11-15-2018
03:26 AM
When we access an HDFS directory using Ambari FileView then we see max 5000 sub directories/contents per page via File View. As following: We see a message "Showing 5000 files or folders of xxxx". The default "views.files.max.files.per.page" limit is set to 5000 as following: /ambari/view/commons/hdfs/FileOperationService.java#L53-L56 This property was added from Ambari 2.6 as part of JIRA: https://issues.apache.org/jira/browse/AMBARI-21890 to avoid browser hung state while opening a HDFS folder which has huge number of files. So if user wants to see more items per page then it can be achieved as following: 1. In order to set/add a new property with the value with a bit large page size please adjust the following property inside "ambari.properties". For example i am setting it to 7000 # grep 'views.files.max.files.per.page' /etc/ambari-server/conf/ambari.properties
views.files.max.files.per.page=7000 2. Then restart the Ambari Server. # ambari-server restart 3. Once ambari server is restarted then check the File View again to verify if it is showing the mentioned number of per pages or not? 4. After accessing the File View directories we should also see the ambari-server.log the pagination value reflected properly or not? # grep 'maxFilesPerPageProperty' /var/log/ambari-server/ambari-server.log
INFO [ambari-client-thread-38] FileOperationService:69 - maxFilesPerPageProperty = 7000 .
... View more
Labels:
11-14-2018
10:19 AM
@Sriram As we see the error code as "[LDAP: error code 49 - 80090308: LdapErr: DSID-0C090400, comment: AcceptSecurityContext error, data 52e, v1db1]]]" [LDAP: error code 49 - 80090308: LdapErr: DSID-0C090400, comment: AcceptSecurityContext error, data 52e, v1db1]]] . 52e Invalid credentials Returned when a valid username is supplied but an invalid password/credential is supplied. If this error is received, it will prevent most other errors from being displayed. . So please check your LDAP credentials if it is valid. Try running simple "ldapsearch" command to verify if the credentials which you are using is correct or not? some simple example can be : # ldapsearch -x -b "dc=example,dc=com" -D cn=Manager,dc=example,dc=com -w ldapPassword -h ldapHost .
... View more
11-14-2018
12:01 AM
@Anji Raju Ok as you are noticing a 503 Service Unavailable Error in Http Response which means there must be some Error logged inside the Atlas logs. If you can take a look at the atlas logs then you will get better idea on why atlas is not responding fine.
... View more
11-13-2018
11:37 PM
@Anji Raju It may be because you there may be some build failure when you tried to build the package: # tar xvfz apache-atlas-1.1.0-sources.tar.gz
# cd apache-atlas-sources-1.1.0/
#export MAVEN_OPTS="-Xms2g -Xmx2g"
# mvn clean -DskipTests install
# mvn clean -DskipTests package -Pdist . Did you notice any failure while executing any of this command? I see that the file is already present in the Atlas 1.1.0 branch. https://github.com/apache/atlas/blob/release-1.1.0-rc0/distro/src/bin/atlas_start.py . Please refer to the Apache Atlas Github instructions to build your desired distro: https://github.com/apache/atlas/tree/release-1.1.0-rc0 Build Process
=============
1. Get Atlas sources to your local directory, for example with following commands
$ cd <your-local-directory>
$ git clone <a href="https://github.com/apache/atlas.git">https://github.com/apache/atlas.git</a>
$ cd atlas
# Checkout the branch or tag you would like to build
#
# to checkout a branch
$ git checkout <branch>
# to checkout a tag
$ git checkout tags/<tag>
2. Execute the following commands to build Apache Atlas
$ export MAVEN_OPTS="-Xms2g -Xmx2g"
$ mvn clean install
$ mvn clean package -Pdist .
... View more
11-13-2018
11:18 PM
@Anji Raju If you have installed Atlas using Yum command as following OR used Ambari UI to install Atlas Service # yum install atlas-metadata<br> Then you should be able to see the mentioned file in some location like following: # ls -l /usr/hdp/w.x.y.z/atlas/bin/atlas_start.py
(OR)
# ls -l /usr/hdp/current/atlas-client/bin/atlas_start.py
# ls -l /usr/hdp/current/atlas-server/bin/atlas_start.py Here the "w.x.y.z" will be your HDP version. Example: # ls -l /usr/hdp/2.6.5.0-292/atlas/bin/atlas_start.py
-rwxr-xr-x. 1 atlas hadoop 6025 May 11 2018 /usr/hdp/2.6.5.0-292/atlas/bin/atlas_start.py Please refer to the following link to install Atlas from hortonworks repo: https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.5/bk_data-governance/content/ch_hdp_data_governance_install_atlas_ambari.html . With HDP 2.6 you get Apache Atlas 0.8.0 See: https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.5/bk_release-notes/content/comp_versions.html With HDP 3.0 you get Apache Atlas 1.0.0 See: https://docs.hortonworks.com/HDPDocuments/HDP3/HDP-3.0.0/release-notes/content/comp_versions.html
... View more
11-13-2018
09:47 PM
@Yasin Mohammed AMS collector and Monitor will always as non root user "ams". The error you are noticing because ambari agent (which seems to be running as non root user) does not have Sodoer permissions setup properly. Please refer to the following doc and make sure that ambari agent is setup to run as non root user with the list of command mentioned in the below links: 1. https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.2/bk_ambari-security/content/how_to_configure_an_ambari_agent_for_non-root.html . 2. Commands - Ambari Agents : https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.2/bk_ambari-security/content/commands_agent.html . 3. Sudo Defaults - Ambari Agents : https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.2/bk_ambari-security/content/sudo_defaults_agent.html
... View more
11-08-2018
01:13 AM
@M AMIR Additionally please refer to the following HCC article to know what exactly you will need to do: Topic: Failed to connect to KDC Make sure the server's SSL certificate or CA certificates have been imported into Ambari's truststore" when adding a new service on an Ambari Kerberized cluster Link: https://community.hortonworks.com/content/supportkb/148572/failed-to-connect-to-kdc-make-sure-the-servers-ssl.html
... View more
11-08-2018
01:10 AM
@M AMIR Please make sure that you have Setup Truststore on Ambari Server. Then Import the Active Directory certificate to Ambari Server's troustore. Followed by AmbariServer restart. Please refer to know more about : Creating Ambari Truststore and storing Certificates inside the truststore.
https://community.hortonworks.com/articles/39865/enabling-https-for-ambariserver-and-troubleshootin.html
... View more