Madhan,

Did you get a chance to look my email?

Thanks,
Mahender

From: Mahender Shankesi
Sent: Thursday, November 29, 2018 3:14 PM
To: 'Madhan Neethiraj' <mad...@apache.org>
Cc: Shankesi Mahender <shank...@gmail.com>; dev <dev@atlas.apache.org>; Apoorv 
Naik <naik.apo...@gmail.com>
Subject: RE: Need Help!!! Atlas Installation Error

root@hn0-hdinsi:/home/sshuser/mahen/apache-atlas-sources-1.1.0/distro/target/apache-atlas-1.1.0-server/apache-atlas-1.1.0/hook/hive#<mailto:root@hn0-hdinsi:/home/sshuser/mahen/apache-atlas-sources-1.1.0/distro/target/apache-atlas-1.1.0-server/apache-atlas-1.1.0/hook/hive#>
 ls -lR
.:
total 36
drwxr-xr-x 2 root root  4096 Nov 19 21:13 atlas-hive-plugin-impl
-rw-r--r-- 1 root root 17495 Nov 19 21:13 atlas-plugin-classloader-1.1.0.jar
-rw-r--r-- 1 root root  9356 Nov 19 21:13 hive-bridge-shim-1.1.0.jar

./atlas-hive-plugin-impl:
total 21916
-rw-r--r-- 1 root root   35395 Nov 19 21:13 atlas-client-common-1.1.0.jar
-rw-r--r-- 1 root root   41712 Nov 19 21:13 atlas-client-v1-1.1.0.jar
-rw-r--r-- 1 root root   18222 Nov 19 21:13 atlas-client-v2-1.1.0.jar
-rw-r--r-- 1 root root   67321 Nov 19 21:13 atlas-common-1.1.0.jar
-rw-r--r-- 1 root root  416437 Nov 19 21:13 atlas-intg-1.1.0.jar
-rw-r--r-- 1 root root   58795 Nov 19 21:13 atlas-notification-1.1.0.jar
-rw-r--r-- 1 root root  362679 Nov 19 21:13 commons-configuration-1.10.jar
-rw-r--r-- 1 root root  530078 Nov 19 21:13 hbase-common-1.1.2.jar
-rw-r--r-- 1 root root 3978343 Nov 19 21:13 hbase-server-1.1.2.jar
-rw-r--r-- 1 root root   10796 Nov 19 21:13 hdfs-model-1.1.0.jar
-rw-r--r-- 1 root root   74378 Nov 19 21:13 hive-bridge-1.1.0.jar
-rw-r--r-- 1 root root   66981 Nov 19 21:13 jackson-annotations-2.9.6.jar
-rw-r--r-- 1 root root  323848 Nov 19 21:13 jackson-core-2.9.6.jar
-rw-r--r-- 1 root root 1349339 Nov 19 21:13 jackson-databind-2.9.6.jar
-rw-r--r-- 1 root root  165345 Nov 19 21:13 jersey-json-1.19.jar
-rw-r--r-- 1 root root   53275 Nov 19 21:13 jersey-multipart-1.19.jar
-rw-r--r-- 1 root root   45927 Nov 19 21:13 jsr311-api-1.1.jar
-rw-r--r-- 1 root root 7452292 Nov 19 21:13 kafka_2.11-1.0.0.jar
-rw-r--r-- 1 root root 1591338 Nov 19 21:13 kafka-clients-1.0.0.jar
-rw-r--r-- 1 root root 5749423 Nov 19 21:13 scala-library-2.11.12.jar

From: Madhan Neethiraj <mad...@apache.org<mailto:mad...@apache.org>>
Sent: Thursday, November 29, 2018 3:01 PM
To: Mahender Shankesi 
<mahender.x.shank...@gsk.com<mailto:mahender.x.shank...@gsk.com>>
Cc: Shankesi Mahender <shank...@gmail.com<mailto:shank...@gmail.com>>; dev 
<dev@atlas.apache.org<mailto:dev@atlas.apache.org>>; Apoorv Naik 
<naik.apo...@gmail.com<mailto:naik.apo...@gmail.com>>
Subject: Re: Need Help!!! Atlas Installation Error


EXTERNAL
Can you list the contents of your Hive hook directory, with the following 
command?
  ls -lR 
/home/sshuser/apache-atlas-sources-1.1.0/distro/target/apache-atlas-1.1.0-server/apache-atlas-1.1.0/hook/hive



From: Mahender Shankesi 
<mahender.x.shank...@gsk.com<mailto:mahender.x.shank...@gsk.com>>
Date: Thursday, November 29, 2018 at 11:47 AM
To: Madhan Neethiraj <mad...@apache.org<mailto:mad...@apache.org>>
Cc: Shankesi Mahender <shank...@gmail.com<mailto:shank...@gmail.com>>, dev 
<dev@atlas.apache.org<mailto:dev@atlas.apache.org>>, Apoorv Naik 
<naik.apo...@gmail.com<mailto:naik.apo...@gmail.com>>
Subject: RE: Need Help!!! Atlas Installation Error

Madhan,

2018-11-26 15:24:40,970 DEBUG [HiveServer2-Background-Pool: Thread-58726] 
metastore.ObjectStore: Commit transaction: count = 0, isactive true at:
               
org.apache.hadoop.hive.metastore.ObjectStore.getTables(ObjectStore.java:1102)
2018-11-26 15:24:40,972 DEBUG [HiveServer2-Background-Pool: Thread-58726] 
pool.PoolBase: HikariPool-1 - Reset (autoCommit) on connection 
ConnectionID:5663 ClientConnectionId: 0e6907cd-dae1-4464-a273-00f97a5e3f41
2018-11-26 15:24:40,972 DEBUG [HiveServer2-Background-Pool: Thread-58726] 
metastore.RetryingHMSHandler: PERFLOG 1693: function=get_tables, 
elapsedTime=4ms, retryCount=0, error=false
2018-11-26 15:24:40,973 DEBUG [HiveServer2-Background-Pool: Thread-58726] 
sqlstd.SQLStdHiveAuthorizationValidator: Obtained following objects in  
filterListCmdObjects [Object [type=TABLE_OR_VIEW, name=default.employee], 
Object [type=TABLE_OR_VIEW, name=default.hivesampletable]] for user anonymous. 
Context Info: QueryContext [commandString=null, forwardedAddresses=[]]
2018-11-26 15:24:40,974 INFO  [HiveServer2-Background-Pool: Thread-58726] 
log.PerfLogger: </PERFLOG method=runTasks start=1543245880570 end=1543245880974 
duration=404 from=org.apache.hadoop.hive.ql.Driver>
2018-11-26 15:24:40,974 DEBUG [HiveServer2-Background-Pool: Thread-58726] 
hook.HiveHook: ==> HiveHook.initialize()
2018-11-26 15:24:40,974 DEBUG [HiveServer2-Background-Pool: Thread-58726] 
classloader.AtlasPluginClassLoader: ==> AtlasPluginClassLoader.deactivate()
2018-11-26 15:24:40,974 DEBUG [HiveServer2-Background-Pool: Thread-58726] 
classloader.AtlasPluginClassLoader: <== AtlasPluginClassLoader.deactivate()
2018-11-26 15:24:40,975 INFO  [HiveServer2-Background-Pool: Thread-58726] 
ql.Driver: Resetting the caller context to 
HIVE_SSN_ID:059e0fb8-9332-4b89-b7e4-98c110d668ed
2018-11-26 15:24:40,975 INFO  [HiveServer2-Background-Pool: Thread-58726] 
metadata.Hive: Dumping metastore api call timing information for : execution 
phase
2018-11-26 15:24:40,975 DEBUG [HiveServer2-Background-Pool: Thread-58726] 
metadata.Hive: Total time spent in each metastore function (ms): 
{isCompatibleWith_(HiveConf, )=1, getTables_(String, String, )=5, 
getDatabase_(String, )=396}
2018-11-26 15:24:40,975 INFO  [HiveServer2-Background-Pool: Thread-58726] 
log.PerfLogger: </PERFLOG method=Driver.execute start=1543245880562 
end=1543245880975 duration=413 from=org.apache.hadoop.hive.ql.Driver>
2018-11-26 15:24:40,975 ERROR [HiveServer2-Background-Pool: Thread-58726] 
operation.Operation: Error running hive query:
org.apache.hive.service.cli.HiveSQLException: Error running query: 
java.lang.NoClassDefFoundError: Could not initialize class 
org.apache.atlas.hive.hook.HiveHook
               at 
org.apache.hive.service.cli.operation.SQLOperation.runQuery(SQLOperation.java:218)
               at 
org.apache.hive.service.cli.operation.SQLOperation.access$300(SQLOperation.java:76)
               at 
org.apache.hive.service.cli.operation.SQLOperation$2$1.run(SQLOperation.java:255)
               at java.security.AccessController.doPrivileged(Native Method)
               at javax.security.auth.Subject.doAs(Subject.java:422)
               at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1869)
               at 
org.apache.hive.service.cli.operation.SQLOperation$2.run(SQLOperation.java:266)
               at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
               at java.util.concurrent.FutureTask.run(FutureTask.java:266)
               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:1149)
               at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
               at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class 
org.apache.atlas.hive.hook.HiveHook
               at java.lang.Class.forName0(Native Method)
               at java.lang.Class.forName(Class.java:348)
               at 
org.apache.atlas.hive.hook.HiveHook.initialize(HiveHook.java:72)
               at org.apache.atlas.hive.hook.HiveHook.<init>(HiveHook.java:41)
               at 
sun.reflect.GeneratedConstructorAccessor78.newInstance(Unknown Source)
               at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
               at 
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
               at java.lang.Class.newInstance(Class.java:442)
               at 
org.apache.hadoop.hive.ql.hooks.HookUtils.getHooks(HookUtils.java:61)
               at org.apache.hadoop.hive.ql.Driver.getHooks(Driver.java:1398)
               at org.apache.hadoop.hive.ql.Driver.getHooks(Driver.java:1382)
               at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1615)
               at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1303)
               at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1170)
               at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1165)
               at 
org.apache.hive.service.cli.operation.SQLOperation.runQuery(SQLOperation.java:197)
               ... 13 more
2018-11-26 15:24:40,976 DEBUG [HiveServer2-Background-Pool: Thread-58726] 
server.ThreadWithGarbageCleanup: Adding RawStore: 
org.apache.hadoop.hive.metastore.ObjectStore@7a99718c<mailto:org.apache.hadoop.hive.metastore.ObjectStore@7a99718c>,
 for the thread: HiveServer2-Background-Pool: Thread-58726 to threadRawStoreMap 
