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
Apr 10, 2015
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 @@
...
@@ -686,6 +686,9 @@
<resource>
<resource>
<directory>
src/main/resources
</directory>
<directory>
src/main/resources
</directory>
<filtering>
true
</filtering>
<filtering>
true
</filtering>
<includes>
<include>
metadata-buildinfo.properties
</include>
</includes>
</resource>
</resource>
<resource>
<resource>
<directory>
src/conf
</directory>
<directory>
src/conf
</directory>
...
...
repository/src/test/java/org/apache/hadoop/metadata/discovery/HiveLineageServiceTest.java
View file @
4719701c
...
@@ -258,7 +258,7 @@ public class HiveLineageServiceTest {
...
@@ -258,7 +258,7 @@ public class HiveLineageServiceTest {
new
AttributeDefinition
(
"db"
,
DATABASE_TYPE
,
new
AttributeDefinition
(
"db"
,
DATABASE_TYPE
,
Multiplicity
.
REQUIRED
,
false
,
null
),
Multiplicity
.
REQUIRED
,
false
,
null
),
new
AttributeDefinition
(
"sd"
,
STORAGE_DESC_TYPE
,
new
AttributeDefinition
(
"sd"
,
STORAGE_DESC_TYPE
,
Multiplicity
.
REQUIRED
,
fals
e
,
null
),
Multiplicity
.
REQUIRED
,
tru
e
,
null
),
new
AttributeDefinition
(
"columns"
,
new
AttributeDefinition
(
"columns"
,
DataTypes
.
arrayTypeName
(
COLUMN_TYPE
),
DataTypes
.
arrayTypeName
(
COLUMN_TYPE
),
Multiplicity
.
COLLECTION
,
true
,
null
)
Multiplicity
.
COLLECTION
,
true
,
null
)
...
@@ -457,9 +457,7 @@ public class HiveLineageServiceTest {
...
@@ -457,9 +457,7 @@ public class HiveLineageServiceTest {
referenceable
.
set
(
"retention"
,
System
.
currentTimeMillis
());
referenceable
.
set
(
"retention"
,
System
.
currentTimeMillis
());
referenceable
.
set
(
"db"
,
dbId
);
referenceable
.
set
(
"db"
,
dbId
);
// todo: fix this bug with object walker
referenceable
.
set
(
"sd"
,
sd
);
// referenceable.set("sd", sd);
referenceable
.
set
(
"sd"
,
createInstance
(
sd
));
referenceable
.
set
(
"columns"
,
columns
);
referenceable
.
set
(
"columns"
,
columns
);
return
createInstance
(
referenceable
);
return
createInstance
(
referenceable
);
...
...
src/conf/application.properties
View file @
4719701c
...
@@ -19,11 +19,11 @@
...
@@ -19,11 +19,11 @@
######### Graph Database Configs #########
######### Graph Database Configs #########
# Graph Storage
# Graph Storage
metadata.graph.storage.backend
=
berkeleyje
metadata.graph.storage.backend
=
berkeleyje
metadata.graph.storage.directory
=
./
target/
data/berkeley
metadata.graph.storage.directory
=
./data/berkeley
# Graph Search Index
# Graph Search Index
metadata.graph.index.search.backend
=
elasticsearch
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.client-only
=
false
metadata.graph.index.search.elasticsearch.local-mode
=
true
metadata.graph.index.search.elasticsearch.local-mode
=
true
...
...
webapp/pom.xml
View file @
4719701c
...
@@ -233,29 +233,6 @@
...
@@ -233,29 +233,6 @@
</plugin>
</plugin>
<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>
<groupId>
org.codehaus.enunciate
</groupId>
<artifactId>
maven-enunciate-plugin
</artifactId>
<artifactId>
maven-enunciate-plugin
</artifactId>
<executions>
<executions>
...
...
webapp/src/main/java/org/apache/hadoop/metadata/examples/QuickStart.java
View file @
4719701c
...
@@ -134,7 +134,7 @@ public class QuickStart {
...
@@ -134,7 +134,7 @@ public class QuickStart {
new
AttributeDefinition
(
"db"
,
DATABASE_TYPE
,
new
AttributeDefinition
(
"db"
,
DATABASE_TYPE
,
Multiplicity
.
REQUIRED
,
false
,
null
),
Multiplicity
.
REQUIRED
,
false
,
null
),
new
AttributeDefinition
(
"sd"
,
STORAGE_DESC_TYPE
,
new
AttributeDefinition
(
"sd"
,
STORAGE_DESC_TYPE
,
Multiplicity
.
OPTIONAL
,
fals
e
,
null
),
Multiplicity
.
REQUIRED
,
tru
e
,
null
),
attrDef
(
"owner"
,
DataTypes
.
STRING_TYPE
),
attrDef
(
"owner"
,
DataTypes
.
STRING_TYPE
),
attrDef
(
"createTime"
,
DataTypes
.
INT_TYPE
),
attrDef
(
"createTime"
,
DataTypes
.
INT_TYPE
),
attrDef
(
"lastAccessTime"
,
DataTypes
.
INT_TYPE
),
attrDef
(
"lastAccessTime"
,
DataTypes
.
INT_TYPE
),
...
@@ -356,8 +356,7 @@ public class QuickStart {
...
@@ -356,8 +356,7 @@ public class QuickStart {
referenceable
.
set
(
"lastAccessTime"
,
System
.
currentTimeMillis
());
referenceable
.
set
(
"lastAccessTime"
,
System
.
currentTimeMillis
());
referenceable
.
set
(
"retention"
,
System
.
currentTimeMillis
());
referenceable
.
set
(
"retention"
,
System
.
currentTimeMillis
());
referenceable
.
set
(
"db"
,
dbId
);
referenceable
.
set
(
"db"
,
dbId
);
// todo: fix this bug with object walker
referenceable
.
set
(
"sd"
,
sd
);
// referenceable.set("sd", sd);
referenceable
.
set
(
"columns"
,
columns
);
referenceable
.
set
(
"columns"
,
columns
);
return
createInstance
(
referenceable
);
return
createInstance
(
referenceable
);
...
...
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