Re: Need Help!!! Atlas Installation Error

2018-10-10 Thread Madhan Neethiraj
(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 
Date: Wednesday, October 10, 2018 at 12:37 PM
To: "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$
 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$
 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.(AtlasJanusGraph.java:93)

at 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:117)

at 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraph.(AtlasJanusGraph.java:93)

at 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:117)

at 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraph.(AtlasJanusGraph.java:93)

at 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:117)

at 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraph.(AtlasJanusGraph.java:93)

at 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:117)

at 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraph.(AtlasJanusGraph.java:93)

 

 

Any help is greatly appreciated..

 

 

Mahender

at org.a

 

On Tue, Oct 9, 2018 at 3:09 PM Madhan Neethiraj  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 
Date: Tuesday, October 9, 2018 at 11:56 AM
To: "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  wrote:

Mahender,

 

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

 

Thanks,

Madhan

 

 

 

 

From: Shankesi Mahender 
Date: Tuesday, October 9, 2018 at 6:03 AM
To: Shankesi Mahender 
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 



403 - Forbidden: Access is denied.


Re: Need Help!!! Atlas Installation Error

2018-10-10 Thread Mahender Shankesi
I changed it but still not working.

Mahender

Sent from my iPhone

> On Oct 10, 2018, at 4:03 PM, Madhan Neethiraj  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 
> Date: Wednesday, October 10, 2018 at 12:37 PM
> To: "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$
>  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$
>  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.(AtlasJanusGraph.java:93)
> at 
> org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:117)
> at 
> org.apache.atlas.repository.graphdb.janus.AtlasJanusGraph.(AtlasJanusGraph.java:93)
> at 
> org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:117)
> at 
> org.apache.atlas.repository.graphdb.janus.AtlasJanusGraph.(AtlasJanusGraph.java:93)
> at 
> org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:117)
> at 
> org.apache.atlas.repository.graphdb.janus.AtlasJanusGraph.(AtlasJanusGraph.java:93)
> at 
> org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:117)
> at 
> org.apache.atlas.repository.graphdb.janus.AtlasJanusGraph.(AtlasJanusGraph.java:93)
>  
>  
> Any help is greatly appreciated..
>  
>  
> Mahender
> at org.a
>  
> On Tue, Oct 9, 2018 at 3:09 PM Madhan Neethiraj  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 
> Date: Tuesday, October 9, 2018 at 11:56 AM
> To: "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  wrote:
> Mahender,
>  
> Default username:password is: admin:admin. Please try with these and let me 
> know.
>  
> Thanks,
> Madhan
>  
>  
>  
>  
> From: Shankesi Mahender 
> Date: Tuesday, October 9, 2018 at 6:03 AM
> To: Shankesi Mahender 
> 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
> 
> 403 - Forbidden: Access is denied.
> 

Re: Need Help!!! Atlas Installation Error

2018-10-10 Thread Apoorv Naik
Can you share the startup stack trace ? I've run into similar issue and might 
be able to help after having more context.

On 10/10/18, 1:49 PM, "Mahender Shankesi"  wrote:

I changed it but still not working.

Mahender

Sent from my iPhone

> On Oct 10, 2018, at 4:03 PM, Madhan Neethiraj  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 
> Date: Wednesday, October 10, 2018 at 12:37 PM
    > To: "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$
 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$
 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.(AtlasJanusGraph.java:93)
> at 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:117)
> at 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraph.(AtlasJanusGraph.java:93)
> at 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:117)
> at 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraph.(AtlasJanusGraph.java:93)
> at 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:117)
> at 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraph.(AtlasJanusGraph.java:93)
> at 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:117)
> at 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraph.(AtlasJanusGraph.java:93)
>  
>  
> Any help is greatly appreciated..
>  
>  
> Mahender
> at org.a
>  
> On Tue, Oct 9, 2018 at 3:09 PM Madhan Neethiraj  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 
> Date: Tuesday, October 9, 2018 at 11:56 AM
> To: "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  wrote:
> Mahender,
>  
> Default username:password is: admin:admin. Please try with these and let 
me know.
>  
> Thanks,
> Madhan
>  
>  
>  
>  
> From: Shankesi Mahender 
> Date: Tuesday, October 9, 2018 at 6:03 AM
> To: Shankesi Mahender 
> Subject: Need Help!!! Atlas Installation Error
>  
> I’m trying to install Apache Atlas on my Hdinsig

Re: Need Help!!! Atlas Installation Error

2018-10-10 Thread Shankesi Mahender
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 
wrote:

> I changed it but still not working.
>
> Mahender
>
> Sent from my iPhone
>
> On Oct 10, 2018, at 4:03 PM, Madhan Neethiraj  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 
> *Date: *Wednesday, October 10, 2018 at 12:37 PM
> *To: *"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$
> 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$
> 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.(AtlasJanusGraph.java:93)
>
> at
> org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:117)
>
> at
> org.apache.atlas.repository.graphdb.janus.AtlasJanusGraph.(AtlasJanusGraph.java:93)
>
> at
> org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:117)
>
> at
> org.apache.atlas.repository.graphdb.janus.AtlasJanusGraph.(AtlasJanusGraph.java:93)
>
> at
> org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:117)
>
> at
> org.apache.atlas.repository.graphdb.janus.AtlasJanusGraph.(AtlasJanusGraph.java:93)
>
> at
> org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:117)
>
> at
> org.apache.atlas.repository.graphdb.janus.AtlasJanusGraph.(AtlasJanusGraph.java:93)
>
>
>
>
>
> Any help is greatly appreciated..
>
>
>
>
>
> Mahender
>
> at org.a
>
>
>
> On Tue, Oct 9, 2018 at 3:09 PM Madhan Neethiraj  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 
> *Date: *Tuesday, October 9, 2018 at 11:56 AM
> *To: *"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

Re: Need Help!!! Atlas Installation Error

2018-10-10 Thread Apoorv Naik
Python version mismatch. I think you're using Python3 and the current atlas 
scripts are Python 2 specific.

On 10/10/18, 8:57 PM, "Shankesi Mahender"  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 
wrote:

> I changed it but still not working.
>
> Mahender
>
> Sent from my iPhone
>
> On Oct 10, 2018, at 4:03 PM, Madhan Neethiraj  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 
> *Date: *Wednesday, October 10, 2018 at 12:37 PM
> *To: *"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$
> 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$
> 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.(AtlasJanusGraph.java:93)
>
> at
> 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:117)
>
> at
> 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraph.(AtlasJanusGraph.java:93)
>
> at
> 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:117)
>
> at
> 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraph.(AtlasJanusGraph.java:93)
>
> at
> 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:117)
>
> at
> 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraph.(AtlasJanusGraph.java:93)
>
> at
> 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:117)
>
> at
> 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraph.(AtlasJanusGraph.java:93)
>
>
>
>
>
> Any help is greatly appreciated..
>
>
>
>
>
> Mahender
>
>     at org.a
    >
>
    >
> On Tue, Oct 9, 2018 at 3:09 PM Madhan Neethiraj  wrote:
>
> Mahender,
>
>
>
> “port 80”? Atlas should be listening in port 21000 b

Re: Need Help!!! Atlas Installation Error

2018-10-11 Thread Shankesi Mahender
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..

$

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

$

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 
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 
> wrote:
>
>> I changed it but still not working.
>>
>> Mahender
>>
>> Sent from my iPhone
>>
>> On Oct 10, 2018, at 4:03 PM, Madhan Neethiraj  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 
>> *Date: *Wednesday, October 10, 2018 at 12:37 PM
>> *To: *"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$
>> 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$
>> 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.(AtlasJanusGraph.java:93)
>>
>> at
>> org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:117)
>>
>> at
>> org.apache.atlas.repository.graphdb.janus.AtlasJanusGraph.(AtlasJanusGraph.java:93)
>>
>> at
>> org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:117)
>>
>> at
>> org.apache.atlas.repository.graphdb.janus.AtlasJanusGraph.(AtlasJanusGraph.java:93)
>>
>> at
>> org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:117)
>>
>> 