for future cleanup.
2018-11-26 15:24:40,976 DEBUG [HiveServer2-HttpHandler-Pool: Thread-60 - /] 
cli.CLIService: OperationHandle [opType=EXECUTE_STATEMENT, 
getHandleIdentifier()=922193df-b130-4d4f-a085-05c79bd4924f]: 
getOperationStatus()
2018-11-26 15:24:40,976 DEBUG [HiveServer2-HttpHandler-Pool: Thread-60 - /] 
cli.CLIService: Sending Progress Update Response 
:JobProgressUpdate{progressedPercentage=0.0, footerSummary='', 
startTimeMillis=0, headers='', rows='', status=''}
2018-11-26 15:24:40,976 DEBUG [HiveServer2-HttpHandler-Pool: Thread-60 - /] 
server.Server: RESPONSE /  200
2018-11-26 15:24:40,976 DEBUG [HiveServer2-HttpHandler-Pool: Thread-60] 
http.HttpParser: filled 0/0
2018-11-26 15:24:40,989 DEBUG [HiveServer2-HttpHandler-Pool: Thread-60] 
http.HttpParser: filled 475/475
2018-11-26 15:24:40,989 DEBUG [HiveServer2-HttpHandler-Pool: Thread-60 - /] 
server.Server: REQUEST / on 
AsyncHttpConnection@23b934e6,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=2,l=4,c=117},r=6
2018-11-26 15:24:40,990 DEBUG [HiveServer2-HttpHandler-Pool: Thread-60 - /] 
handler.ContextHandler: scope null||/ @ o.e.j.s.ServletContextHandler{/,null}
2018-11-26 15:24:40,990 DEBUG [HiveServer2-HttpHandler-Pool: Thread-60 - /] 
handler.ContextHandler: context=||/ @ o.e.j.s.ServletContextHandler{/,null}
2018-11-26 15:24:40,990 DEBUG [HiveServer2-HttpHandler-Pool: Thread-60 - /] 
server.session: 
sessionManager=org.eclipse.jetty.server.session.HashSessionManager@57cb18ad<mailto:sessionManager=org.eclipse.jetty.server.session.HashSessionManager@57cb18ad>
2018-11-26 15:24:40,990 DEBUG [HiveServer2-HttpHandler-Pool: Thread-60 - /] 
server.session: session=null
2018-11-26 15:24:40,990 DEBUG [HiveServer2-HttpHandler-Pool: Thread-60 - /] 
servlet.ServletHandler: servlet ||/ -> 
org.apache.hive.service.cli.thrift.ThriftHttpServlet-1407741659
2018-11-26 15:24:40,990 DEBUG [HiveServer2-HttpHandler-Pool: Thread-60 - /] 
servlet.ServletHandler: chain=null
2018-11-26 15:24:40,990 DEBUG [HiveServer2-HttpHandler-Pool: Thread-60 - /] 
thrift.ThriftHttpServlet: Received cookies: 
hive.server2.auth=cu=anonymous&rn=6922170715784596470&s=z2kQrSX7/CZWrQ4LrVM3JW8Htv7+AdyIXGxp9U1vuaM=
 ;

2018-11-26 15:24:40,990 DEBUG [HiveServer2-HttpHandler-Pool: Thread-60 - /] 
service.CookieSigner: Signature generated for 
cu=anonymous&rn=6922170715784596470 inside verify is 
z2kQrSX7/CZWrQ4LrVM3JW8Htv7+AdyIXGxp9U1vuaM=
2018-11-26 15:24:40,990 DEBUG [HiveServer2-HttpHandler-Pool: Thread-60 - /] 
thrift.ThriftHttpServlet: Validated the cookie for user anonymous
2018-11-26 15:24:40,991 DEBUG [HiveServer2-HttpHandler-Pool: Thread-60 - /] 
thrift.ThriftHttpServlet: Client username: anonymous
2018-11-26 15:24:40,991 DEBUG [HiveServer2-HttpHandler-Pool: Thread-60 - /] 
thrift.ThriftHttpServlet: URL query string:null
2018-11-26 15:24:40,991 DEBUG [HiveServer2-HttpHandler-Pool: Thread-60 - /] 
thrift.ThriftHttpServlet: Client IP Address: 127.0.0.1
2018-11-26 15:24:40,991 INFO  [HiveServer2-HttpHandler-Pool: Thread-60 - /] 
session.HiveSessionImpl: We are setting the hadoop caller context to 
059e0fb8-9332-4b89-b7e4-98c110d668ed for thread HiveServer2-HttpHandler-Pool: 
Thread-60 - /
2018-11-26 15:24:40,991 INFO  [HiveServer2-HttpHandler-Pool: Thread-60 - /] 
session.HiveSessionImpl: We are resetting the hadoop caller context for thread 
HiveServer2-HttpHandler-Pool: Thread-60 - /
2018-11-26 15:24:40,991 DEBUG [HiveServer2-HttpHandler-Pool: Thread-60 - /] 
cli.CLIService: OperationHandle [opType=EXECUTE_STATEMENT, 
getHandleIdentifier()=922193df-b130-4d4f-a085-05c79bd4924f]: fetchResults()
2018-11-26 15:24:40,991 DEBUG [HiveServer2-HttpHandler-Pool: Thread-60 - /] 
server.Server: RESPONSE /  200

From: Madhan Neethiraj <mad...@apache.org<mailto:mad...@apache.org>>
Sent: Thursday, November 29, 2018 12:30 PM
To: Mahender Shankesi 
<mahender.x.shank...@gsk.com<mailto:mahender.x.shank...@gsk.com>>
Cc: Shankesi Mahender <shank...@gmail.com<mailto:shank...@gmail.com>>; dev 
<dev@atlas.apache.org<mailto:dev@atlas.apache.org>>; Apoorv Naik 
<naik.apo...@gmail.com<mailto:naik.apo...@gmail.com>>
Subject: Re: Need Help!!! Atlas Installation Error


EXTERNAL
> . I believe you are referring the logs from /var/logs/hive hiveserver and 
> hivemetastore
The log file you saw the exception “java.lang.NoClassDefFoundError” in. Didn’t 
you find any other details around this exception in the logs?


