Created 01-11-2017 01:50 PM
HDP version-2.4.3.0 and ambari version- 2.4.1.0, non secure cluster.
Atlas UI is not accessible and throwing HTTP 503-Service Unavailable exception.
I could found following exceptions in /var/log/atlas/application.log.
=========================================================================================
Caused by: com.thinkaurelius.titan.diskstorage.PermanentBackendException: Error during BerkeleyJE initialization: at com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.initialize(BerkeleyJEStoreManager.java:108) at com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.<init>(BerkeleyJEStoreManager.java:68) ... 94 more
Caused by: com.sleepycat.je.EnvironmentFailureException: (JE 5.0.73) Problem creating output files in: /var/lib/atlas/data/berkeley/je.info UNEXPECTED_EXCEPTION: Unexpected internal Exception, may have side effects. at com.sleepycat.je.EnvironmentFailureException.unexpectedException(EnvironmentFailureException.java:316) at com.sleepycat.je.dbi.EnvironmentImpl.initFileHandler(EnvironmentImpl.java:1389) at com.sleepycat.je.dbi.EnvironmentImpl.<init>(EnvironmentImpl.java:442) at com.sleepycat.je.dbi.EnvironmentImpl.<init>(EnvironmentImpl.java:382) at com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEnvPool.java:178) at com.sleepycat.je.Environment.makeEnvironmentImpl(Environment.java:246) at com.sleepycat.je.Environment.<init>(Environment.java:227) at com.sleepycat.je.Environment.<init>(Environment.java:170) at com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.initialize(BerkeleyJEStoreManager.java:104) ... 95
more Caused by: java.io.IOException: Couldn't get lock for /var/lib/atlas/data/berkeley/je.info at java.util.logging.FileHandler.openFiles(FileHandler.java:389) at java.util.logging.FileHandler.<init>(FileHandler.java:363) at com.sleepycat.je.util.FileHandler.<init>(FileHandler.java:85) at com.sleepycat.je.dbi.EnvironmentImpl.initFileHandler(EnvironmentImpl.java:1383) ... 102 more
===========================================================================================
Created 01-11-2017 03:13 PM
The error is saying it can't get a file lock for /var/lib/atlas/data/berkeley/je.info. Can you check to see what the permissions of the file and directory are?
Created 01-11-2017 07:25 PM
@Vandana K R Can you share your atlas-application.properties ?
Created 01-12-2017 09:29 AM
@anaik Please find the content of /etc/atlas/conf/application.properties
atlas.audit.hbase.tablename=ATLAS_ENTITY_AUDIT_EVENTS
atlas.audit.zookeeper.session.timeout.ms=1000
atlas.authentication.keytab=/etc/security/keytabs/atlas.service.keytab
atlas.authentication.method=simple
atlas.authentication.principal=atlas
atlas.cluster.name=HDP24
atlas.enableTLS=false
atlas.graph.index.search.backend=elasticsearch
atlas.graph.index.search.directory=/var/lib/atlas/data/es
atlas.graph.index.search.elasticsearch.client-only=false
atlas.graph.index.search.elasticsearch.local-mode=true
atlas.graph.storage.backend=berkeleyje
atlas.graph.storage.directory=/var/lib/atlas/data/berkeley
atlas.lineage.hive.process.inputs.name=inputs
atlas.lineage.hive.process.outputs.name=outputs
atlas.lineage.hive.process.type.name=Process
atlas.lineage.hive.table.schema.query.hive_table=hive_table where name='%s'\, columns atlas.lineage.hive.table.schema.query.Table=Table where name='%s'\, columns
atlas.lineage.hive.table.type.name=DataSet
atlas.notification.embedded=false
atlas.rest.address=http://localhost:21000
atlas.server.address.id1=localhost:21000
atlas.server.bind.address=localhost
atlas.server.ha.enabled=false
atlas.server.http.port=21000
atlas.server.https.port=21443
atlas.server.ids=id1
Created 01-12-2017 10:01 AM
@Michael Young Yes you were correct. The folder was not having proper permissions.Now Atlas UI is up.But it is not proper.Please find the png file attached atlasui.png
I could see following logs in atlas application.log:
INFO -Couldn't find JAX-B element for class javax.ws.rs.core.Response (WadlGeneratorJAXBGrammarGenerator:508) INFO - Audit: UNKNOWN/<atlasip>.-<atlasip>performed request http://<atlasip>:21000/api/atlas/types/hive_process?doAs=ambari-qa (<atlasip>) at time 2017-01-12T09:34Z (AUDIT:100)
INFO - ~ Audit: UNKNOWN/<atlasip>-<atlasip> performed request http://<atlasip>:21000/api/atlas/admin/status (atlasip) at time 2017-01-12T09:34Z (AUDIT:100)