Support Questions
Find answers, ask questions, and share your expertise

Unable to open Atlas UI

Explorer

Hi,

I have created HDP 2.6 on AWS. I have registered atlas port 21000 to master node and set atlas.server.bind.address to the host on which atlas service is running But Atlas UI is not working.I have loaded sample data to atlas server successfully still Atlas UI not working.

6 REPLIES 6

Mentor

@priyal patel

What the permissions on the atlas file? was it started using ambari or manually?

Check Atlas process

$ ps aux | grep -i Atlas 

Check whether the port is listening

$ netstat -an | grep 21000 | grep -i listen

Do you have any errors in /var/log/Atlas etc

Explorer

@Geoffrey Shelton Okot

I have set 777 permission on /var/log/atlas.I was starting Atlas service from Ambari UI

$ ps aux | grep -i Atlas
atlas 1351 6.3 3.9 5748700 655316 ? Sl 06:36 0:14 /usr/lib/jvm/java/bin/java -Datlas.log.dir=/var/log/atlas -Datlas.log.file=application.log -Datlas.home=/usr/hdp/2.6.1.4-2/atlas -Datlas.conf=/usr/hdp/current/atlas-server/conf -Xms2048m -Xmx2048m -XX:MaxNewSize=600m -XX:MetaspaceSize=100m -XX:MaxMetaspaceSize=512m -server -XX:SoftRefLRUPolicyMSPerMB=0 -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+PrintTenuringDistribution -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/atlas/atlas_server.hprof -Xloggc:/var/log/atlas/gc-worker.log -verbose:gc -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=1m -XX:+PrintGCDetails -XX:+PrintHeapAtGC -XX:+PrintGCTimeStamps -Dlog4j.configuration=atlas-log4j.xml -classpath /usr/hdp/current/atlas-server/conf:/usr/hdp/current/atlas-server/server/webapp/atlas/WEB-INF/classes:/usr/hdp/current/atlas-server/server/webapp/atlas/WEB-INF/lib/*:/usr/hdp/2.6.1.4-2/atlas/libext/*:/etc/hbase/conf org.apache.atlas.Atlas -app /usr/hdp/current/atlas-server/server/webapp/atlas 1003 1763 0.0 0.0 110456 2188 pts/0 S+ 06:40 0:00 grep --color=auto -i Atlas
$ netstat -an | grep 21000| grep -i listen
tcp 0 0 0.0.0.0:21000 0.0.0.0:* LISTEN

I have created HDP 2.6 on AWS.I have registered Atlas port to master Public DNS name and my atlas service is on worker node.I added sample data from worker node successfully.

Expert Contributor

@priyal patel

Could you please check application logs for any exceptions and if there are any , can you please paste here ? also , please check network tab and console tab for any errors. What is the response of http://atlashost:21000 in console tab ? and what is displayed on UI ? Can you check if the issue is https://issues.apache.org/jira/browse/ATLAS-1199 ?

Explorer

@Sharmadha Sainath

here is the application log :

2018-03-01 06:27:48,736 WARN - [pool-1-thread-1:] ~ Failed to remove shutdown hook (StandardTitanGraph:194) java.lang.IllegalStateException: Shutdown in progress at java.lang.ApplicationShutdownHooks.remove(ApplicationShutdownHooks.java:82) at java.lang.Runtime.removeShutdownHook(Runtime.java:239) at com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.removeHook(StandardTitanGraph.java:192) at com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.shutdown(StandardTitanGraph.java:160) at org.apache.atlas.repository.graphdb.titan0.Titan0Graph.shutdown(Titan0Graph.java:180) at org.apache.atlas.web.listeners.GuiceServletConfig.contextDestroyed(GuiceServletConfig.java:177) at org.eclipse.jetty.server.handler.ContextHandler.callContextDestroyed(ContextHandler.java:808) at org.eclipse.jetty.servlet.ServletContextHandler.callContextDestroyed(ServletContextHandler.java:457) at org.eclipse.jetty.server.handler.ContextHandler.doStop(ContextHandler.java:842) at org.eclipse.jetty.servlet.ServletContextHandler.doStop(ServletContextHandler.java:215) at org.eclipse.jetty.webapp.WebAppContext.doStop(WebAppContext.java:529) at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89) at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:143) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:162) at org.eclipse.jetty.server.handler.AbstractHandler.doStop(AbstractHandler.java:73) at org.eclipse.jetty.server.Server.doStop(Server.java:456) at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89) at org.apache.atlas.web.service.EmbeddedServer.stop(EmbeddedServer.java:104) at org.apache.atlas.Atlas.shutdown(Atlas.java:73) at org.apache.atlas.Atlas.access$100(Atlas.java:42) at org.apache.atlas.Atlas$1.run(Atlas.java:62) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:748) 2018-03-01 06:27:48,737 INFO - [pool-1-thread-1:] ~ Shutting down log4j (/:2052)

Expert Contributor

@priyal patel

This log shows up when we stop Atlas. Can you please check the logs when you start Atlas and UI doesn't show up ?

Explorer
@Geoffrey Shelton Okot

@Sharmadha Sainath

Actually my Atlas service is running on worker node and i have registered Atlas port to master node.After registering Atlas port 21000 to worker node Atlas UI working fine.

Thanks.