From: Mahender Shankesi 
<mahender.x.shank...@gsk.com<mailto:mahender.x.shank...@gsk.com>>
Date: Thursday, November 29, 2018 at 8:40 AM
To: Madhan Neethiraj <mad...@apache.org<mailto:mad...@apache.org>>
Cc: Shankesi Mahender <shank...@gmail.com<mailto:shank...@gmail.com>>, dev 
<dev@atlas.apache.org<mailto:dev@atlas.apache.org>>, Apoorv Naik 
<naik.apo...@gmail.com<mailto:naik.apo...@gmail.com>>
Subject: RE: Need Help!!! Atlas Installation Error

The logs are huge, I’m not able to attach. I believe you are referring the logs 
from /var/logs/hive hiveserver and hivemetastore

Mahender
From: Madhan Neethiraj <mad...@apache.org<mailto:mad...@apache.org>>
Sent: Thursday, November 29, 2018 11:19 AM
To: Mahender Shankesi 
<mahender.x.shank...@gsk.com<mailto:mahender.x.shank...@gsk.com>>
Cc: Shankesi Mahender <shank...@gmail.com<mailto:shank...@gmail.com>>; dev 
<dev@atlas.apache.org<mailto:dev@atlas.apache.org>>; Apoorv Naik 
<naik.apo...@gmail.com<mailto:naik.apo...@gmail.com>>
Subject: Re: Need Help!!! Atlas Installation Error


EXTERNAL
Mahender,

Following error suggests that initialization of HiveHook class failed. As I 
suggested earlier, look into hive logs for more details on the failure. If it 
is not clear what the root cause is, please send entire log file.
java.lang.NoClassDefFoundError: Could not initialize class 
org.apache.atlas.hive.hook.HiveHook”

Madhan



From: Mahender Shankesi 
<mahender.x.shank...@gsk.com<mailto:mahender.x.shank...@gsk.com>>
Date: Thursday, November 29, 2018 at 8:09 AM
To: Madhan Neethiraj <mad...@apache.org<mailto:mad...@apache.org>>
Cc: Shankesi Mahender <shank...@gmail.com<mailto:shank...@gmail.com>>, dev 
<dev@atlas.apache.org<mailto:dev@atlas.apache.org>>, Apoorv Naik 
<naik.apo...@gmail.com<mailto:naik.apo...@gmail.com>>
Subject: RE: Need Help!!! Atlas Installation Error

Madhan,

To reiterate what I’m trying to accomplish, hooking Apache Hive on the Atlas 
which was installed on Azure HD Insight cluster.

I have changed the settings as stated in the document.

hive.exec.post.hooks:  org.apache.atlas.hive.hook.HiveHook


export HIVE_AUX_JARS_PATH=${HIVE_AUX_JARS_PATH}:/home/sshuser/ 
apache-atlas-sources-1.1.0/distro/target/apache-atlas-1.1.0-server/apache-atlas-1.1.0/hook/hive

However when I tried to view tables using HIVE Ambari view in HDInsight cluster 
I’m getting the below error. However when I tried to run Hive from command 
prompt I’m able to insert the data for the second time(I believe one of the 
Hive metastore is corrupted) and was able to retrieve from atlas.

Any help in this regard is greatly appreciated.


    java.sql.SQLException: Error running query: java.lang.NoClassDefFoundError: 
Could not initialize class org.apache.atlas.hive.hook.HiveHook

java.sql.SQLException: Error running query: java.lang.NoClassDefFoundError: 
Could not initialize class org.apache.atlas.hive.hook.HiveHook
                         at 
org.apache.hive.jdbc.HiveStatement.waitForOperationToComplete(HiveStatement.java:348)
                         at 
org.apache.hive.jdbc.HiveStatement.execute(HiveStatement.java:251)
                         at 
org.apache.ambari.view.hive20.HiveJdbcConnectionDelegate.execute(HiveJdbcConnectionDelegate.java:49)
                         at 
org.apache.ambari.view.hive20.actor.StatementExecutor.runStatement(StatementExecutor.java:91)
                         at 
org.apache.ambari.view.hive20.actor.StatementExecutor.handleMessage(StatementExecutor.java:72)
                         at 
org.apache.ambari.view.hive20.actor.HiveActor.onReceive(HiveActor.java:38)
                         at 
akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:167)
                         at 
akka.actor.Actor$class.aroundReceive(Actor.scala:467)
                         at 
akka.actor.UntypedActor.aroundReceive(UntypedActor.scala:97)
                         at 
akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)
                         at akka.actor.ActorCell.invoke(ActorCell.scala:487)
                         at 
akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)
                         at akka.dispatch.Mailbox.run(Mailbox.scala:220)
                         at 
akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:397)
                         at 
scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
                         at 
scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
                         at 
scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
                         at 
scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

          
(less...)<https://hdinsighttestmo.azurehdinsight.net/views/HIVE/2.0.0/AUTO_HIVE20_INSTANCE/>


Mahender
From: Madhan Neethiraj <mad...@apache.org<mailto:mad...@apache.org>>
Sent: Tuesday, November 20, 2018 1:56 PM
To: Mahender Shankesi 
<mahender.x.shank...@gsk.com<mailto:mahender.x.shank...@gsk.com>>
Cc: Shankesi Mahender <shank...@gmail.com<mailto:shank...@gmail.com>>; dev 
<dev@atlas.apache.org<mailto:dev@atlas.apache.org>>; Apoorv Naik 
<naik.apo...@gmail.com<mailto:naik.apo...@gmail.com>>
Subject: Re: Need Help!!! Atlas Installation Error