Re: Need Help!!! Atlas Installation Error

2018-10-11 Thread Apoorv Naik
Do you see a application.log file somewhere? If yes, please share the same.
Did you get past the python issue ?


On Oct 11, 2018 at 11:01 AM, >
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..

$

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

$

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 
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 
> wrote:
>
>> I changed it but still not working.
>>
>> Mahender
>>
>> Sent from my iPhone
>>
>> On Oct 10, 2018, at 4:03 PM, Madhan Neethiraj  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 
>> *Date: *Wednesday, October 10, 2018 at 12:37 PM
>> *To: *"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$
>> 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$
>> 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.(AtlasJanusGraph.java:93)
>>
>> at
>> org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:117)
>>
>> at
>> org.apache.atlas.repository.graphdb.janus.AtlasJanusGraph.(AtlasJanusGraph.java:93)
>>
>> at
>> org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:117)
>>
>> at
>> org.apache.atlas.repository.graphdb.janus.AtlasJanusGraph.(AtlasJanusGraph.java:93)
>>
&g

Re: Need Help!!! Atlas Installation Error

2018-10-11 Thread Apoorv Naik
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 
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 
> 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..
>>
>> $
>> 
>> 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
>>
>> $
>> 
>> 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 
>> 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 
>>> wrote:
>>>
>>>> I changed it but still not working.
>>>>
>>>> Mahender
>>>>
>>>> Sent from my iPhone
>>>>
>>>> On Oct 10, 2018, at 4:03 PM, Madhan Neethiraj 
>>>> 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 
>>>> *Date: *Wednesday, October 10, 2018 at 12:37 PM
>>>> *To: *"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/dist

Re: Need Help!!! Atlas Installation Error

2018-10-11 Thread Shankesi Mahender
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 
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..
>
> $
> 
> 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
>
> $
> 
> 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 
> 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 
>> wrote:
>>
>>> I changed it but still not working.
>>>
>>> Mahender
>>>
>>> Sent from my iPhone
>>>
>>> On Oct 10, 2018, at 4:03 PM, Madhan Neethiraj  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 
>>> *Date: *Wednesday, October 10, 2018 at 12:37 PM
>>> *To: *"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$
>>> 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$
>>> 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.a

Re: Need Help!!! Atlas Installation Error

2018-10-15 Thread Shankesi Mahender
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 
wrote:

> Thanks Apoorv.
>
> Mahender
>
> On Thu, Oct 11, 2018 at 4:21 PM Apoorv Naik  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 
>> 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 
>>> 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..
>>>>
>>>> $
>>>> 
>>>> 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
>>>>
>>>> $
>>>> 
>>>> 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 
>>>> 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 
>>>>> wrote:
>>>>>
>>>>>> I changed it but still not working.
>>>>>>
>>>>>> Mahender
>>>>>>
>>>>>> Sent from my iPhone
>>>>>>
>>>>>> On Oct 10, 2018, at 4:03 PM, Madhan Neethiraj 
>>>>>> wrote:
>>>>>>
>>>>>> (copying dev list)
>>>>>>
>>>>>>
>>>>>>
>>>>>> Mahender – the port # to use is “21000”; the curl commands you listed
>>>>>> show “2100”. Please try after c

Re: Need Help!!! Atlas Installation Error

2018-10-17 Thread Apoorv Naik
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> wrote:

> Dev Team,
>
>
>
> Any update on this?
>
>
>
> Mahender
>
>
>
> *From:* Shankesi Mahender 
> *Sent:* Monday, October 15, 2018 9:30 AM
> *To:* apoorvn...@apache.org; Mahender Shankesi <
> mahender.x.shank...@gsk.com>
> *Cc:* Madhan Neethiraj ; 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 
> wrote:
>
> Thanks Apoorv.
>
>
>
> Mahender
>
>
>
> On Thu, Oct 11, 2018 at 4:21 PM Apoorv Naik  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 
> 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 
> 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..
>
>
>
> $
> 
> 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
>
> $
> 
> 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 
> 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 
> wrote:
>
> I changed it but still not working.
>
>
>
> Mahender
>
> Sent from my iPhone
>
>
> On Oct 10, 2018, at 4:03 PM, Madhan Neethiraj  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 
> *Date: *Wednesday, October 10, 2018 at 12:37 PM
> *To: *"mad...@apache.org" 
> *Subject: *Re: Need Help!!! Atlas Installation Error
>
>
>
> Madhan,
>
>
>
> I followed the

Re: Need Help!!! Atlas Installation Error

2018-10-19 Thread Apoorv Naik
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> wrote:

> Apoorv,
>
>
>
> Any update on this?
>
>
>
> Mahender
>
>
>
> *From:* Apoorv Naik 
> *Sent:* Wednesday, October 17, 2018 12:11 PM
> *To:* Mahender Shankesi 
> *Cc:* Shankesi Mahender ; Madhan Neethiraj <
> mad...@apache.org>; dev 
> *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> wrote:
>
> Dev Team,
>
>
>
> Any update on this?
>
>
>
> Mahender
>
>
>
> *From:* Shankesi Mahender 
> *Sent:* Monday, October 15, 2018 9:30 AM
> *To:* apoorvn...@apache.org; Mahender Shankesi <
> mahender.x.shank...@gsk.com>
> *Cc:* Madhan Neethiraj ; 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 
> wrote:
>
> Thanks Apoorv.
>
>
>
> Mahender
>
>
>
> On Thu, Oct 11, 2018 at 4:21 PM Apoorv Naik  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 
> 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 
> 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..
>
>
>
> $
> 
> 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
>
> $
> 
> 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 
> 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 

Re: Need Help!!! Atlas Installation Error

2018-11-20 Thread Madhan Neethiraj
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 /hook/hive

· Add 'export HIVE_AUX_JARS_PATH=/hook/hive' in 
hive-env.sh of your hive configuration

 

Hope this helps.

 

Madhan

 

 

 

From: Mahender Shankesi 
Date: Tuesday, November 20, 2018 at 10:12 AM
To: Apoorv Naik 
Cc: Shankesi Mahender , Madhan Neethiraj 
, dev 
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  
Sent: Friday, November 2, 2018 2:22 PM
To: Mahender Shankesi 
Cc: Shankesi Mahender ; Madhan Neethiraj 
; dev 
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  
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  
Sent: Wednesday, October 24, 2018 3:37 PM
To: Mahender Shankesi 
Cc: Shankesi Mahender ; Madhan Neethiraj 
; dev 
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 
 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  
Sent: Friday, October 19, 2018 3:52 PM
To: Mahender Shankesi ; Apoorv Naik 

Cc: Shankesi Mahender ; Madhan Neethiraj 
; dev 
Subject: Re: RE: Need Help!!! Atlas Installation Error

 

EXTERNAL

Everything should be available on 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,  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. 

RE: Need Help!!! Atlas Installation Error

2018-11-20 Thread Mahender Shankesi
Madhan,

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

Mahender

From: Madhan Neethiraj 
Sent: Tuesday, November 20, 2018 1:44 PM
To: Mahender Shankesi 
Cc: Shankesi Mahender ; dev ; Apoorv 
Naik 
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 /hook/hive
·Add 'export HIVE_AUX_JARS_PATH=/hook/hive' in 
hive-env.sh of your hive configuration

Hope this helps.

Madhan



From: Mahender Shankesi 
mailto:mahender.x.shank...@gsk.com>>
Date: Tuesday, November 20, 2018 at 10:12 AM
To: Apoorv Naik mailto:naik.apo...@gmail.com>>
Cc: Shankesi Mahender mailto:shank...@gmail.com>>, Madhan 
Neethiraj mailto:mad...@apache.org>>, dev 
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 mailto:naik.apo...@gmail.com>>
Sent: Friday, November 2, 2018 2:22 PM
To: Mahender Shankesi 
mailto:mahender.x.shank...@gsk.com>>
Cc: Shankesi Mahender mailto:shank...@gmail.com>>; Madhan 
Neethiraj mailto:mad...@apache.org>>; dev 
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 
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 mailto:naik.apo...@gmail.com>>
Sent: Wednesday, October 24, 2018 3:37 PM
To: Mahender Shankesi 
mailto:mahender.x.shank...@gsk.com>>
Cc: Shankesi Mahender mailto:shank...@gmail.com>>; Madhan 
Neethiraj mailto:mad...@apache.org>>; dev 
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 
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 qu

Re: Need Help!!! Atlas Installation Error

2018-11-20 Thread Madhan Neethiraj
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 
Date: Tuesday, November 20, 2018 at 10:46 AM
To: Madhan Neethiraj 
Cc: Shankesi Mahender , dev , Apoorv 
Naik 
Subject: RE: Need Help!!! Atlas Installation Error

 

Madhan,

 

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

 

Mahender

 

From: Madhan Neethiraj  
Sent: Tuesday, November 20, 2018 1:44 PM
To: Mahender Shankesi 
Cc: Shankesi Mahender ; dev ; Apoorv 
Naik 
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 /hook/hive

· Add 'export HIVE_AUX_JARS_PATH=/hook/hive' in 
hive-env.sh of your hive configuration

 

Hope this helps.

 

Madhan

 

 

 

From: Mahender Shankesi 
Date: Tuesday, November 20, 2018 at 10:12 AM
To: Apoorv Naik 
Cc: Shankesi Mahender , Madhan Neethiraj 
, dev 
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  
Sent: Friday, November 2, 2018 2:22 PM
To: Mahender Shankesi 
Cc: Shankesi Mahender ; Madhan Neethiraj 
; dev 
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  
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  
Sent: Wednesday, October 24, 2018 3:37 PM
To: Mahender Shankesi 
Cc: Shankesi Mahender ; Madhan Neethiraj 
; dev 
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 
 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 

RE: Need Help!!! Atlas Installation Error

2018-11-29 Thread Mahender Shankesi
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 
Sent: Tuesday, November 20, 2018 1:56 PM
To: Mahender Shankesi 
Cc: Shankesi Mahender ; dev ; Apoorv 
Naik 
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 
mailto:mahender.x.shank...@gsk.com>>
Date: Tuesday, November 20, 2018 at 10:46 AM
To: Madhan Neethiraj mailto:mad...@apache.org>>
Cc: Shankesi Mahender mailto:shank...@gmail.com>>, dev 
mailto:dev@atlas.apache.org>>, Apoorv Naik 
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 mailto:mad...@apache.org>>
Sent: Tuesday, November 20, 2018 1:44 PM
To: Mahender Shankesi 
mailto:mahender.x.shank...@gsk.com>>
Cc: Shankesi Mahender mailto:shank...@gmail.com>>; dev 
mailto:dev@atlas.apache.org>>; Apoorv Naik 
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 /hook/hive
·Add 'export HIVE_AUX_JARS_PATH=/hook/hive' in 
hive-env.sh of your hive configuration

Hope this helps.

Madhan



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

Re: Need Help!!! Atlas Installation Error

2018-11-29 Thread Madhan Neethiraj
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 
Date: Thursday, November 29, 2018 at 8:09 AM
To: Madhan Neethiraj 
Cc: Shankesi Mahender , dev , Apoorv 
Naik 
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...)



 

Mahender

From: Madhan Neethiraj  
Sent: Tuesday, November 20, 2018 1:56 PM
To: Mahender Shankesi 
Cc: Shankesi Mahender ; dev ; Apoorv 
Naik 
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 
Date: Tuesday, November 20, 2018 at 10:46 AM
To: Madhan Neethiraj 
Cc: Shankesi Mahender , dev , Apoorv 
Naik 
Subject: RE: Need Help!!! Atlas Installation Error

 

Madhan,

 

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

 

Mahender

 

From: Madhan Neethiraj  
Sent: Tuesday, November 20, 2018 1:44 PM
To: Mahender Shankesi 
Cc: Shankesi Mahender ; dev ; Apoorv 
Naik 
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 /hook/hive

· Add 'export HIVE_AUX_JARS_PATH=/hook/hive' in 
hive-env.sh of your hive configuration

 

Hope this helps.

 

Madhan

 

 

 

From: Mahender Shankesi 
Date: Tuesday, November 20, 2018 at 10:12 AM
To: Apoorv Naik 
Cc: Shankesi Mahende

RE: Need Help!!! Atlas Installation Error

2018-11-29 Thread Mahender Shankesi
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 
Sent: Thursday, November 29, 2018 11:19 AM
To: Mahender Shankesi 
Cc: Shankesi Mahender ; dev ; Apoorv 
Naik 
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 
mailto:mahender.x.shank...@gsk.com>>
Date: Thursday, November 29, 2018 at 8:09 AM
To: Madhan Neethiraj mailto:mad...@apache.org>>
Cc: Shankesi Mahender mailto:shank...@gmail.com>>, dev 
mailto:dev@atlas.apache.org>>, Apoorv Naik 
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 mailto:mad...@apache.org>>
Sent: Tuesday, November 20, 2018 1:56 PM
To: Mahender Shankesi 
mailto:mahender.x.shank...@gsk.com>>
Cc: Shankesi Mahender mailto:shank...@gmail.com>>; dev 
mailto:dev@atlas.apache.org>>; Apoorv Naik 
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 
mailto:mahender.x.shank...@gsk.com>>
Date: Tuesday, November 20, 2018 at 10:46 AM
To: Madhan Neethiraj mailto:mad...@apache.org>>
Cc: Shankesi Mahender mailto:shank...@gmail.com>>, dev 
mailto:dev@atlas.apache.org>>, Apoorv Naik 
mailto:naik.apo...@gmail.com>>
Subject: RE: Need Help!!! Atlas Installation Error

Madhan,

I’ve followed the same steps and ge

Re: Need Help!!! Atlas Installation Error

2018-11-29 Thread Madhan Neethiraj
> . 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 
Date: Thursday, November 29, 2018 at 8:40 AM
To: Madhan Neethiraj 
Cc: Shankesi Mahender , dev , Apoorv 
Naik 
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  
Sent: Thursday, November 29, 2018 11:19 AM
To: Mahender Shankesi 
Cc: Shankesi Mahender ; dev ; Apoorv 
Naik 
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 
Date: Thursday, November 29, 2018 at 8:09 AM
To: Madhan Neethiraj 
Cc: Shankesi Mahender , dev , Apoorv 
Naik 
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...)



 

Mahender

From: Madhan Neethiraj  
Sent: Tuesday, November 20, 2018 1:56 PM
To: Mahender Shankesi 
Cc: Shankesi Mahender ; dev ; Apoorv 
Naik 
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 
Date: Tuesday, November 20, 2018 at 10:46 AM
To: Madhan Neethiraj 
Cc: Shankesi Mahender , dev , Apoorv 
Naik 
Subject: RE: Need Help!!! Atlas Installation Error

 

Madhan,

 

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

 

Mahender

 

From: Madhan Neethiraj  
Sent: Tuesday, Novem

RE: Need Help!!! Atlas Installation Error

2018-11-29 Thread Mahender Shankesi
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, 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
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 
Sent: Thursday, November 29, 2018 12:30 PM
To: Mahender Shankesi 
Cc: Shankesi Mahender ; dev ; Apoorv 
Naik 
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 
mailto:mahender.x.shank...@gsk.com>>
Date: Thursday, November 29, 2018 at 8:40 AM
To: Madhan Neethiraj mailto:mad...@apache.org>>
Cc: Shankesi Mahender mailto:shank...@gmail.com>>, dev 
mailto:dev@atlas.apache.org>>, Apoorv Naik 
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 h

Re: Need Help!!! Atlas Installation Error

2018-11-29 Thread Madhan Neethiraj
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 
Date: Thursday, November 29, 2018 at 11:47 AM
To: Madhan Neethiraj 
Cc: Shankesi Mahender , dev , Apoorv 
Naik 
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: 

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: 

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.(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(HookUtil

RE: Need Help!!! Atlas Installation Error

2018-11-29 Thread Mahender Shankesi
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 
Sent: Thursday, November 29, 2018 3:01 PM
To: Mahender Shankesi 
Cc: Shankesi Mahender ; dev ; Apoorv 
Naik 
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 
mailto:mahender.x.shank...@gsk.com>>
Date: Thursday, November 29, 2018 at 11:47 AM
To: Madhan Neethiraj mailto:mad...@apache.org>>
Cc: Shankesi Mahender mailto:shank...@gmail.com>>, dev 
mailto:dev@atlas.apache.org>>, Apoorv Naik 
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: 
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: 
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 cla

Re: Need Help!!! Atlas Installation Error

2018-11-29 Thread Madhan Neethiraj
This directory contents look correct. From hiveserver2.log file, can you 
copy/paste lines that start with "STARTUP_MSG"? I would like to review the 
classpath and other params.

Thanks,
Madhan




On 11/29/18, 12:17 PM, "Mahender Shankesi"  wrote:


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 
Sent: Thursday, November 29, 2018 3:01 PM
To: Mahender Shankesi 
Cc: Shankesi Mahender ; dev ; 
Apoorv Naik 
    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 
mailto:mahender.x.shank...@gsk.com>>
Date: Thursday, November 29, 2018 at 11:47 AM
To: Madhan Neethiraj mailto:mad...@apache.org>>
Cc: Shankesi Mahender mailto:shank...@gmail.com>>, dev 
mailto:dev@atlas.apache.org>>, Apoorv Naik 
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: 
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-P

RE: Need Help!!! Atlas Installation Error

2018-12-02 Thread Mahender Shankesi
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' 
Cc: Shankesi Mahender ; dev ; Apoorv 
Naik 
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 mailto:mad...@apache.org>>
Sent: Thursday, November 29, 2018 3:01 PM
To: Mahender Shankesi 
mailto:mahender.x.shank...@gsk.com>>
Cc: Shankesi Mahender mailto:shank...@gmail.com>>; dev 
mailto:dev@atlas.apache.org>>; Apoorv Naik 
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 
mailto:mahender.x.shank...@gsk.com>>
Date: Thursday, November 29, 2018 at 11:47 AM
To: Madhan Neethiraj mailto:mad...@apache.org>>
Cc: Shankesi Mahender mailto:shank...@gmail.com>>, dev 
mailto:dev@atlas.apache.org>>, Apoorv Naik 
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: 
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 : exec

Re: Need Help!!! Atlas Installation Error

2018-12-02 Thread Madhan Neethiraj
Perhaps you missed my earlier response, below.

 

>> On 11/29/18, 12:28 PM, "Madhan Neethiraj"  wrote:

>> 

>>    This directory contents look correct. From hiveserver2.log file, can you 
>>copy/paste lines that start with "STARTUP_MSG"? I would like to review the 
>>classpath and other params.

>>    

>> Thanks,

>> Madhan

 

 

From: Mahender Shankesi 
Date: Sunday, December 2, 2018 at 7:56 AM
To: Madhan Neethiraj 
Cc: Shankesi Mahender , dev , Apoorv 
Naik 
Subject: RE: Need Help!!! Atlas Installation Error

 

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' 
Cc: Shankesi Mahender ; dev ; Apoorv 
Naik 
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#
 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  
Sent: Thursday, November 29, 2018 3:01 PM
To: Mahender Shankesi 
Cc: Shankesi Mahender ; dev ; Apoorv 
Naik 
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 
Date: Thursday, November 29, 2018 at 11:47 AM
To: Madhan Neethiraj 
Cc: Shankesi Mahender , dev , Apoorv 
Naik 
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: 

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

Re: Need Help!!! Atlas Installation Error

2018-12-02 Thread Madhan Neethiraj
Looking at the classpath, Hive should be picking up Atlas hook from 
/usr/hdp/2.6.5.3003-25/atlas/hook/hive/.

 

However the location you installed Atlas hook (per your earlier email) - 
/home/sshuser/apache-atlas-sources-1.1.0/distro/target/apache-atlas-1.1.0-server/apache-atlas-1.1.0/hook/hive,
 is not in the classpath.

 

Since Hive hook is already present in your installation, in directory 
/usr/hdp/2.6.5.3003-25/atlas/hook/hive/, you shouldn’t need to install it in a 
different location. Can you send output of “ls -lFaR 
/usr/hdp/2.6.5.3003-25/atlas/hook/hive/”?

 

From: Mahender Shankesi 
Date: Sunday, December 2, 2018 at 8:56 AM
To: Madhan Neethiraj 
Cc: Shankesi Mahender , dev , Apoorv 
Naik 
Subject: RE: Need Help!!! Atlas Installation Error

 

Thanks Madan, apologies I missed your response earlier. 

 

Here is the log message..

 

Let me know if you need any other info..

 

2018-11-28 15:09:22,922 DEBUG [HikariPool-1 connection adder] pool.HikariPool: 
HikariPool-1 - After adding stats (total=10, active=0, idle=10, waiting=0)

2018-11-28 15:09:37,378 DEBUG [main] common.LogUtils: Using hive-site.xml found 
on CLASSPATH at /etc/hive/2.6.5.3003-25/0/conf.server/hive-site.xml

2018-11-28 15:09:37,388 DEBUG [main] server.HiveServer2: 

Logging initialized using configuration in 
file:/etc/hive/2.6.5.3003-25/0/conf.server/hive-log4j.properties

2018-11-28 15:09:37,399 INFO  [main] server.HiveServer2: STARTUP_MSG: 

/

STARTUP_MSG: Starting HiveServer2

STARTUP_MSG:   host = 
hn0-hdinsi.r3ohl4gtklyupd4rjxnfbb4y0e.cx.internal.cloudapp.net/10.1.1.22

STARTUP_MSG:   args = [--hiveconf, 
hive.aux.jars.path=file:///usr/hdp/current/hive-webhcat/share/hcatalog/hive-hcatalog-core.jar,
 -hiveconf, hive.metastore.uris= , -hiveconf, hive.log.file=hiveserver2.log, 
-hiveconf, hive.log.dir=/var/log/hive]

STARTUP_MSG:   version = 1.2.1000.2.6.5.3003-25

STARTUP_MSG:   classpath = 
/usr/hdp/2.6.5.3003-25/atlas/hook/hive/atlas-plugin-classloader-0.8.0.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/atlas/hook/hive/hive-bridge-shim-0.8.0.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/hive-hcatalog/share/hcatalog/hive-hcatalog-core-1.2.1000.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/hive-hcatalog/share/hcatalog/hive-hcatalog-server-extensions-1.2.1000.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/hive-hcatalog/share/webhcat/java-client/hive-webhcat-java-client-1.2.1000.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/atlas/hook/hive/atlas-plugin-classloader-0.8.0.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/atlas/hook/hive/hive-bridge-shim-0.8.0.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/hive-hcatalog/share/hcatalog/hive-hcatalog-core-1.2.1000.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/hive-hcatalog/share/hcatalog/hive-hcatalog-server-extensions-1.2.1000.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/hive-hcatalog/share/webhcat/java-client/hive-webhcat-java-client-1.2.1000.2.6.5.3003-25.jar:/usr/hdp/current/hive-server2/conf/conf.server:/usr/hdp/2.6.5.3003-25/hive/lib/accumulo-core-1.7.0.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/hive/lib/accumulo-fate-1.7.0.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/hive/lib/accumulo-start-1.7.0.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/hive/lib/accumulo-trace-1.7.0.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/hive/lib/activation-1.1.jar:/usr/hdp/2.6.5.3003-25/hive/lib/adls2-oauth2-token-provider-1.0.jar:/usr/hdp/2.6.5.3003-25/hive/lib/adls2-oauth2-token-provider.jar:/usr/hdp/2.6.5.3003-25/hive/lib/ant-1.9.1.jar:/usr/hdp/2.6.5.3003-25/hive/lib/ant-launcher-1.9.1.jar:/usr/hdp/2.6.5.3003-25/hive/lib/antlr-2.7.7.jar:/usr/hdp/2.6.5.3003-25/hive/lib/antlr-runtime-3.4.jar:/usr/hdp/2.6.5.3003-25/hive/lib/apache-log4j-extras-1.2.17.jar:/usr/hdp/2.6.5.3003-25/hive/lib/asm-commons-3.1.jar:/usr/hdp/2.6.5.3003-25/hive/lib/asm-tree-3.1.jar:/usr/hdp/2.6.5.3003-25/hive/lib/avatica-1.8.0.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/hive/lib/avatica-metrics-1.8.0.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/hive/lib/avro-1.7.5.jar:/usr/hdp/2.6.5.3003-25/hive/lib/azure-data-lake-store-sdk.jar:/usr/hdp/2.6.5.3003-25/hive/lib/bonecp-0.8.0.RELEASE.jar:/usr/hdp/2.6.5.3003-25/hive/lib/calcite-core-1.2.0.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/hive/lib/calcite-linq4j-1.2.0.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/hive/lib/commons-cli-1.2.jar:/usr/hdp/2.6.5.3003-25/hive/lib/commons-codec-1.4.jar:/usr/hdp/2.6.5.3003-25/hive/lib/commons-collections-3.2.2.jar:/usr/hdp/2.6.5.3003-25/hive/lib/commons-compiler-2.7.6.jar:/usr/hdp/2.6.5.3003-25/hive/lib/commons-compress-1.4.1.jar:/usr/hdp/2.6.5.3003-25/hive/lib/commons-dbcp-1.4.jar:/usr/hdp/2.6.5.3003-25/hive/lib/commons-httpclient-3.0.1.jar:/usr/hdp/2.6.5.3003-25/hive/lib/commons-io-2.4.jar:/usr/hdp/2.6.5.3003-25/hive/lib/commons-lang-2.6.jar:/usr/hdp/2.6.5.3003-25/hive/lib/commons-lang3-3.1.jar:/usr/hdp/2.6.5.3003-25/hive/lib/commons-logging-1.1.3.jar:/usr/hdp/2.6.5.3003-25/hive/lib/commons-math-2.1.jar:/usr/hdp/2.6.5.3003-25/hive/lib/commons-pool-1.5.4

RE: Need Help!!! Atlas Installation Error

2018-12-02 Thread Mahender Shankesi
Thanks Madan, apologies I missed your response earlier.

Here is the log message..

Let me know if you need any other info..

2018-11-28 15:09:22,922 DEBUG [HikariPool-1 connection adder] pool.HikariPool: 
HikariPool-1 - After adding stats (total=10, active=0, idle=10, waiting=0)
2018-11-28 15:09:37,378 DEBUG [main] common.LogUtils: Using hive-site.xml found 
on CLASSPATH at /etc/hive/2.6.5.3003-25/0/conf.server/hive-site.xml
2018-11-28 15:09:37,388 DEBUG [main] server.HiveServer2:
Logging initialized using configuration in 
file:/etc/hive/2.6.5.3003-25/0/conf.server/hive-log4j.properties
2018-11-28 15:09:37,399 INFO  [main] server.HiveServer2: STARTUP_MSG:
/
STARTUP_MSG: Starting HiveServer2
STARTUP_MSG:   host = 
hn0-hdinsi.r3ohl4gtklyupd4rjxnfbb4y0e.cx.internal.cloudapp.net/10.1.1.22
STARTUP_MSG:   args = [--hiveconf, 
hive.aux.jars.path=file:///usr/hdp/current/hive-webhcat/share/hcatalog/hive-hcatalog-core.jar,
 -hiveconf, hive.metastore.uris= , -hiveconf, hive.log.file=hiveserver2.log, 
-hiveconf, hive.log.dir=/var/log/hive]
STARTUP_MSG:   version = 1.2.1000.2.6.5.3003-25
STARTUP_MSG:   classpath = 
/usr/hdp/2.6.5.3003-25/atlas/hook/hive/atlas-plugin-classloader-0.8.0.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/atlas/hook/hive/hive-bridge-shim-0.8.0.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/hive-hcatalog/share/hcatalog/hive-hcatalog-core-1.2.1000.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/hive-hcatalog/share/hcatalog/hive-hcatalog-server-extensions-1.2.1000.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/hive-hcatalog/share/webhcat/java-client/hive-webhcat-java-client-1.2.1000.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/atlas/hook/hive/atlas-plugin-classloader-0.8.0.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/atlas/hook/hive/hive-bridge-shim-0.8.0.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/hive-hcatalog/share/hcatalog/hive-hcatalog-core-1.2.1000.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/hive-hcatalog/share/hcatalog/hive-hcatalog-server-extensions-1.2.1000.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/hive-hcatalog/share/webhcat/java-client/hive-webhcat-java-client-1.2.1000.2.6.5.3003-25.jar:/usr/hdp/current/hive-server2/conf/conf.server:/usr/hdp/2.6.5.3003-25/hive/lib/accumulo-core-1.7.0.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/hive/lib/accumulo-fate-1.7.0.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/hive/lib/accumulo-start-1.7.0.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/hive/lib/accumulo-trace-1.7.0.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/hive/lib/activation-1.1.jar:/usr/hdp/2.6.5.3003-25/hive/lib/adls2-oauth2-token-provider-1.0.jar:/usr/hdp/2.6.5.3003-25/hive/lib/adls2-oauth2-token-provider.jar:/usr/hdp/2.6.5.3003-25/hive/lib/ant-1.9.1.jar:/usr/hdp/2.6.5.3003-25/hive/lib/ant-launcher-1.9.1.jar:/usr/hdp/2.6.5.3003-25/hive/lib/antlr-2.7.7.jar:/usr/hdp/2.6.5.3003-25/hive/lib/antlr-runtime-3.4.jar:/usr/hdp/2.6.5.3003-25/hive/lib/apache-log4j-extras-1.2.17.jar:/usr/hdp/2.6.5.3003-25/hive/lib/asm-commons-3.1.jar:/usr/hdp/2.6.5.3003-25/hive/lib/asm-tree-3.1.jar:/usr/hdp/2.6.5.3003-25/hive/lib/avatica-1.8.0.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/hive/lib/avatica-metrics-1.8.0.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/hive/lib/avro-1.7.5.jar:/usr/hdp/2.6.5.3003-25/hive/lib/azure-data-lake-store-sdk.jar:/usr/hdp/2.6.5.3003-25/hive/lib/bonecp-0.8.0.RELEASE.jar:/usr/hdp/2.6.5.3003-25/hive/lib/calcite-core-1.2.0.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/hive/lib/calcite-linq4j-1.2.0.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/hive/lib/commons-cli-1.2.jar:/usr/hdp/2.6.5.3003-25/hive/lib/commons-codec-1.4.jar:/usr/hdp/2.6.5.3003-25/hive/lib/commons-collections-3.2.2.jar:/usr/hdp/2.6.5.3003-25/hive/lib/commons-compiler-2.7.6.jar:/usr/hdp/2.6.5.3003-25/hive/lib/commons-compress-1.4.1.jar:/usr/hdp/2.6.5.3003-25/hive/lib/commons-dbcp-1.4.jar:/usr/hdp/2.6.5.3003-25/hive/lib/commons-httpclient-3.0.1.jar:/usr/hdp/2.6.5.3003-25/hive/lib/commons-io-2.4.jar:/usr/hdp/2.6.5.3003-25/hive/lib/commons-lang-2.6.jar:/usr/hdp/2.6.5.3003-25/hive/lib/commons-lang3-3.1.jar:/usr/hdp/2.6.5.3003-25/hive/lib/commons-logging-1.1.3.jar:/usr/hdp/2.6.5.3003-25/hive/lib/commons-math-2.1.jar:/usr/hdp/2.6.5.3003-25/hive/lib/commons-pool-1.5.4.jar:/usr/hdp/2.6.5.3003-25/hive/lib/commons-vfs2-2.0.jar:/usr/hdp/2.6.5.3003-25/hive/lib/curator-client-2.6.0.jar:/usr/hdp/2.6.5.3003-25/hive/lib/curator-framework-2.6.0.jar:/usr/hdp/2.6.5.3003-25/hive/lib/curator-recipes-2.6.0.jar:/usr/hdp/2.6.5.3003-25/hive/lib/datanucleus-api-jdo-4.2.1.jar:/usr/hdp/2.6.5.3003-25/hive/lib/datanucleus-core-4.1.6.jar:/usr/hdp/2.6.5.3003-25/hive/lib/datanucleus-rdbms-4.1.7.jar:/usr/hdp/2.6.5.3003-25/hive/lib/derby-10.10.2.0.jar:/usr/hdp/2.6.5.3003-25/hive/lib/dropwizard-metrics-hadoop-metrics2-reporter-0.1.2.jar:/usr/hdp/2.6.5.3003-25/hive/lib/eigenbase-properties-1.1.5.jar:/usr/hdp/2.6.5.3003-25/hive/lib/geronimo-annotation_1.0_spec-1.1.1.jar:/usr/hdp/2.6.5.3003-25/hive/lib/geronimo-jaspic_1.0_spec-1.0.jar:/usr/hdp/2.6.5.3003-25/hive/lib/geronimo-j

RE: Need Help!!! Atlas Installation Error

2018-12-03 Thread Mahender Shankesi
Madan,

Here is the info you looking for..

@hn0-hdinsi:/home/sshuser# ls -lFaR /usr/hdp/2.6.5.3003-25/atlas/hook/hive

/usr/hdp/2.6.5.3003-25/atlas/hook/hive:
total 44
drwxr-xr-x 3 root root  4096 Oct  6 20:47 ./
drwxr-xr-x 6 root root  4096 Oct  6 20:55 ../
drwxr-xr-x 2 root root  4096 Oct  6 20:47 atlas-hive-plugin-impl/
-rw-r--r-- 1 root root 17516 Sep 20 12:58 
atlas-plugin-classloader-0.8.0.2.6.5.3003-25.jar
-rw-r--r-- 1 root root  9388 Sep 20 12:58 
hive-bridge-shim-0.8.0.2.6.5.3003-25.jar

/usr/hdp/2.6.5.3003-25/atlas/hook/hive/atlas-hive-plugin-impl:
total 38456
drwxr-xr-x 2 root root 4096 Oct  6 20:47 ./
drwxr-xr-x 3 root root 4096 Oct  6 20:47 ../
-rw-r--r-- 1 root root35282 Sep 20 12:58 
atlas-client-common-0.8.0.2.6.5.3003-25.jar
-rw-r--r-- 1 root root43421 Sep 20 12:58 
atlas-client-v1-0.8.0.2.6.5.3003-25.jar
-rw-r--r-- 1 root root18048 Sep 20 12:58 
atlas-client-v2-0.8.0.2.6.5.3003-25.jar
-rw-r--r-- 1 root root64786 Sep 20 12:58 
atlas-common-0.8.0.2.6.5.3003-25.jar
-rw-r--r-- 1 root root   222098 Sep 20 12:58 atlas-intg-0.8.0.2.6.5.3003-25.jar
-rw-r--r-- 1 root root98302 Sep 20 12:58 
atlas-notification-0.8.0.2.6.5.3003-25.jar
-rw-r--r-- 1 root root   408748 Sep 20 12:58 
atlas-typesystem-0.8.0.2.6.5.3003-25.jar
-rw-r--r-- 1 root root   232482 Sep 20 12:58 gson-2.5.jar
-rw-r--r-- 1 root root   577466 Sep 20 12:58 
hbase-common-1.1.2.2.6.5.3003-25.jar
-rw-r--r-- 1 root root11714 Sep 20 12:58 hdfs-model-0.8.0.2.6.5.3003-25.jar
-rw-r--r-- 1 root root70624 Sep 20 12:58 hive-bridge-0.8.0.2.6.5.3003-25.jar
-rw-r--r-- 1 root root53275 Sep 20 12:58 jersey-multipart-1.19.jar
-rw-r--r-- 1 root root82421 Sep 20 12:58 json4s-ast_2.11-3.2.11.jar
-rw-r--r-- 1 root root   589462 Sep 20 12:58 json4s-core_2.11-3.2.11.jar
-rw-r--r-- 1 root root67829 Sep 20 12:58 json4s-native_2.11-3.2.11.jar
-rw-r--r-- 1 root root  8423946 Sep 20 12:58 kafka_2.11-1.1.0.2.6.5.3003-25.jar
-rw-r--r-- 1 root root  1720889 Sep 20 12:58 
kafka-clients-1.1.0.2.6.5.3003-25.jar
-rw-r--r-- 1 root root 15487351 Sep 20 12:58 scala-compiler-2.11.8.jar
-rw-r--r-- 1 root root  5744974 Sep 20 12:58 scala-library-2.11.8.jar
-rw-r--r-- 1 root root   802818 Sep 20 12:58 scalap-2.11.8.jar
-rw-r--r-- 1 root root  4573750 Sep 20 12:58 scala-reflect-2.11.8.jar
root@hn0-hdinsi:/home/sshuser#

From: Madhan Neethiraj 
Sent: Sunday, December 2, 2018 12:16 PM
To: Mahender Shankesi 
Cc: Shankesi Mahender ; dev ; Apoorv 
Naik 
Subject: Re: Need Help!!! Atlas Installation Error


EXTERNAL
Looking at the classpath, Hive should be picking up Atlas hook from 
/usr/hdp/2.6.5.3003-25/atlas/hook/hive/.

However the location you installed Atlas hook (per your earlier email) - 
/home/sshuser/apache-atlas-sources-1.1.0/distro/target/apache-atlas-1.1.0-server/apache-atlas-1.1.0/hook/hive,
 is not in the classpath.

Since Hive hook is already present in your installation, in directory 
/usr/hdp/2.6.5.3003-25/atlas/hook/hive/, you shouldn’t need to install it in a 
different location. Can you send output of “ls -lFaR 
/usr/hdp/2.6.5.3003-25/atlas/hook/hive/”?

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

Thanks Madan, apologies I missed your response earlier.

Here is the log message..

Let me know if you need any other info..

2018-11-28 15:09:22,922 DEBUG [HikariPool-1 connection adder] pool.HikariPool: 
HikariPool-1 - After adding stats (total=10, active=0, idle=10, waiting=0)
2018-11-28 15:09:37,378 DEBUG [main] common.LogUtils: Using hive-site.xml found 
on CLASSPATH at /etc/hive/2.6.5.3003-25/0/conf.server/hive-site.xml
2018-11-28 15:09:37,388 DEBUG [main] server.HiveServer2:
Logging initialized using configuration in 
file:/etc/hive/2.6.5.3003-25/0/conf.server/hive-log4j.properties
2018-11-28 15:09:37,399 INFO  [main] server.HiveServer2: STARTUP_MSG:
/
STARTUP_MSG: Starting HiveServer2
STARTUP_MSG:   host = 
hn0-hdinsi.r3ohl4gtklyupd4rjxnfbb4y0e.cx.internal.cloudapp.net/10.1.1.22
STARTUP_MSG:   args = [--hiveconf, 
hive.aux.jars.path=file:///usr/hdp/current/hive-webhcat/share/hcatalog/hive-hcatalog-core.jar,
 -hiveconf, hive.metastore.uris= , -hiveconf, hive.log.file=hiveserver2.log, 
-hiveconf, hive.log.dir=/var/log/hive]
STARTUP_MSG:   version = 1.2.1000.2.6.5.3003-25
STARTUP_MSG:   classpath = 
/usr/hdp/2.6.5.3003-25/atlas/hook/hive/atlas-plugin-classloader-0.8.0.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/atlas/hook/hive/hive-bridge-shim-0.8.0.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/hive-hcatalog/share/hcatalog/hive-hcatalog-core-1.2.1000.2.6.5.3003-25.jar:/usr/hdp/2.6.5.3003-25/hive-hcatalog/share/hcatalog/hive-hcatalog-server-extensi

RE: Need Help!!! Atlas Installation Error

2018-12-04 Thread Mahender Shankesi
Madhan,

Did you get a chance to look into it?

Thanks,
Mahender

From: Mahender Shankesi
Sent: Sunday, December 2, 2018 6:33 PM
To: Madhan Neethiraj 
Cc: Shankesi Mahender ; dev ; Apoorv 
Naik 
Subject: RE: Need Help!!! Atlas Installation Error

Madan,

Here is the info you looking for..

@hn0-hdinsi:/home/sshuser# ls -lFaR /usr/hdp/2.6.5.3003-25/atlas/hook/hive

/usr/hdp/2.6.5.3003-25/atlas/hook/hive:
total 44
drwxr-xr-x 3 root root  4096 Oct  6 20:47 ./
drwxr-xr-x 6 root root  4096 Oct  6 20:55 ../
drwxr-xr-x 2 root root  4096 Oct  6 20:47 atlas-hive-plugin-impl/
-rw-r--r-- 1 root root 17516 Sep 20 12:58 
atlas-plugin-classloader-0.8.0.2.6.5.3003-25.jar
-rw-r--r-- 1 root root  9388 Sep 20 12:58 
hive-bridge-shim-0.8.0.2.6.5.3003-25.jar

/usr/hdp/2.6.5.3003-25/atlas/hook/hive/atlas-hive-plugin-impl:
total 38456
drwxr-xr-x 2 root root 4096 Oct  6 20:47 ./
drwxr-xr-x 3 root root 4096 Oct  6 20:47 ../
-rw-r--r-- 1 root root35282 Sep 20 12:58 
atlas-client-common-0.8.0.2.6.5.3003-25.jar
-rw-r--r-- 1 root root43421 Sep 20 12:58 
atlas-client-v1-0.8.0.2.6.5.3003-25.jar
-rw-r--r-- 1 root root18048 Sep 20 12:58 
atlas-client-v2-0.8.0.2.6.5.3003-25.jar
-rw-r--r-- 1 root root64786 Sep 20 12:58 
atlas-common-0.8.0.2.6.5.3003-25.jar
-rw-r--r-- 1 root root   222098 Sep 20 12:58 atlas-intg-0.8.0.2.6.5.3003-25.jar
-rw-r--r-- 1 root root98302 Sep 20 12:58 
atlas-notification-0.8.0.2.6.5.3003-25.jar
-rw-r--r-- 1 root root   408748 Sep 20 12:58 
atlas-typesystem-0.8.0.2.6.5.3003-25.jar
-rw-r--r-- 1 root root   232482 Sep 20 12:58 gson-2.5.jar
-rw-r--r-- 1 root root   577466 Sep 20 12:58 
hbase-common-1.1.2.2.6.5.3003-25.jar
-rw-r--r-- 1 root root11714 Sep 20 12:58 hdfs-model-0.8.0.2.6.5.3003-25.jar
-rw-r--r-- 1 root root70624 Sep 20 12:58 hive-bridge-0.8.0.2.6.5.3003-25.jar
-rw-r--r-- 1 root root53275 Sep 20 12:58 jersey-multipart-1.19.jar
-rw-r--r-- 1 root root82421 Sep 20 12:58 json4s-ast_2.11-3.2.11.jar
-rw-r--r-- 1 root root   589462 Sep 20 12:58 json4s-core_2.11-3.2.11.jar
-rw-r--r-- 1 root root67829 Sep 20 12:58 json4s-native_2.11-3.2.11.jar
-rw-r--r-- 1 root root  8423946 Sep 20 12:58 kafka_2.11-1.1.0.2.6.5.3003-25.jar
-rw-r--r-- 1 root root  1720889 Sep 20 12:58 
kafka-clients-1.1.0.2.6.5.3003-25.jar
-rw-r--r-- 1 root root 15487351 Sep 20 12:58 scala-compiler-2.11.8.jar
-rw-r--r-- 1 root root  5744974 Sep 20 12:58 scala-library-2.11.8.jar
-rw-r--r-- 1 root root   802818 Sep 20 12:58 scalap-2.11.8.jar
-rw-r--r-- 1 root root  4573750 Sep 20 12:58 scala-reflect-2.11.8.jar
root@hn0-hdinsi:/home/sshuser#

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


EXTERNAL
Looking at the classpath, Hive should be picking up Atlas hook from 
/usr/hdp/2.6.5.3003-25/atlas/hook/hive/.

However the location you installed Atlas hook (per your earlier email) - 
/home/sshuser/apache-atlas-sources-1.1.0/distro/target/apache-atlas-1.1.0-server/apache-atlas-1.1.0/hook/hive,
 is not in the classpath.

Since Hive hook is already present in your installation, in directory 
/usr/hdp/2.6.5.3003-25/atlas/hook/hive/, you shouldn’t need to install it in a 
different location. Can you send output of “ls -lFaR 
/usr/hdp/2.6.5.3003-25/atlas/hook/hive/”?

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

Thanks Madan, apologies I missed your response earlier.

Here is the log message..

Let me know if you need any other info..

2018-11-28 15:09:22,922 DEBUG [HikariPool-1 connection adder] pool.HikariPool: 
HikariPool-1 - After adding stats (total=10, active=0, idle=10, waiting=0)
2018-11-28 15:09:37,378 DEBUG [main] common.LogUtils: Using hive-site.xml found 
on CLASSPATH at /etc/hive/2.6.5.3003-25/0/conf.server/hive-site.xml
2018-11-28 15:09:37,388 DEBUG [main] server.HiveServer2:
Logging initialized using configuration in 
file:/etc/hive/2.6.5.3003-25/0/conf.server/hive-log4j.properties
2018-11-28 15:09:37,399 INFO  [main] server.HiveServer2: STARTUP_MSG:
/
STARTUP_MSG: Starting HiveServer2
STARTUP_MSG:   host = 
hn0-hdinsi.r3ohl4gtklyupd4rjxnfbb4y0e.cx.internal.cloudapp.net/10.1.1.22
STARTUP_MSG:   args = [--hiveconf, 
hive.aux.jars.path=file:///usr/hdp/current/hive-webhcat/share/hcatalog/hive-hcatalog-core.jar,
 -hiveconf, hive.metastore.uris= , -hiveconf, hive.log.file=hiveserver2.log, 
-hiveconf, hive.log.dir=/v

Re: RE: Need Help!!! Atlas Installation Error

2018-10-19 Thread Apoorv Naik
Everything should be available on 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, > 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 
*Sent:* Friday, October 19, 2018 2:55 PM
*To:* Mahender Shankesi 
*Cc:* Shankesi Mahender ; Madhan Neethiraj <
mad...@apache.org>; dev 
*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> wrote:

Apoorv,



Any update on this?



Mahender



*From:* Apoorv Naik 
*Sent:* Wednesday, October 17, 2018 12:11 PM
*To:* Mahender Shankesi 
*Cc:* Shankesi Mahender ; Madhan Neethiraj <
mad...@apache.org>; dev 
*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> wrote:

Dev Team,



Any update on this?



Mahender



*From:* Shankesi Mahender 
*Sent:* Monday, October 15, 2018 9:30 AM
*To:* apoorvn...@apache.org; Mahender Shankesi 
*Cc:* Madhan Neethiraj ; 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 
wrote:

Thanks Apoorv.



Mahender



On Thu, Oct 11, 2018 at 4:21 PM Apoorv Naik  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 
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 
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..



$

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

$

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 
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 
wrote:

I changed it but still not working.



Mahender

Sent from my iPhone


On Oct 10, 2018, at 4:03 PM, Madhan Neethiraj  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

Re: RE: Need Help!!! Atlas Installation Error

2018-10-24 Thread Apoorv Naik
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
<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> 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 
> *Sent:* Friday, October 19, 2018 3:52 PM
> *To:* Mahender Shankesi ; Apoorv Naik <
> apoorvn...@apache.org>
> *Cc:* Shankesi Mahender ; Madhan Neethiraj <
> mad...@apache.org>; dev 
> *Subject:* Re: RE: Need Help!!! Atlas Installation Error
>
>
>
> *EXTERNAL*
>
> Everything should be available on 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,  > 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 
> *Sent:* Friday, October 19, 2018 2:55 PM
> *To:* Mahender Shankesi 
> *Cc:* Shankesi Mahender ; Madhan Neethiraj <
> mad...@apache.org>; dev 
> *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> wrote:
>
> Apoorv,
>
>
>
> Any update on this?
>
>
>
> Mahender
>
>
>
> *From:* Apoorv Naik 
> *Sent:* Wednesday, October 17, 2018 12:11 PM
> *To:* Mahender Shankesi 
> *Cc:* Shankesi Mahender ; Madhan Neethiraj <
> mad...@apache.org>; dev 
> *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> wrote:
>
> Dev Team,
>
>
>
> Any update on this?
>
>
>
> Mahender
>
>
>
> *From:* Shankesi Mahender 
> *Sent:* Monday, October 15, 2018 9:30 AM
> *To:* apoorvn...@apache.org; Mahender Shankesi <
> mahender.x.shank...@gsk.com>
> *Cc:* Madhan Neethiraj ; 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 
> wrote:
>
> Thanks Apoorv.
>
>
>
> Mahender
>
>
>
> On Thu, Oct 11, 2018 at 4:21 PM Apoorv Naik  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 
> 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 
> 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

RE: RE: Need Help!!! Atlas Installation Error

2018-11-02 Thread Mahender Shankesi
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 
Sent: Wednesday, October 24, 2018 3:37 PM
To: Mahender Shankesi 
Cc: Shankesi Mahender ; Madhan Neethiraj 
; dev 
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 
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 mailto:naik.apo...@gmail.com>>
Sent: Friday, October 19, 2018 3:52 PM
To: Mahender Shankesi 
mailto:mahender.x.shank...@gsk.com>>; Apoorv Naik 
mailto:apoorvn...@apache.org>>
Cc: Shankesi Mahender mailto:shank...@gmail.com>>; Madhan 
Neethiraj mailto:mad...@apache.org>>; dev 
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, 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 mailto:apoorvn...@apache.org>>
Sent: Friday, October 19, 2018 2:55 PM
To: Mahender Shankesi 
mailto:mahender.x.shank...@gsk.com>>
Cc: Shankesi Mahender mailto:shank...@gmail.com>>; Madhan 
Neethiraj mailto:mad...@apache.org>>; dev 
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 
mailto:mahender.x.shank...@gsk.com>> wrote:
Apoorv,

Any update on this?

Mahender

From: Apoorv Naik mailto:apoorvn...@apache.org>>
Sent: Wednesday, October 17, 2018 12:11 PM
To: Mahender Shankesi 
mailto:mahender.x.shank...@gsk.com>>
Cc: Shankesi Mahender mailto:shank...@gmail.com>>; Madhan 
Neethiraj mailto:mad...@apache.org>>; dev 
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 
mailto:mahender.x.shank...@gsk.com>> wrote:
Dev Team,

Any update on this?

Mahender

From: Shankesi Mahender mailto:shank...@gmail.com>>
Sent: Monday, October 15, 2018 9:30 AM
To: apoorvn...@apache.org<mailto:apoorvn...@apache.org>; Mahender Shankesi 
mailto:mahender.x.shank...@gsk.com>>
Cc: Madhan Neethiraj 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 
mailto:shank...@gmail.com>> wrote:
Thanks Apoorv.

Mahender

On Thu, Oct 11, 2018 at 4:21 PM Apoorv Naik 
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 
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 
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 comman

Re: RE: Need Help!!! Atlas Installation Error

2018-11-02 Thread Apoorv Naik
Not that I know of.

*Apoorv Naik*


On Fri, Nov 2, 2018 at 9:42 AM Mahender Shankesi <
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 
> *Sent:* Wednesday, October 24, 2018 3:37 PM
> *To:* Mahender Shankesi 
> *Cc:* Shankesi Mahender ; Madhan Neethiraj <
> mad...@apache.org>; dev 
> *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
> <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> 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 
> *Sent:* Friday, October 19, 2018 3:52 PM
> *To:* Mahender Shankesi ; Apoorv Naik <
> apoorvn...@apache.org>
> *Cc:* Shankesi Mahender ; Madhan Neethiraj <
> mad...@apache.org>; dev 
> *Subject:* Re: RE: Need Help!!! Atlas Installation Error
>
>
>
> *EXTERNAL*
>
> Everything should be available on 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,  > 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 
> *Sent:* Friday, October 19, 2018 2:55 PM
> *To:* Mahender Shankesi 
> *Cc:* Shankesi Mahender ; Madhan Neethiraj <
> mad...@apache.org>; dev 
> *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> wrote:
>
> Apoorv,
>
>
>
> Any update on this?
>
>
>
> Mahender
>
>
>
> *From:* Apoorv Naik 
> *Sent:* Wednesday, October 17, 2018 12:11 PM
> *To:* Mahender Shankesi 
> *Cc:* Shankesi Mahender ; Madhan Neethiraj <
> mad...@apache.org>; dev 
> *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> wrote:
>
> Dev Team,
>
>
>
> Any update on this?
>
>
>
> Mahender
>
>
>
> *From:* Shankesi Mahender 
> *Sent:* Monday, October 15, 2018 9:30 AM
> *To:* apoorvn...@apache.org; Mahender Shankesi <
> mahender.x.shank...@gsk.com>
> *Cc:* Madhan Neethiraj ; 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 
> wrote:
>
> Thanks Apoorv.
>
>
>
> Mahender
>
>
>
> On Thu, Oct 11, 2018 at 4:21 PM Apoorv Naik  wrote:
>
> This looks like an issue with the packaging, a wrong version of netty is
> getting pulled in. I'll try to find the 

RE: RE: Need Help!!! Atlas Installation Error

2018-11-20 Thread Mahender Shankesi
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 
Sent: Friday, November 2, 2018 2:22 PM
To: Mahender Shankesi 
Cc: Shankesi Mahender ; Madhan Neethiraj 
; dev 
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 
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 mailto:naik.apo...@gmail.com>>
Sent: Wednesday, October 24, 2018 3:37 PM
To: Mahender Shankesi 
mailto:mahender.x.shank...@gsk.com>>
Cc: Shankesi Mahender mailto:shank...@gmail.com>>; Madhan 
Neethiraj mailto:mad...@apache.org>>; dev 
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 
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 mailto:naik.apo...@gmail.com>>
Sent: Friday, October 19, 2018 3:52 PM
To: Mahender Shankesi 
mailto:mahender.x.shank...@gsk.com>>; Apoorv Naik 
mailto:apoorvn...@apache.org>>
Cc: Shankesi Mahender mailto:shank...@gmail.com>>; Madhan 
Neethiraj mailto:mad...@apache.org>>; dev 
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, 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 mailto:apoorvn...@apache.org>>
Sent: Friday, October 19, 2018 2:55 PM
To: Mahender Shankesi 
mailto:mahender.x.sh