Member since
01-21-2019
122
Posts
12
Kudos Received
10
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
6174 | 02-12-2019 04:26 AM | |
2202 | 01-24-2019 09:14 AM | |
1756 | 02-20-2018 06:47 AM | |
2180 | 01-04-2018 05:56 AM | |
1884 | 09-09-2017 02:50 PM |
03-27-2017
04:48 PM
@Jigar Chhadwa, Atlas provides a script/tool to import metadata from hive for all hive entities like tables, database, views, columns etc... This tool/script requires hadoop and hive classpath jars, to make them available to the script You can use import hive script to import hive entities in Atlas metadata. Refer this article https://community.hortonworks.com/articles/61274/import-hive-metadata-into-atlas.html Hope this is helpful to you. Nixon
... View more
03-27-2017
03:56 PM
Atlas can run in standlone env also, Best if you can use HDP with Ambari, where you can use array of hadoop products such hdfs,kafka,sqoop,storm,ranger etc. Ambari will help you a lot in installation and configaration.
... View more
03-27-2017
12:02 PM
@Naseem Rafique Your $JAVA_HOME={/usr/lib/jvm/java-8-oracle/jre/bin/java} path is set wrong. export JAVA_HOME=/usr/lib/jvm/java-8-oracle http://askubuntu.com/a/175519 Please validated.
... View more
03-27-2017
11:06 AM
@Naseem Rafique can you check if this env variable are set properly on cmdline echo $JAVA_HOME echo $MANAGE_LOCAL_SOLR echo $MANAGE_LOCAL_HBASE Also can you provide atlas-application.log
... View more
03-27-2017
07:48 AM
@Karthik K, What is hdp version or apache-atlas version you are using ?
... View more
03-27-2017
07:29 AM
@Naseem Rafique For embeded-hbase-solr option you dont require any setup of solr or hbase, it already package in distro and managed by atlas in start up script can you export this env variable and then start then Atlas (atlas_start.py) export MANAGE_LOCAL_SOLR=True export MANAGE_LOCAL_HBASE=True
... View more
03-26-2017
06:11 AM
@Naseem Rafique After checking the log1.txt i feels that your hbase is still not up & running, try to make it up and create few tables and then try with Atlas. OR Workaround, Use berkeley-elasticsearch profile instead embBededhbase solr. http://atlas.incubator.apache.org/InstallationSteps.html You need rebuild atlas with below profile mvn clean package -Pdist,berkeley-elasticsearch
... View more
03-24-2017
12:32 PM
@Naseem Rafique I think you are using embedded-hbase-solr option in that case external zookeeper is not needed. please stop external zookeeper and try.
... View more
03-24-2017
11:53 AM
@Naseem Rafique your hbase is down, it has not started well. please restart Atlas and check com.thinkaurelius.titan.diskstorage.hbase.HBaseCompat1_1 (HBaseCompatLoader:69)\ 2017-03-24 11:23:16,997 INFO - [main:] ~ Copied host list from root.storage.hostname to hbase.zookeeper.quorum: localhost (HBaseStoreManager:320)\
2017-03-24 11:23:17,159 WARN - [main:] ~ FAILED o.e.j.w.WebAppContext@fcb4004\{/,file:/home/ubuntu/atlas-code/distro/target/apache-atlas-0.9-incubating-SNAPSHOT/server/webapp/atlas/,STARTING\}\{/home/ubuntu/atlas-code/distro/target/apache-atlas-0.9-incubating-SNAPSHOT/server/webapp/atlas\}: java.lang.ExceptionInInitializerError (AbstractLifeCycle:212)\
java.lang.ExceptionInInitializerError\
at java.lang.Class.forName0(Native Method)\
at java.lang.Class.forName(Class.java:264)\
at org.apache.atlas.ApplicationProperties.getClass(ApplicationProperties.java:120)\
at org.apache.atlas.util.AtlasRepositoryConfiguration.getDeleteHandlerImpl(AtlasRepositoryConfiguration.java:103)\
at org.apache.atlas.RepositoryMetadataModule.configure(RepositoryMetadataModule.java:109)\
at com.google.inject.AbstractModule.configure(AbstractModule.java:62)\
at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:340)\
at com.google.inject.spi.Elements.getElements(Elements.java:110)\
at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:138)\
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104)\
at com.google.inject.Guice.createInjector(Guice.java:99)\
at com.google.inject.Guice.createInjector(Guice.java:84)\
at org.apache.atlas.web.listeners.GuiceServletConfig.getInjector(GuiceServletConfig.java:77)\
at com.google.inject.servlet.GuiceServletContextListener.contextInitialized(GuiceServletContextListener.java:47)\
at org.apache.atlas.web.listeners.GuiceServletConfig.contextInitialized(GuiceServletConfig.java:142)\
at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:800)\
at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:444)\
at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:791)\
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:294)\
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)\
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)\
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)\
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)\
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)\
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)\
at org.eclipse.jetty.server.Server.start(Server.java:387)\
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)\
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)\
at org.eclipse.jetty.server.Server.doStart(Server.java:354)\
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)\
at org.apache.atlas.web.service.EmbeddedServer.start(EmbeddedServer.java:95)\
at org.apache.atlas.Atlas.main(Atlas.java:118)\
Caused by: java.lang.RuntimeException: java.lang.NullPointerException\
at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithoutRetries(RpcRetryingCaller.java:208)\
at org.apache.hadoop.hbase.client.ClientScanner.call(ClientScanner.java:320)\
at org.apache.hadoop.hbase.client.ClientScanner.nextScanner(ClientScanner.java:295)\
at org.apache.hadoop.hbase.client.ClientScanner.initializeScannerInConstruction(ClientScanner.java:160)\
at org.apache.hadoop.hbase.client.ClientScanner.<init>(ClientScanner.java:155)\
at org.apache.hadoop.hbase.client.HTable.getScanner(HTable.java:821)\
at org.apache.hadoop.hbase.MetaTableAccessor.fullScan(MetaTableAccessor.java:602)\
at org.apache.hadoop.hbase.MetaTableAccessor.tableExists(MetaTableAccessor.java:366)\
at org.apache.hadoop.hbase.client.HBaseAdmin.tableExists(HBaseAdmin.java:303)\
at com.thinkaurelius.titan.diskstorage.hbase.HBaseAdmin1_0.tableExists(HBaseAdmin1_0.java:78)\
at com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager.ensureTableExists(HBaseStoreManager.java:714)\
at com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager.ensureColumnFamilyExists(HBaseStoreManager.java:792)\
at com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager.openDatabase(HBaseStoreManager.java:474)\
at com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager.openDatabase(HBaseStoreManager.java:455)\
at com.thinkaurelius.titan.diskstorage.Backend.getStandaloneGlobalConfiguration(Backend.java:387)\
at com.thinkaurelius.titan.graphdb.configuration.GraphDatabaseConfiguration.<init>(GraphDatabaseConfiguration.java:1277)\
at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:93)\
at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:73)\
at org.apache.atlas.repository.graphdb.titan0.Titan0GraphDatabase.getGraphInstance(Titan0GraphDatabase.java:115)\
at org.apache.atlas.repository.graphdb.titan0.Titan0GraphDatabase.getGraph(Titan0GraphDatabase.java:171)\
at org.apache.atlas.repository.graph.AtlasGraphProvider.getGraphInstance(AtlasGraphProvider.java:38)\
at org.apache.atlas.repository.graph.GraphHelper.getInstance(GraphHelper.java:114)\
at org.apache
... View more
03-24-2017
11:18 AM
@Naseem Rafique Seems your Atlas server is down. do followings steps. restart atlas and same time tail the atlas-application.logs please attacht your atlas-application.logs
... View more