EXTERNAL
Mahender,



In that case, please look for other error messages in Hive log. It will help 
troubleshooting, if you can provide complete logs.

Madhan

From: Mahender Shankesi 
<mahender.x.shank...@gsk.com<mailto:mahender.x.shank...@gsk.com>>
Date: Tuesday, November 20, 2018 at 10:46 AM
To: Madhan Neethiraj <mad...@apache.org<mailto:mad...@apache.org>>
Cc: Shankesi Mahender <shank...@gmail.com<mailto:shank...@gmail.com>>, dev 
<dev@atlas.apache.org<mailto:dev@atlas.apache.org>>, Apoorv Naik 
<naik.apo...@gmail.com<mailto:naik.apo...@gmail.com>>
Subject: RE: Need Help!!! Atlas Installation Error

Madhan,

I’ve followed the same steps and getting the same error.

Mahender

From: Madhan Neethiraj <mad...@apache.org<mailto:mad...@apache.org>>
Sent: Tuesday, November 20, 2018 1:44 PM
To: Mahender Shankesi 
<mahender.x.shank...@gsk.com<mailto:mahender.x.shank...@gsk.com>>
Cc: Shankesi Mahender <shank...@gmail.com<mailto:shank...@gmail.com>>; dev 
<dev@atlas.apache.org<mailto:dev@atlas.apache.org>>; Apoorv Naik 
<naik.apo...@gmail.com<mailto:naik.apo...@gmail.com>>
Subject: Re: Need Help!!! Atlas Installation Error


EXTERNAL
Mahender,

Please make sure to perform the following, in the hosts where Hive server run 
(from https://atlas.apache.org/Hook-Hive.html):
·        untar apache-atlas-${project.version}-hive-hook.tar.gz
·        cd apache-atlas-hive-hook-${project.version}
·        Copy entire contents of folder 
apache-atlas-hive-hook-${project.version}/hook/hive to <atlas package>/hook/hive
·        Add 'export HIVE_AUX_JARS_PATH=<atlas package>/hook/hive' in 
hive-env.sh of your hive configuration

Hope this helps.

Madhan



From: Mahender Shankesi 
<mahender.x.shank...@gsk.com<mailto:mahender.x.shank...@gsk.com>>
Date: Tuesday, November 20, 2018 at 10:12 AM
To: Apoorv Naik <naik.apo...@gmail.com<mailto:naik.apo...@gmail.com>>
Cc: Shankesi Mahender <shank...@gmail.com<mailto:shank...@gmail.com>>, Madhan 
Neethiraj <mad...@apache.org<mailto:mad...@apache.org>>, dev 
<dev@atlas.apache.org<mailto:dev@atlas.apache.org>>
Subject: RE: RE: Need Help!!! Atlas Installation Error

Apoorv,

I’m trying to hook Hive to the apache and followed the instructions at the 
below page..

https://atlas.apache.org/Hook-Hive.html

However I’m getting the below error while starting the hive server in HDInsight 
cluster. Do you have any idea about this?

  java.sql.SQLException: Error running query: java.lang.NoClassDefFoundError: 
Could not initialize class org.apache.atlas.hive.hook.HiveHook

java.sql.SQLException: Error running query: java.lang.NoClassDefFoundError: 
Could not initialize class org.apache.atlas.hive.hook.HiveHook
                         at 
org.apache.hive.jdbc.HiveStatement.waitForOperationToComplete(HiveStatement.java:348)
                         at 
org.apache.hive.jdbc.HiveStatement.execute(HiveStatement.java:251)
                         at 
org.apache.ambari.view.hive20.HiveJdbcConnectionDelegate.execute(HiveJdbcConnectionDelegate.java:49)
                         at 
org.apache.ambari.view.hive20.actor.StatementExecutor.runStatement(StatementExecutor.java:91)
                         at 
org.apache.ambari.view.hive20.actor.StatementExecutor.handleMessage(StatementExecutor.java:72)
                         at 
org.apache.ambari.view.hive20.actor.HiveActor.onReceive(HiveActor.java:38)
                         at 
akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:167)
                         at 
akka.actor.Actor$class.aroundReceive(Actor.scala:467)
                         at 
akka.actor.UntypedActor.aroundReceive(UntypedActor.scala:97)
                         at 
akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)
                         at akka.actor.ActorCell.invoke(ActorCell.scala:487)
                         at 
akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)
                         at akka.dispatch.Mailbox.run(Mailbox.scala:220)
                         at 
akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:397)
                         at 
scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
                         at 
scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
                         at 
scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
                         at 
scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

Thanks,
Mahender


From: Apoorv Naik <naik.apo...@gmail.com<mailto:naik.apo...@gmail.com>>
Sent: Friday, November 2, 2018 2:22 PM
To: Mahender Shankesi 
<mahender.x.shank...@gsk.com<mailto:mahender.x.shank...@gsk.com>>
Cc: Shankesi Mahender <shank...@gmail.com<mailto:shank...@gmail.com>>; Madhan 
Neethiraj <mad...@apache.org<mailto:mad...@apache.org>>; dev 
<dev@atlas.apache.org<mailto:dev@atlas.apache.org>>
Subject: Re: RE: Need Help!!! Atlas Installation Error


EXTERNAL
Not that I know of.

Apoorv Naik


On Fri, Nov 2, 2018 at 9:42 AM Mahender Shankesi 
<mahender.x.shank...@gsk.com<mailto:mahender.x.shank...@gsk.com>> wrote:
Apoorv/Dev Team,

