Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dataplatform
atlas
Commits
0abf84ca
Commit
0abf84ca
authored
Nov 09, 2017
by
Sarath Subramanian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-2256: Make JanusGraph as the default graph-provider in atlas
parent
c5da0fa1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
pom.xml
distro/pom.xml
+1
-1
atlas_config.py
distro/src/bin/atlas_config.py
+1
-1
atlas-application.properties
distro/src/conf/atlas-application.properties
+2
-2
pom.xml
pom.xml
+2
-2
AtlasRepositoryConfiguration.java
...a/org/apache/atlas/util/AtlasRepositoryConfiguration.java
+1
-1
No files found.
distro/pom.xml
View file @
0abf84ca
...
...
@@ -40,7 +40,7 @@ atlas.graph.storage.hostname=
atlas.graph.storage.hbase.regions-per-server=1
atlas.graph.storage.lock.wait-time=10000
</graph.storage.properties>
<graph.index.backend>
solr
5
</graph.index.backend>
<graph.index.backend>
solr
</graph.index.backend>
<graph.index.properties>
#Solr
#Solr cloud mode properties
atlas.graph.index.search.solr.mode=cloud
...
...
distro/src/bin/atlas_config.py
View file @
0abf84ca
...
...
@@ -62,7 +62,7 @@ ON_POSIX = 'posix' in sys.builtin_module_names
CONF_FILE
=
"atlas-application.properties"
HBASE_STORAGE_CONF_ENTRY
=
"atlas.graph.storage.backend
\
s*=
\
s*hbase"
HBASE_STORAGE_LOCAL_CONF_ENTRY
=
"atlas.graph.storage.hostname
\
s*=
\
s*localhost"
SOLR_INDEX_CONF_ENTRY
=
"atlas.graph.index.search.backend
\
s*=
\
s*solr
5
"
SOLR_INDEX_CONF_ENTRY
=
"atlas.graph.index.search.backend
\
s*=
\
s*solr"
SOLR_INDEX_LOCAL_CONF_ENTRY
=
"atlas.graph.index.search.solr.zookeeper-url
\
s*=
\
s*localhost"
SOLR_INDEX_ZK_URL
=
"atlas.graph.index.search.solr.zookeeper-url"
TOPICS_TO_CREATE
=
"atlas.notification.topics"
...
...
distro/src/conf/atlas-application.properties
View file @
0abf84ca
...
...
@@ -20,8 +20,8 @@
# Graph Database
#Configures the graph database to use. Defaults to
Titan 0.5.4.
#atlas.graphdb.backend=org.apache.atlas.repository.graphdb.
titan0.Titan0
GraphDatabase
#Configures the graph database to use. Defaults to
JanusGraph 0.1.1
#atlas.graphdb.backend=org.apache.atlas.repository.graphdb.
janus.AtlasJanus
GraphDatabase
# Graph Storage
atlas.graph.storage.backend
=
${graph.storage.backend}
...
...
pom.xml
View file @
0abf84ca
...
...
@@ -652,9 +652,9 @@
<properties>
<!-- Define graph dependency type/version -->
<graphGroup>
org.apache.atlas
</graphGroup>
<graphArtifact>
atlas-graphdb-
titan0
</graphArtifact>
<graphArtifact>
atlas-graphdb-
janus
</graphArtifact>
<skipDocs>
false
</skipDocs>
<graphdb.backend.impl>
org.apache.atlas.repository.graphdb.
titan0.Titan0
GraphDatabase
</graphdb.backend.impl>
<graphdb.backend.impl>
org.apache.atlas.repository.graphdb.
janus.AtlasJanus
GraphDatabase
</graphdb.backend.impl>
</properties>
</profile>
...
...
repository/src/main/java/org/apache/atlas/util/AtlasRepositoryConfiguration.java
View file @
0abf84ca
...
...
@@ -150,7 +150,7 @@ public class AtlasRepositoryConfiguration {
}
private
static
final
String
GRAPH_DATABASE_IMPLEMENTATION_PROPERTY
=
"atlas.graphdb.backend"
;
private
static
final
String
DEFAULT_GRAPH_DATABASE_IMPLEMENTATION_CLASS
=
"org.apache.atlas.repository.graphdb.
titan0.Titan0
GraphDatabase"
;
private
static
final
String
DEFAULT_GRAPH_DATABASE_IMPLEMENTATION_CLASS
=
"org.apache.atlas.repository.graphdb.
janus.AtlasJanus
GraphDatabase"
;
@SuppressWarnings
(
"unchecked"
)
public
static
Class
<?
extends
GraphDatabase
>
getGraphDatabaseImpl
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment