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
> 
>
> curl: (7) Failed to connect to myip port 21000: Connection refused
>
> $
> 
> curl -u admin:admin https://myip/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)
>>>
>>> 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)
>>>

Re: Review Request 68998: ATLAS-29018: Update JanusGraph version to 0.3.1

2018-10-11 Thread Madhan Neethiraj

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/68998/#review209467
---


Ship it!




Ship It!

- Madhan Neethiraj


On Oct. 11, 2018, 7:56 p.m., Sarath Subramanian wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/68998/
> ---
> 
> (Updated Oct. 11, 2018, 7:56 p.m.)
> 
> 
> Review request for atlas, Apoorv Naik, Ashutosh Mestry, and Madhan Neethiraj.
> 
> 
> Bugs: ATLAS-2918
> https://issues.apache.org/jira/browse/ATLAS-2918
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> Janusgraph community has released their latest version:
> 
> https://github.com/JanusGraph/janusgraph/releases/tag/v0.3.1
> 
> This JIRA will update janus version to 0.3.1 in atlas source.
> 
> 
> Diffs
> -
> 
>   graphdb/janus/pom.xml cd5c82ee2 
>   intg/src/test/resources/atlas-application.properties 7e74d5107 
>   pom.xml 92b3218ed 
> 
> 
> Diff: https://reviews.apache.org/r/68998/diff/1/
> 
> 
> Testing
> ---
> 
> https://builds.apache.org/view/A/view/Atlas/job/PreCommit-ATLAS-Build-Test/754/console
> 
> 
> Thanks,
> 
> Sarath Subramanian
> 
>



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
>> 
>>
>> curl: (7) Failed to connect to myip port 21000: Connection refused
>>
>> $
>> 
>> curl -u admin:admin https://myip/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
 

[jira] [Commented] (ATLAS-2918) Update JanusGraph version to 0.3.1

2018-10-11 Thread Sarath Subramanian (JIRA)


[ 
https://issues.apache.org/jira/browse/ATLAS-2918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16646974#comment-16646974
 ] 

Sarath Subramanian commented on ATLAS-2918:
---

Code Review: https://reviews.apache.org/r/68998/