We are facing challenges on install Atlas on HDinsight cluster, did anyone able 
to install it earlier on Azure HDInsight Clusters?

Mahender

From: Apoorv Naik <naik.apo...@gmail.com<mailto:naik.apo...@gmail.com>>
Sent: Wednesday, October 24, 2018 3:37 PM
To: Mahender Shankesi 
<mahender.x.shank...@gsk.com<mailto:mahender.x.shank...@gsk.com>>
Cc: Shankesi Mahender <shank...@gmail.com<mailto:shank...@gmail.com>>; Madhan 
Neethiraj <mad...@apache.org<mailto:mad...@apache.org>>; dev 
<dev@atlas.apache.org<mailto:dev@atlas.apache.org>>
Subject: Re: RE: Need Help!!! Atlas Installation Error


EXTERNAL
There are a bunch of models that get loaded during the startup process. 
typically the files will follow *_model.json pattern.

https://github.com/apache/atlas/tree/master/addons/models


Apoorv Naik


On Wed, Oct 24, 2018 at 12:22 PM Mahender Shankesi 
<mahender.x.shank...@gsk.com<mailto:mahender.x.shank...@gsk.com>> wrote:
Apoorv,

My atlas is up and running. I tried to find a datamodel for the tables we 
loaded as quick_start.py I couldn’t find one. I saw the data is coming up but 
not sure how the backend data model works. If some one from your team has a 
data model can you please share with me.

Thanks,
Mahender

From: Apoorv Naik <naik.apo...@gmail.com<mailto:naik.apo...@gmail.com>>
Sent: Friday, October 19, 2018 3:52 PM
To: Mahender Shankesi 
<mahender.x.shank...@gsk.com<mailto:mahender.x.shank...@gsk.com>>; Apoorv Naik 
<apoorvn...@apache.org<mailto:apoorvn...@apache.org>>
Cc: Shankesi Mahender <shank...@gmail.com<mailto:shank...@gmail.com>>; Madhan 
Neethiraj <mad...@apache.org<mailto:mad...@apache.org>>; dev 
<dev@atlas.apache.org<mailto:dev@atlas.apache.org>>
Subject: Re: RE: Need Help!!! Atlas Installation Error


EXTERNAL
Everything should be available on atlas.apache.org<http://atlas.apache.org> if 
you get stuck please reach out to the community and mention any gaps in the 
documentation (if any).


On Oct 19, 2018 at 12:48 PM, <Mahender 
Shankesi<mailto:mahender.x.shank...@gsk.com>> wrote:
Apoorv,

Thanks for your email.  I did installed one more time with only HBASE installed 
this time it worked and was able to view through browser. I will get back to 
you if I have any issues.

Do you have any other documentation on Atlas for further study.

Mahender



From: Apoorv Naik <apoorvn...@apache.org<mailto:apoorvn...@apache.org>>
Sent: Friday, October 19, 2018 2:55 PM
To: Mahender Shankesi 
<mahender.x.shank...@gsk.com<mailto:mahender.x.shank...@gsk.com>>
Cc: Shankesi Mahender <shank...@gmail.com<mailto:shank...@gmail.com>>; Madhan 
Neethiraj <mad...@apache.org<mailto:mad...@apache.org>>; dev 
<dev@atlas.apache.org<mailto:dev@atlas.apache.org>>
Subject: Re: Need Help!!! Atlas Installation Error


EXTERNAL
I tried checking the classpath for duplicate netty dependency but couldn't find 
it.

Can you clean your local maven repo and run the following command ? Please 
share the output if you see multiple netty JARs in the output.

mvn dependency:build-classpath -Pdist,embedded-cassandra-solr -pl webapp

On Fri, Oct 19, 2018 at 9:19 AM Mahender Shankesi 
<mahender.x.shank...@gsk.com<mailto:mahender.x.shank...@gsk.com>> wrote:
Apoorv,

Any update on this?

Mahender

From: Apoorv Naik <apoorvn...@apache.org<mailto:apoorvn...@apache.org>>
Sent: Wednesday, October 17, 2018 12:11 PM
To: Mahender Shankesi 
<mahender.x.shank...@gsk.com<mailto:mahender.x.shank...@gsk.com>>
Cc: Shankesi Mahender <shank...@gmail.com<mailto:shank...@gmail.com>>; Madhan 
Neethiraj <mad...@apache.org<mailto:mad...@apache.org>>; dev 
<dev@atlas.apache.org<mailto:dev@atlas.apache.org>>
Subject: Re: Need Help!!! Atlas Installation Error


EXTERNAL
Hi Mahender,

Sorry I didn't have time to investigate this. I'll try looking at it today or 
tomorrow.

On Wed, Oct 17, 2018 at 6:56 AM Mahender Shankesi 
<mahender.x.shank...@gsk.com<mailto:mahender.x.shank...@gsk.com>> wrote:
Dev Team,

Any update on this?

Mahender

From: Shankesi Mahender <shank...@gmail.com<mailto:shank...@gmail.com>>
Sent: Monday, October 15, 2018 9:30 AM
To: apoorvn...@apache.org<mailto:apoorvn...@apache.org>; Mahender Shankesi 
<mahender.x.shank...@gsk.com<mailto:mahender.x.shank...@gsk.com>>
Cc: Madhan Neethiraj <mad...@apache.org<mailto:mad...@apache.org>>; 
dev@atlas.apache.org<mailto:dev@atlas.apache.org>
Subject: Re: Need Help!!! Atlas Installation Error


EXTERNAL
Apoorv/Dev Team,

