Hi Sarath,
I have done a git pull.
1) I ran mvn clean,package which compiles.
2) I start atlas it seems to start - but it will not accept any rest
calls. the log shows it cannot find the janus class.
3) I configuration file that was generated had berkleyje as the backend. I
changed this to hbase and then get
Exception: ('Could not find hbase-site.xml in %s. Please set env var
HBASE_CONF_DIR to the hbase client conf dir',
'/Users/david/atlas/distro/target/apache-atlas-1.0.0-SNAPSHOT-bin/apache-atlas-1.0.0-SNAPSHOT/hbase/conf')
Traceback (most recent call last):
File
"/Users/david/atlas/distro/target/apache-atlas-1.0.0-SNAPSHOT-bin/apache-atlas-1.0.0-SNAPSHOT/bin/atlas_start.py",
line 149, in <module>
returncode = main()
File
"/Users/david/atlas/distro/target/apache-atlas-1.0.0-SNAPSHOT-bin/apache-atlas-1.0.0-SNAPSHOT/bin/atlas_start.py",
line 92, in main
raise Exception("Could not find hbase-site.xml in %s. Please set env
var HBASE_CONF_DIR to the hbase client conf dir", hbase_conf_dir)
Exception: ('Could not find hbase-site.xml in %s. Please set env var
HBASE_CONF_DIR to the hbase client conf dir',
'/Users/david/atlas/distro/target/apache-atlas-1.0.0-SNAPSHOT-bin/apache-atlas-1.0.0-SNAPSHOT/hbase/conf')
I was expecting by default that the config file would be janus backed by
hbase and that it would use the hbase that was under Janus - so I did not
need to configure anything extra.
Any suggestions on how I can get Atlas working with Janus? all the best,
David.
From: Sarath Subramanian <[email protected]>
To: Apoorv Naik <[email protected]>, Madhan Neethiraj
<[email protected]>, Ashutosh Mestry <[email protected]>
Cc: atlas <[email protected]>, Sarath Subramanian
<[email protected]>
Date: 16/11/2017 23:12
Subject: Review Request 63892: [ATLAS-2264]: Update JanusGraph
version to 0.2.0
Sent by: Sarath Subramanian <[email protected]>
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://urldefense.proofpoint.com/v2/url?u=https-3A__reviews.apache.org_r_63892_&d=DwICaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=QhpUQPr5YlG95aAgCvZGStEXHg4hBbSYQ9JkRqR_svY&m=c6zcTJP3lgR7Ao9dXHdZjpTUwWwdTfIOVcAj8JFuSqU&s=7H6x2smMBVHJoW1E4_c-iIsQssgc3wHMsAaeS9SU-F0&e=
-----------------------------------------------------------
Review request for atlas, Apoorv Naik, Ashutosh Mestry, and Madhan
Neethiraj.
Bugs: ATLAS-2264
https://urldefense.proofpoint.com/v2/url?u=https-3A__issues.apache.org_jira_browse_ATLAS-2D2264&d=DwICaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=QhpUQPr5YlG95aAgCvZGStEXHg4hBbSYQ9JkRqR_svY&m=c6zcTJP3lgR7Ao9dXHdZjpTUwWwdTfIOVcAj8JFuSqU&s=RdYkPd0KSq8QQAEcPuGI2HrG85KrOGUCgYgnW3dNAYM&e=
Repository: atlas
Description
-------
Currently Atlas uses JanusGraph 0.1.1. This doesn't have support for Solr
6.x and other fixes. Atlas needs to use the latest JanusGraph release
version.
JanusGraph 0.2.0 doesn't package local elasticsearch or solr and only
provides mechanism to connect to a running instance
This JIRA addresses startup/shutdown of a local solr cloud instance for
use in Atlas unit tests
Diffs
-----
addons/falcon-bridge-shim/pom.xml 6cbaf0ad
addons/falcon-bridge/pom.xml 68ddec1a
addons/hbase-bridge-shim/pom.xml 6d01a3e6
addons/hbase-bridge/pom.xml 3dc4f1b7
addons/hive-bridge/pom.xml 42af8bb3
addons/sqoop-bridge/pom.xml 9c88a865
addons/storm-bridge-shim/pom.xml f20a1abb
addons/storm-bridge/pom.xml 4908ccf4
common/pom.xml 6d7515b0
common/src/test/java/org/apache/atlas/runner/LocalSolrRunner.java
PRE-CREATION
common/src/test/java/org/apache/atlas/runner/LocalSolrTest.java
PRE-CREATION
common/src/test/resources/log4j.properties PRE-CREATION
common/src/test/resources/solr/collections.txt PRE-CREATION
common/src/test/resources/solr/core-template/currency.xml PRE-CREATION
common/src/test/resources/solr/core-template/lang/stopwords_en.txt
PRE-CREATION
common/src/test/resources/solr/core-template/protwords.txt PRE-CREATION
common/src/test/resources/solr/core-template/schema.xml PRE-CREATION
common/src/test/resources/solr/core-template/solrconfig.xml PRE-CREATION
common/src/test/resources/solr/core-template/stopwords.txt PRE-CREATION
common/src/test/resources/solr/core-template/synonyms.txt PRE-CREATION
common/src/test/resources/solr/solr.xml PRE-CREATION
graphdb/common/src/test/java/org/apache/atlas/graph/GraphSandboxUtil.java
3cccd84e
graphdb/janus/pom.xml ad96db3f
graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/AtlasJanusGraph.java
7c96806d
graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/AtlasJanusGraphDatabase.java
1fda689d
graphdb/janus/src/test/java/org/apache/atlas/repository/graphdb/janus/AbstractGraphDatabaseTest.java
5574a4ce
graphdb/janus/src/test/java/org/apache/atlas/repository/graphdb/janus/AtlasJanusDatabaseTest.java
4919de24
graphdb/janus/src/test/java/org/apache/atlas/repository/graphdb/janus/JanusGraphProviderTest.java
7c1dda7b
graphdb/janus/src/test/resources/atlas-application.properties a66e8651
graphdb/titan0/pom.xml 2eec260d
graphdb/titan1/pom.xml c729caa6
intg/pom.xml 22895df7
intg/src/main/resources/atlas-log4j.xml PRE-CREATION
intg/src/test/resources/atlas-application.properties b937c33a
pom.xml cbf9e2af
repository/pom.xml 51ddb763
repository/src/test/java/org/apache/atlas/TestModules.java 5c9e60f6
repository/src/test/java/org/apache/atlas/repository/audit/AuditRepositoryTestBase.java
47fd9cfc
repository/src/test/java/org/apache/atlas/repository/impexp/ExportServiceTest.java
2a8bdfae
repository/src/test/java/org/apache/atlas/repository/impexp/ImportServiceTest.java
b24774d6
repository/src/test/java/org/apache/atlas/repository/impexp/LocalSolrTest.java
PRE-CREATION
repository/src/test/java/org/apache/atlas/repository/store/graph/AtlasTypeDefGraphStoreTest.java
9088470e
repository/src/test/java/org/apache/atlas/repository/store/graph/v1/AtlasEntityDefStoreV1Test.java
11982830
repository/src/test/java/org/apache/atlas/repository/store/graph/v1/AtlasEntityStoreV1Test.java
fd1b6db0
repository/src/test/java/org/apache/atlas/repository/store/graph/v1/AtlasRelationshipDefStoreV1Test.java
59bedd12
repository/src/test/java/org/apache/atlas/repository/store/graph/v1/AtlasRelationshipStoreV1Test.java
d207a695
repository/src/test/java/org/apache/atlas/repository/store/graph/v1/InverseReferenceUpdateV1Test.java
2c21638f
repository/src/test/java/org/apache/atlas/repository/userprofile/UserProfileServiceTest.java
0532f161
repository/src/test/java/org/apache/atlas/services/MetricsServiceTest.java
5165bcb9
repository/src/test/resources/solr/collections.txt PRE-CREATION
repository/src/test/resources/solr/core-template/currency.xml
PRE-CREATION
repository/src/test/resources/solr/core-template/lang/stopwords_en.txt
PRE-CREATION
repository/src/test/resources/solr/core-template/protwords.txt
PRE-CREATION
repository/src/test/resources/solr/core-template/schema.xml PRE-CREATION
repository/src/test/resources/solr/core-template/solrconfig.xml
PRE-CREATION
repository/src/test/resources/solr/core-template/stopwords.txt
PRE-CREATION
repository/src/test/resources/solr/core-template/synonyms.txt
PRE-CREATION
repository/src/test/resources/solr/solr.xml PRE-CREATION
server-api/pom.xml 6919dcdd
shaded/hbase-server-shaded/pom.xml 3cf500a8
webapp/pom.xml 569e06f8
Diff:
https://urldefense.proofpoint.com/v2/url?u=https-3A__reviews.apache.org_r_63892_diff_1_&d=DwICaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=QhpUQPr5YlG95aAgCvZGStEXHg4hBbSYQ9JkRqR_svY&m=c6zcTJP3lgR7Ao9dXHdZjpTUwWwdTfIOVcAj8JFuSqU&s=Ihplz6iFEDHUdFvkduwI9KopSGYC8cmbCfxm5d8sX1g&e=
Testing
-------
mvn clean package => builds janus profile and start/shutdown of local solr
cluster for unit tests
mvn clean package -DGRAPH-PROVIDER=titan0 => uses titan0 profile and use
elasticsearch packaged with titan jar
Thanks,
Sarath Subramanian
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU