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
4719701c
Commit
4719701c
authored
9 years ago
by
Venkatesh Seetharam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor bug fix and filter properties fix
parent
879eda63
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
32 deletions
+9
-32
pom.xml
pom.xml
+3
-0
HiveLineageServiceTest.java
...che/hadoop/metadata/discovery/HiveLineageServiceTest.java
+2
-4
application.properties
src/conf/application.properties
+2
-2
pom.xml
webapp/pom.xml
+0
-23
QuickStart.java
.../java/org/apache/hadoop/metadata/examples/QuickStart.java
+2
-3
No files found.
pom.xml
View file @
4719701c
...
...
@@ -686,6 +686,9 @@
<resource>
<directory>
src/main/resources
</directory>
<filtering>
true
</filtering>
<includes>
<include>
metadata-buildinfo.properties
</include>
</includes>
</resource>
<resource>
<directory>
src/conf
</directory>
...
...
This diff is collapsed.
Click to expand it.
repository/src/test/java/org/apache/hadoop/metadata/discovery/HiveLineageServiceTest.java
View file @
4719701c
...
...
@@ -258,7 +258,7 @@ public class HiveLineageServiceTest {
new
AttributeDefinition
(
"db"
,
DATABASE_TYPE
,
Multiplicity
.
REQUIRED
,
false
,
null
),
new
AttributeDefinition
(
"sd"
,
STORAGE_DESC_TYPE
,
Multiplicity
.
REQUIRED
,
fals
e
,
null
),
Multiplicity
.
REQUIRED
,
tru
e
,
null
),
new
AttributeDefinition
(
"columns"
,
DataTypes
.
arrayTypeName
(
COLUMN_TYPE
),
Multiplicity
.
COLLECTION
,
true
,
null
)
...
...
@@ -457,9 +457,7 @@ public class HiveLineageServiceTest {
referenceable
.
set
(
"retention"
,
System
.
currentTimeMillis
());
referenceable
.
set
(
"db"
,
dbId
);
// todo: fix this bug with object walker
// referenceable.set("sd", sd);
referenceable
.
set
(
"sd"
,
createInstance
(
sd
));
referenceable
.
set
(
"sd"
,
sd
);
referenceable
.
set
(
"columns"
,
columns
);
return
createInstance
(
referenceable
);
...
...
This diff is collapsed.
Click to expand it.
src/conf/application.properties
View file @
4719701c
...
...
@@ -19,11 +19,11 @@
######### Graph Database Configs #########
# Graph Storage
metadata.graph.storage.backend
=
berkeleyje
metadata.graph.storage.directory
=
./
target/
data/berkeley
metadata.graph.storage.directory
=
./data/berkeley
# Graph Search Index
metadata.graph.index.search.backend
=
elasticsearch
metadata.graph.index.search.directory
=
./
target/
data/es
metadata.graph.index.search.directory
=
./data/es
metadata.graph.index.search.elasticsearch.client-only
=
false
metadata.graph.index.search.elasticsearch.local-mode
=
true
...
...
This diff is collapsed.
Click to expand it.
webapp/pom.xml
View file @
4719701c
...
...
@@ -233,29 +233,6 @@
</plugin>
<plugin>
<artifactId>
maven-resources-plugin
</artifactId>
<version>
2.6
</version>
<executions>
<execution>
<id>
copy-resources
</id>
<phase>
validate
</phase>
<goals>
<goal>
copy-resources
</goal>
</goals>
<configuration>
<outputDirectory>
${basedir}/conf
</outputDirectory>
<resources>
<resource>
<directory>
${project.build.directory}/conf
</directory>
<filtering>
false
</filtering>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.codehaus.enunciate
</groupId>
<artifactId>
maven-enunciate-plugin
</artifactId>
<executions>
...
...
This diff is collapsed.
Click to expand it.
webapp/src/main/java/org/apache/hadoop/metadata/examples/QuickStart.java
View file @
4719701c
...
...
@@ -134,7 +134,7 @@ public class QuickStart {
new
AttributeDefinition
(
"db"
,
DATABASE_TYPE
,
Multiplicity
.
REQUIRED
,
false
,
null
),
new
AttributeDefinition
(
"sd"
,
STORAGE_DESC_TYPE
,
Multiplicity
.
OPTIONAL
,
fals
e
,
null
),
Multiplicity
.
REQUIRED
,
tru
e
,
null
),
attrDef
(
"owner"
,
DataTypes
.
STRING_TYPE
),
attrDef
(
"createTime"
,
DataTypes
.
INT_TYPE
),
attrDef
(
"lastAccessTime"
,
DataTypes
.
INT_TYPE
),
...
...
@@ -356,8 +356,7 @@ public class QuickStart {
referenceable
.
set
(
"lastAccessTime"
,
System
.
currentTimeMillis
());
referenceable
.
set
(
"retention"
,
System
.
currentTimeMillis
());
referenceable
.
set
(
"db"
,
dbId
);
// todo: fix this bug with object walker
// referenceable.set("sd", sd);
referenceable
.
set
(
"sd"
,
sd
);
referenceable
.
set
(
"columns"
,
columns
);
return
createInstance
(
referenceable
);
...
...
This diff is collapsed.
Click to expand it.
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