Any update on the below request? For tracking purpose I have created a JIRA 
ticket with Apache.

https://issues.apache.org/jira/browse/ATLAS-2919

Meanwhile can anyone share the Datamodel of ATLAS.

Thanks & Regards,
Mahender





On Thu, Oct 11, 2018 at 6:44 PM Shankesi Mahender 
<shank...@gmail.com<mailto:shank...@gmail.com>> wrote:
Thanks Apoorv.

Mahender

On Thu, Oct 11, 2018 at 4:21 PM Apoorv Naik 
<apoorvn...@apache.org<mailto:apoorvn...@apache.org>> wrote:
This looks like an issue with the packaging, a wrong version of netty is 
getting pulled in. I'll try to find the source and update the thread.

On Thu, Oct 11, 2018 at 1:10 PM Shankesi Mahender 
<shank...@gmail.com<mailto:shank...@gmail.com>> wrote:
Please find attached the application log. Did some more debugging and found out 
that starting cassandra is an issue.

Any help would be greatly appreciated.

I  got at one situation where I can't proceed further.

Regards,
Mahender

On Thu, Oct 11, 2018 at 12:56 PM Shankesi Mahender 
<shank...@gmail.com<mailto:shank...@gmail.com>> wrote:
Madhan/Dev team,

I'm able to install by changing the command  mvn clean -DskipTests package 
-Pdist,embedded-cassandra-solr

I faced the same issue with executing the curl command again..

$<mailto:idtooleval@data-management-tools-eval:~/mahen/apache-atlas-sources-1.1.0/distro/target/apache-atlas-1.1.0/bin$>
 curl -u admin:admin 
http://myip:21000/api/atlas/admin/version<http://10.41.64.19:21000/api/atlas/admin/version>
curl: (7) Failed to connect to myip port 21000: Connection refused
$<mailto:idtooleval@data-management-tools-eval:~/mahen/apache-atlas-sources-1.1.0/distro/target/apache-atlas-1.1.0/bin$>
 curl -u admin:admin 
https://myip/api/atlas/admin/version<https://10.41.64.19:21443/api/atlas/admin/version>
curl: (7) Failed to connect to myip port 21443: Connection refused

I went to atlas_config.py and change the DEFAULT_ATLAS_SERVER_HOST to my ip. 
None of them seems to be working.

$ netstat -a | grep 21000
netstat -a | grep 21443

Didn't return anything.

Do I need to do anything extra which is not documented in the instructions?

Thanks for your help.

Mahender

On Wed, Oct 10, 2018 at 11:54 PM Shankesi Mahender 
<shank...@gmail.com<mailto:shank...@gmail.com>> wrote:
Dev team,

I'm able to install when I changed the command like below.

mvn clean -DskipTests package -Pdist,embedded-cassandra-solr.

After that when I started apache server I'm getting the below error.

 File "atlas_start.py", line 107
    print "Cannot run setup when server is running."
                                                   ^
SyntaxError: Missing parentheses in call to 'print'

I tried to stop the server if it is already started but I got the same kind of 
error.

File "atlas_stop.py", line 63
    print "Apache Atlas Server stopped!!!\n"
                                           ^
SyntaxError: Missing parentheses in call to 'print'

Can  anyone help me on this?

Thanks,
Mahender




On Wed, Oct 10, 2018 at 4:23 PM Mahender Shankesi 
<shank...@gmail.com<mailto:shank...@gmail.com>> wrote:
I changed it but still not working.

Mahender
Sent from my iPhone

On Oct 10, 2018, at 4:03 PM, Madhan Neethiraj 
<mad...@apache.org<mailto:mad...@apache.org>> wrote:
(copying dev list)

Mahender – the port # to use is “21000”; the curl commands you listed show 
“2100”. Please try after correcting this.

@Pierre – perhaps you can help with the question on Cassandra?

Madhan


From: Shankesi Mahender <shank...@gmail.com<mailto:shank...@gmail.com>>
Date: Wednesday, October 10, 2018 at 12:37 PM
To: "mad...@apache.org<mailto:mad...@apache.org>" 
<mad...@apache.org<mailto:mad...@apache.org>>
Subject: Re: Need Help!!! Atlas Installation Error

Madhan,

I followed the instructions in the below site..

https://atlas.apache.org/InstallationSteps.html

I did it in two machines one Azure VM and one Azure Hdinisights.

Hdinsights I'm able to install all steps correctly and run apache_start 
properly. However I'm not able to run the curl command..

sshuser@XXX:~/xyz/apache-atlas-sources-1.1.0/distro/target/apache-atlas-1.1.0/bin$<mailto:sshuser@XXX:~/xyz/apache-atlas-sources-1.1.0/distro/target/apache-atlas-1.1.0/bin$>
 curl -u admin:admin https://xxx.azurehdinsight.net:2100/api/atlas/admin/version
^C
sshuser@xxx:~/xxx/apache-atlas-sources-1.1.0/distro/target/apache-atlas-1.1.0/bin$<mailto:sshuser@xxx:~/xxx/apache-atlas-sources-1.1.0/distro/target/apache-atlas-1.1.0/bin$>
 curl -u admin:admin https://localhost:2100/api/atlas/admin/version
curl: (7) Failed to connect to localhost port 2100: Connection refused


However I'm facing challenges in install the steps in VM..


mvn clean package -Pdist,embedded-cassandra-solr

I'm getting the below error and it is hanging there..

pache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:117)
        at 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraph.<init>(AtlasJanusGraph.java:93)
        at 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:117)
        at 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraph.<init>(AtlasJanusGraph.java:93)
        at 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:117)
        at 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraph.<init>(AtlasJanusGraph.java:93)
        at 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:117)
        at 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraph.<init>(AtlasJanusGraph.java:93)
        at 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:117)
        at 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraph.<init>(AtlasJanusGraph.java:93)