> Update JanusGraph version to 0.3.1
> --
>
> Key: ATLAS-2918
> URL: https://issues.apache.org/jira/browse/ATLAS-2918
> Project: Atlas
>  Issue Type: Task
>  Components:  atlas-core
>Affects Versions: 1.1.0
>Reporter: Sarath Subramanian
>Assignee: Sarath Subramanian
>Priority: Major
> Fix For: 1.0.0
>
> Attachments: 0001-Update-JanusGraph-version-to-0.3.1-master-01.patch
>
>
> Janusgraph community has released their latest version:
> [https://github.com/JanusGraph/janusgraph/releases/tag/v0.3.1]
> This JIRA will update janus version to 0.3.1 in atlas source.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


Review Request 68998: ATLAS-29018: Update JanusGraph version to 0.3.1

2018-10-11 Thread Sarath Subramanian

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/68998/
---

Review request for atlas, Apoorv Naik, Ashutosh Mestry, and Madhan Neethiraj.


Bugs: ATLAS-2918
https://issues.apache.org/jira/browse/ATLAS-2918


Repository: atlas


Description
---

Janusgraph community has released their latest version:

https://github.com/JanusGraph/janusgraph/releases/tag/v0.3.1

This JIRA will update janus version to 0.3.1 in atlas source.


Diffs
-

  graphdb/janus/pom.xml cd5c82ee2 
  intg/src/test/resources/atlas-application.properties 7e74d5107 
  pom.xml 92b3218ed 


Diff: https://reviews.apache.org/r/68998/diff/1/


Testing
---

https://builds.apache.org/view/A/view/Atlas/job/PreCommit-ATLAS-Build-Test/754/console


Thanks,

Sarath Subramanian



[jira] [Updated] (ATLAS-2918) Update JanusGraph version to 0.3.1

2018-10-11 Thread Sarath Subramanian (JIRA)


 [ 
https://issues.apache.org/jira/browse/ATLAS-2918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sarath Subramanian updated ATLAS-2918:
--
Attachment: 0001-Update-JanusGraph-version-to-0.3.1-master-01.patch

> Update JanusGraph version to 0.3.1
> --
>
> Key: ATLAS-2918
> URL: https://issues.apache.org/jira/browse/ATLAS-2918
> Project: Atlas
>  Issue Type: Task
>  Components:  atlas-core
>Affects Versions: 1.1.0
>Reporter: Sarath Subramanian
>Assignee: Sarath Subramanian
>Priority: Major
> Fix For: 1.0.0
>
> Attachments: 0001-Update-JanusGraph-version-to-0.3.1-master-01.patch
>
>
> Janusgraph community has released their latest version:
> [https://github.com/JanusGraph/janusgraph/releases/tag/v0.3.1]
> This JIRA will update janus version to 0.3.1 in atlas source.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


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


curl: (7) Failed to connect to myip port 21000: Connection refused

$

curl -u admin:admin https://myip/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)
>>
>> 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
>>
>>
>>
>>

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


curl: (7) Failed to connect to myip port 21000: Connection refused

$

curl -u admin:admin https://myip/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)
>>
>> 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 

[jira] [Comment Edited] (ATLAS-2903) Atlas should support get the change records of entities

2018-10-11 Thread Ayush Nigam (JIRA)


[ 
https://issues.apache.org/jira/browse/ATLAS-2903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16646329#comment-16646329
 ] 

Ayush Nigam edited comment on ATLAS-2903 at 10/11/18 11:52 AM:
---

[~wangtao_20180929] Sorry for late response,Yes It will be a good feature to 
add to Atlas.

If you have immediate requirement,then if you are accessing Atlas through an 
application,you can maintain a metadata change log table.

In that table you can have a list of serialized Json for each entity 
corresponding to a particular guid.We can also plan to have similar approach 
within core Atlas itself.


was (Author: ayushmnnit):
[~wangtao_20180929] Sorry for late response,Yes It will be a good feature to 
add to Atlas.

If you have immediate requirement,then if you are accessing Atlas through an 
application,you can maintain a metadata change log table.

In that table you can have a list of serialized Json for each entity 
corresponding to a particular guid.

But yes,this approach

> Atlas should support get the change records of entities
> ---
>
> Key: ATLAS-2903
> URL: https://issues.apache.org/jira/browse/ATLAS-2903
> Project: Atlas
>  Issue Type: Wish
>  Components:  atlas-core
>Reporter: wangtao
>Assignee: Ayush Nigam
>Priority: Major
>
> Atlas should support get the change records of entities. Such as to modify 
> the metadata of a property or to increase a field of a table, and later can 
> query the change history.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (ATLAS-2903) Atlas should support get the change records of entities

2018-10-11 Thread Ayush Nigam (JIRA)


[ 
https://issues.apache.org/jira/browse/ATLAS-2903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16646329#comment-16646329
 ] 

Ayush Nigam commented on ATLAS-2903:


[~wangtao_20180929] Sorry for late response,Yes It will be a good feature to 
add to Atlas.

If you have immediate requirement,then if you are accessing Atlas through an 
application,you can maintain a metadata change log table.

In that table you can have a list of serialized Json for each entity 
corresponding to a particular guid.

But yes,this approach

> Atlas should support get the change records of entities
> ---
>
> Key: ATLAS-2903
> URL: https://issues.apache.org/jira/browse/ATLAS-2903
> Project: Atlas
>  Issue Type: Wish
>  Components:  atlas-core
>Reporter: wangtao
>Assignee: Ayush Nigam
>Priority: Major
>
> Atlas should support get the change records of entities. Such as to modify 
> the metadata of a property or to increase a field of a table, and later can 
> query the change history.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (ATLAS-2903) Atlas should support get the change records of entities

2018-10-11 Thread Ayush Nigam (JIRA)


 [ 
https://issues.apache.org/jira/browse/ATLAS-2903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ayush Nigam reassigned ATLAS-2903:
--

Assignee: Ayush Nigam

> Atlas should support get the change records of entities
> ---
>
> Key: ATLAS-2903
> URL: https://issues.apache.org/jira/browse/ATLAS-2903
> Project: Atlas
>  Issue Type: Wish
>  Components:  atlas-core
>Reporter: wangtao
>Assignee: Ayush Nigam
>Priority: Major
>
> Atlas should support get the change records of entities. Such as to modify 
> the metadata of a property or to increase a field of a table, and later can 
> query the change history.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


Re: Referring existing entities in Atlas using Rest API

2018-10-11 Thread Nixon Rodrigues
Hi Anshu,

You can connect to existing entity be referring the guid of already created
entity.
Below is the format of JSON.

 {

"entity": {
 ...
 ...
"Location" : {
"guid": "<%Existing entity guid)%>",
"typeName": ""
...
...
}

}



On Thu, Oct 11, 2018 at 2:21 PM Anshu Shukla 
wrote:

> Hi,
>
> I have used Atlas-scripts in dev-support folder to create entities using
> the given json example file.
> But there is no example to guide and show how to connect to an already
> existing entity in case new entity have attribute of that type.
>
> Example-
>
>  Location is an attribute inside the  Source
> type.   [Using Rest API's]
>


Referring existing entities in Atlas using Rest API

2018-10-11 Thread Anshu Shukla
Hi,

I have used Atlas-scripts in dev-support folder to create entities using the 
given json example file.
But there is no example to guide and show how to connect to an already existing 
entity in case new entity have attribute of that type.

Example-

 Location is an attribute inside the  Source type.   
[Using Rest API's]