Any help is greatly appreciated..


Mahender
        at org.a

On Tue, Oct 9, 2018 at 3:09 PM Madhan Neethiraj 
<mad...@apache.org<mailto:mad...@apache.org>> wrote:
Mahender,

“port 80”? Atlas should be listening in port 21000 by default. Which URL are 
you getting this error for?

Thanks,
Madhan




From: Shankesi Mahender <shank...@gmail.com<mailto:shank...@gmail.com>>
Date: Tuesday, October 9, 2018 at 11:56 AM
To: "mad...@apache.org<mailto:mad...@apache.org>" 
<mad...@apache.org<mailto:mad...@apache.org>>
Subject: Re: Need Help!!! Atlas Installation Error

Thanks Madhan..

When I tried to run the curl command with admin:admin I got below error.

curl: (7) Failed to connect to ipaddress port 80: Connection refused

When I tried to start atlas_start.py I got the following error

  File "atlas_start.py", line 107
    print "Cannot run setup when server is running."
                                                   ^
SyntaxError: Missing parentheses in call to 'print'

Do you know anything about this?

Thanks for your help.

Mahender

On Tue, Oct 9, 2018 at 2:07 PM Madhan Neethiraj 
<mad...@apache.org<mailto:mad...@apache.org>> wrote:
Mahender,

Default username:password is: admin:admin. Please try with these and let me 
know.

Thanks,
Madhan




From: Shankesi Mahender <shank...@gmail.com<mailto:shank...@gmail.com>>
Date: Tuesday, October 9, 2018 at 6:03 AM
To: Shankesi Mahender <shank...@gmail.com<mailto:shank...@gmail.com>>
Subject: Need Help!!! Atlas Installation Error

I’m trying to install Apache Atlas on my Hdinsight cluster and following the 
instructions from the below page.

https://atlas.apache.org/InstallationSteps.html

I was able to install correctly until the below point.

curl -u username:password http://localhost:21000/api/atlas/admin/version

When I execute this command it is throwing an error, I have replace the 
localhost with my azure hdinsight one and error says
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<title>403 - Forbidden: Access is denied.</title>
<style type="text/css">

I’m not sure what should I provide for username and password, I tried different 
ways username:password, admin:admin and my cluster id/password none of them 
seems to be working.

Do you know any default userid and password is there for the installation? I 
didn’t see  anywhere in the documentation.

Thanks for your help in advance.

Mahender

GSK monitors email communications sent to and from GSK in order to protect GSK, 
our employees, customers, suppliers and business partners, from cyber threats 
and loss of GSK Information. GSK monitoring is conducted with appropriate 
confidentiality controls and in accordance with local laws and after 
appropriate consultation.

GSK monitors email communications sent to and from GSK in order to protect GSK, 
our employees, customers, suppliers and business partners, from cyber threats 
and loss of GSK Information. GSK monitoring is conducted with appropriate 
confidentiality controls and in accordance with local laws and after 
appropriate consultation.

GSK monitors email communications sent to and from GSK in order to protect GSK, 
our employees, customers, suppliers and business partners, from cyber threats 
and loss of GSK Information. GSK monitoring is conducted with appropriate 
confidentiality controls and in accordance with local laws and after 
appropriate consultation.

GSK monitors email communications sent to and from GSK in order to protect GSK, 
our employees, customers, suppliers and business partners, from cyber threats 
and loss of GSK Information. GSK monitoring is conducted with appropriate 
confidentiality controls and in accordance with local laws and after 
appropriate consultation.

GSK monitors email communications sent to and from GSK in order to protect GSK, 
our employees, customers, suppliers and business partners, from cyber threats 
and loss of GSK Information. GSK monitoring is conducted with appropriate 
confidentiality controls and in accordance with local laws and after 
appropriate consultation.

GSK monitors email communications sent to and from GSK in order to protect GSK, 
our employees, customers, suppliers and business partners, from cyber threats 
and loss of GSK Information. GSK monitoring is conducted with appropriate 
confidentiality controls and in accordance with local laws and after 
appropriate consultation.

GSK monitors email communications sent to and from GSK in order to protect GSK, 
our employees, customers, suppliers and business partners, from cyber threats 
and loss of GSK Information. GSK monitoring is conducted with appropriate 
confidentiality controls and in accordance with local laws and after 
appropriate consultation.

GSK monitors email communications sent to and from GSK in order to protect GSK, 
our employees, customers, suppliers and business partners, from cyber threats 
and loss of GSK Information. GSK monitoring is conducted with appropriate 
confidentiality controls and in accordance with local laws and after 
appropriate consultation.

GSK monitors email communications sent to and from GSK in order to protect GSK, 
our employees, customers, suppliers and business partners, from cyber threats 
and loss of GSK Information. GSK monitoring is conducted with appropriate 
confidentiality controls and in accordance with local laws and after 
appropriate consultation.

GSK monitors email communications sent to and from GSK in order to protect GSK, 
our employees, customers, suppliers and business partners, from cyber threats 
and loss of GSK Information. GSK monitoring is conducted with appropriate 
confidentiality controls and in accordance with local laws and after 
appropriate consultation.

GSK monitors email communications sent to and from GSK in order to protect GSK, 
our employees, customers, suppliers and business partners, from cyber threats 
and loss of GSK Information. GSK monitoring is conducted with appropriate 
confidentiality controls and in accordance with local laws and after 
appropriate consultation.

Reply via email to