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
1821667e
Commit
1821667e
authored
Nov 16, 2016
by
Shwetha GS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-1246 Upgrade versions of dependencies (shwethags)
parent
854b7928
Show whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
319 additions
and
159 deletions
+319
-159
pom.xml
addons/falcon-bridge/pom.xml
+3
-4
pom.xml
addons/hive-bridge/pom.xml
+3
-4
pom.xml
addons/sqoop-bridge/pom.xml
+3
-4
pom.xml
addons/storm-bridge/pom.xml
+4
-9
PolicyParser.java
.../java/org/apache/atlas/authorize/simple/PolicyParser.java
+6
-7
pom.xml
common/pom.xml
+6
-0
pom.xml
graphdb/common/pom.xml
+0
-6
pom.xml
graphdb/titan0/pom.xml
+10
-3
pom.xml
intg/pom.xml
+6
-0
pom.xml
notification/pom.xml
+0
-6
pom.xml
pom.xml
+68
-34
release-log.txt
release-log.txt
+3
-1
pom.xml
repository/pom.xml
+13
-41
DataSetLineageService.java
...ava/org/apache/atlas/discovery/DataSetLineageService.java
+4
-2
pom.xml
shaded/hbase-client-shaded/pom.xml
+79
-0
pom.xml
shaded/hbase-server-shaded/pom.xml
+85
-0
pom.xml
typesystem/pom.xml
+3
-34
pom.xml
webapp/pom.xml
+23
-4
No files found.
addons/falcon-bridge/pom.xml
View file @
1821667e
...
...
@@ -142,17 +142,17 @@
</artifactItem>
<artifactItem>
<groupId>
org.json4s
</groupId>
<artifactId>
json4s-native_
2.10
</artifactId>
<artifactId>
json4s-native_
${scala.binary.version}
</artifactId>
<version>
${json.version}
</version>
</artifactItem>
<artifactItem>
<groupId>
org.json4s
</groupId>
<artifactId>
json4s-core_
2.10
</artifactId>
<artifactId>
json4s-core_
${scala.binary.version}
</artifactId>
<version>
${json.version}
</version>
</artifactItem>
<artifactItem>
<groupId>
org.json4s
</groupId>
<artifactId>
json4s-ast_
2.10
</artifactId>
<artifactId>
json4s-ast_
${scala.binary.version}
</artifactId>
<version>
${json.version}
</version>
</artifactItem>
<artifactItem>
...
...
@@ -203,7 +203,6 @@
<artifactItem>
<groupId>
com.google.inject.extensions
</groupId>
<artifactId>
guice-multibindings
</artifactId>
<version>
${guice.version}
</version>
</artifactItem>
<artifactItem>
<groupId>
org.apache.kafka
</groupId>
...
...
addons/hive-bridge/pom.xml
View file @
1821667e
...
...
@@ -190,17 +190,17 @@
</artifactItem>
<artifactItem>
<groupId>
org.json4s
</groupId>
<artifactId>
json4s-native_
2.10
</artifactId>
<artifactId>
json4s-native_
${scala.binary.version}
</artifactId>
<version>
${json.version}
</version>
</artifactItem>
<artifactItem>
<groupId>
org.json4s
</groupId>
<artifactId>
json4s-core_
2.10
</artifactId>
<artifactId>
json4s-core_
${scala.binary.version}
</artifactId>
<version>
${json.version}
</version>
</artifactItem>
<artifactItem>
<groupId>
org.json4s
</groupId>
<artifactId>
json4s-ast_
2.10
</artifactId>
<artifactId>
json4s-ast_
${scala.binary.version}
</artifactId>
<version>
${json.version}
</version>
</artifactItem>
<artifactItem>
...
...
@@ -251,7 +251,6 @@
<artifactItem>
<groupId>
com.google.inject.extensions
</groupId>
<artifactId>
guice-multibindings
</artifactId>
<version>
${guice.version}
</version>
</artifactItem>
<artifactItem>
<groupId>
org.apache.kafka
</groupId>
...
...
addons/sqoop-bridge/pom.xml
View file @
1821667e
...
...
@@ -207,17 +207,17 @@
</artifactItem>
<artifactItem>
<groupId>
org.json4s
</groupId>
<artifactId>
json4s-native_
2.10
</artifactId>
<artifactId>
json4s-native_
${scala.binary.version}
</artifactId>
<version>
${json.version}
</version>
</artifactItem>
<artifactItem>
<groupId>
org.json4s
</groupId>
<artifactId>
json4s-core_
2.10
</artifactId>
<artifactId>
json4s-core_
${scala.binary.version}
</artifactId>
<version>
${json.version}
</version>
</artifactItem>
<artifactItem>
<groupId>
org.json4s
</groupId>
<artifactId>
json4s-ast_
2.10
</artifactId>
<artifactId>
json4s-ast_
${scala.binary.version}
</artifactId>
<version>
${json.version}
</version>
</artifactItem>
<artifactItem>
...
...
@@ -263,7 +263,6 @@
<artifactItem>
<groupId>
com.google.inject.extensions
</groupId>
<artifactId>
guice-multibindings
</artifactId>
<version>
${guice.version}
</version>
</artifactItem>
<artifactItem>
<groupId>
org.apache.kafka
</groupId>
...
...
addons/storm-bridge/pom.xml
View file @
1821667e
...
...
@@ -95,11 +95,10 @@
<groupId>
org.apache.storm
</groupId>
<artifactId>
storm-core
</artifactId>
<version>
${storm.version}
</version>
<type>
jar
</type>
<exclusions>
<exclusion>
<groupId>
org.slf4j
</groupId>
<artifactId>
slf4j-log4j12
</artifactId>
<artifactId>
log4j-over-slf4j
</artifactId>
</exclusion>
</exclusions>
</dependency>
...
...
@@ -168,17 +167,17 @@
</artifactItem>
<artifactItem>
<groupId>
org.json4s
</groupId>
<artifactId>
json4s-native_
2.10
</artifactId>
<artifactId>
json4s-native_
${scala.binary.version}
</artifactId>
<version>
${json.version}
</version>
</artifactItem>
<artifactItem>
<groupId>
org.json4s
</groupId>
<artifactId>
json4s-core_
2.10
</artifactId>
<artifactId>
json4s-core_
${scala.binary.version}
</artifactId>
<version>
${json.version}
</version>
</artifactItem>
<artifactItem>
<groupId>
org.json4s
</groupId>
<artifactId>
json4s-ast_
2.10
</artifactId>
<artifactId>
json4s-ast_
${scala.binary.version}
</artifactId>
<version>
${json.version}
</version>
</artifactItem>
<artifactItem>
...
...
@@ -234,22 +233,18 @@
<artifactItem>
<groupId>
com.google.inject
</groupId>
<artifactId>
guice
</artifactId>
<version>
${guice.version}
</version>
</artifactItem>
<artifactItem>
<groupId>
com.google.inject.extensions
</groupId>
<artifactId>
guice-multibindings
</artifactId>
<version>
${guice.version}
</version>
</artifactItem>
<artifactItem>
<groupId>
com.google.inject.extensions
</groupId>
<artifactId>
guice-servlet
</artifactId>
<version>
${guice.version}
</version>
</artifactItem>
<artifactItem>
<groupId>
com.google.inject.extensions
</groupId>
<artifactId>
guice-throwingproviders
</artifactId>
<version>
${guice.version}
</version>
</artifactItem>
<artifactItem>
<groupId>
org.apache.kafka
</groupId>
...
...
authorization/src/main/java/org/apache/atlas/authorize/simple/PolicyParser.java
View file @
1821667e
...
...
@@ -17,18 +17,17 @@
*/
package
org
.
apache
.
atlas
.
authorize
.
simple
;
import
java.util.ArrayList
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.regex.Pattern
;
import
org.apache.atlas.authorize.AtlasActionTypes
;
import
org.apache.atlas.authorize.AtlasResourceTypes
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
scala.tools.jline_embedded.internal.Log
;
import
scala.tools.jline.internal.Log
;
import
java.util.ArrayList
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.regex.Pattern
;
public
class
PolicyParser
{
...
...
common/pom.xml
View file @
1821667e
...
...
@@ -70,5 +70,11 @@
<version>
${spring.version}
</version>
</dependency>
<dependency>
<groupId>
com.google.guava
</groupId>
<artifactId>
guava
</artifactId>
<version>
${guava.version}
</version>
<scope>
test
</scope>
</dependency>
</dependencies>
</project>
graphdb/common/pom.xml
View file @
1821667e
...
...
@@ -34,12 +34,6 @@ under the License. -->
</dependency>
<dependency>
<groupId>
com.google.guava
</groupId>
<artifactId>
guava
</artifactId>
<version>
18.0
</version>
</dependency>
<dependency>
<groupId>
junit
</groupId>
<artifactId>
junit
</artifactId>
<version>
4.9
</version>
...
...
graphdb/titan0/pom.xml
View file @
1821667e
...
...
@@ -83,8 +83,8 @@
</dependency>
<dependency>
<groupId>
org.apache.
hbase
</groupId>
<artifactId>
hbase-client
</artifactId>
<groupId>
org.apache.
atlas
</groupId>
<artifactId>
atlas-hbase-client-shaded
</artifactId>
</dependency>
<dependency>
...
...
@@ -171,8 +171,15 @@
<exclude>
com/thinkaurelius/titan/graphdb/query/graph/GraphCentricQueryBuilder.class
</exclude>
</excludes>
</filter>
</filters>
<relocations>
<!-- guava has incompatibilities across its versions. Titan requires different version of guava than the version that atlas needs.
So, shading the guava reference in titan -->
<relocation>
<pattern>
com.google
</pattern>
<shadedPattern>
atlas.shaded.titan.guava
</shadedPattern>
</relocation>
</relocations>
<createSourcesJar>
true
</createSourcesJar>
<transformers>
<transformer
implementation=
"org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"
/>
...
...
intg/pom.xml
View file @
1821667e
...
...
@@ -62,6 +62,12 @@
</dependency>
<dependency>
<groupId>
com.google.guava
</groupId>
<artifactId>
guava
</artifactId>
<version>
${guava.version}
</version>
</dependency>
<dependency>
<groupId>
org.testng
</groupId>
<artifactId>
testng
</artifactId>
<scope>
test
</scope>
...
...
notification/pom.xml
View file @
1821667e
...
...
@@ -92,7 +92,6 @@
<dependency>
<groupId>
com.101tec
</groupId>
<artifactId>
zkclient
</artifactId>
<version>
${zkclient.version}
</version>
</dependency>
<dependency>
...
...
@@ -153,11 +152,6 @@
<version>
${commons-lang.version}
</version>
</artifactItem>
<artifactItem>
<groupId>
com.google.guava
</groupId>
<artifactId>
guava
</artifactId>
<version>
${guava.version}
</version>
</artifactItem>
<artifactItem>
<groupId>
org.apache.hadoop
</groupId>
<artifactId>
hadoop-common
</artifactId>
<version>
${hadoop.version}
</version>
...
...
pom.xml
View file @
1821667e
...
...
@@ -432,7 +432,7 @@
<project.reporting.outputEncoding>
UTF-8
</project.reporting.outputEncoding>
<node.version>
v0.10.30
</node.version>
<node-for-v2.version>
v4.4.2
</node-for-v2.version>
<slf4j.version>
1.7.
7
</slf4j.version>
<slf4j.version>
1.7.
21
</slf4j.version>
<jetty.version>
9.2.12.v20150709
</jetty.version>
<jersey.version>
1.19
</jersey.version>
<tinkerpop.version>
2.6.0
</tinkerpop.version>
...
...
@@ -441,22 +441,26 @@
<hbase.version>
1.1.2
</hbase.version>
<solr.version>
5.5.1
</solr.version>
<kafka.version>
0.10.0.0
</kafka.version>
<curator.version>
2.11.0
</curator.version>
<zookeeper.version>
3.4.6
</zookeeper.version>
<!-- scala versions -->
<scala.version>
2.1
0.4
</scala.version>
<scala.binary.version>
2.1
0
</scala.binary.version>
<scala.version>
2.1
1.8
</scala.version>
<scala.binary.version>
2.1
1
</scala.binary.version>
<scala.macros.version>
2.0.1
</scala.macros.version>
<json.version>
3.2.11
</json.version>
<log4j.version>
1.2.17
</log4j.version>
<akka.version>
2.3.7
</akka.version>
<spray.version>
1.3.1
</spray.version>
<gson.version>
2.5
</gson.version>
<guava.version>
14.0
</guava.version>
<fastutil.version>
6.5.16
</fastutil.version>
<guice.version>
4.0
</guice.version>
<guice.version>
4.
1.
0
</guice.version>
<spring.version>
3.1.3.RELEASE
</spring.version>
<spring.security.version>
3.1.3.RELEASE
</spring.security.version>
<spring-ldap-core.version>
1.3.1.RELEASE
</spring-ldap-core.version>
<javax.servlet.version>
3.1.0
</javax.servlet.version>
<guava.version>
18.0
</guava.version>
<!-- Needed for hooks -->
<aopalliance.version>
1.0
</aopalliance.version>
<codehaus.jackson.version>
1.9.13
</codehaus.jackson.version>
...
...
@@ -466,7 +470,7 @@
<commons-lang.version>
2.6
</commons-lang.version>
<javax-inject.version>
1
</javax-inject.version>
<jettison.version>
1.3.7
</jettison.version>
<paranamer.version>
2.
3
</paranamer.version>
<paranamer.version>
2.
7
</paranamer.version>
<zkclient.version>
0.8
</zkclient.version>
<PermGen>
64m
</PermGen>
...
...
@@ -540,6 +544,8 @@
<module>
notification
</module>
<module>
client
</module>
<module>
graphdb
</module>
<module>
shaded/hbase-client-shaded
</module>
<module>
shaded/hbase-server-shaded
</module>
<module>
repository
</module>
<module>
authorization
</module>
<module>
catalog
</module>
...
...
@@ -712,6 +718,10 @@
<groupId>
commons-httpclient
</groupId>
<artifactId>
*
</artifactId>
</exclusion>
<exclusion>
<groupId>
com.google.guava
</groupId>
<artifactId>
guava
</artifactId>
</exclusion>
</exclusions>
</dependency>
...
...
@@ -732,6 +742,10 @@
<groupId>
org.mortbay.jetty
</groupId>
<artifactId>
*
</artifactId>
</exclusion>
<exclusion>
<groupId>
com.google.guava
</groupId>
<artifactId>
guava
</artifactId>
</exclusion>
</exclusions>
</dependency>
...
...
@@ -766,6 +780,24 @@
<scope>
test
</scope>
</dependency>
<!-- Zookeeper, curator -->
<dependency>
<groupId>
org.apache.curator
</groupId>
<artifactId>
curator-framework
</artifactId>
<version>
${curator.version}
</version>
</dependency>
<dependency>
<groupId>
org.apache.curator
</groupId>
<artifactId>
curator-recipes
</artifactId>
<version>
${curator.version}
</version>
</dependency>
<dependency>
<groupId>
org.apache.zookeeper
</groupId>
<artifactId>
zookeeper
</artifactId>
<version>
${zookeeper.version}
</version>
</dependency>
<!-- commons -->
<dependency>
<groupId>
commons-configuration
</groupId>
...
...
@@ -802,6 +834,12 @@
<groupId>
com.google.inject
</groupId>
<artifactId>
guice
</artifactId>
<version>
${guice.version}
</version>
<exclusions>
<exclusion>
<groupId>
com.google.guava
</groupId>
<artifactId>
guava
</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
...
...
@@ -1016,14 +1054,12 @@
<artifactId>
hbase-server
</artifactId>
<version>
${hbase.version}
</version>
<classifier>
tests
</classifier>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.apache.hbase
</groupId>
<artifactId>
hbase-server
</artifactId>
<version>
${hbase.version}
</version>
<scope>
test
</scope>
<exclusions>
<exclusion>
<groupId>
org.mortbay.jetty
</groupId>
...
...
@@ -1036,7 +1072,6 @@
</exclusions>
</dependency>
<dependency>
<groupId>
com.vividsolutions
</groupId>
<artifactId>
jts
</artifactId>
...
...
@@ -1168,14 +1203,25 @@
<type>
war
</type>
</dependency>
<dependency>
<groupId>
org.apache.atlas
</groupId>
<artifactId>
atlas-hbase-client-shaded
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<groupId>
org.apache.atlas
</groupId>
<artifactId>
atlas-hbase-server-shaded
</artifactId>
<version>
${project.version}
</version>
</dependency>
<!-- use titan 0.5.4 by default -->
<dependency>
<groupId>
org.apache.atlas
</groupId>
<artifactId>
atlas-graphdb-impls
</artifactId>
<version>
${project.version}
</version>
<type>
pom
</type>
<!-- exclusions should be added here for all of the non-titan0
implementations -->
<!-- exclusions should be added here for all of the non-titan0 implementations -->
<scope>
test
</scope>
</dependency>
...
...
@@ -1254,12 +1300,6 @@
<dependency>
<groupId>
org.scala-lang
</groupId>
<artifactId>
jline
</artifactId>
<version>
${scala.version}
</version>
</dependency>
<dependency>
<groupId>
org.scala-lang
</groupId>
<artifactId>
scala-library
</artifactId>
<version>
${scala.version}
</version>
</dependency>
...
...
@@ -1277,20 +1317,14 @@
</dependency>
<dependency>
<groupId>
org.scalamacros
</groupId>
<artifactId>
quasiquotes_${scala.binary.version}
</artifactId>
<version>
${scala.macros.version}
</version>
</dependency>
<dependency>
<groupId>
org.json4s
</groupId>
<artifactId>
json4s-native_
2.10
</artifactId>
<artifactId>
json4s-native_
${scala.binary.version}
</artifactId>
<version>
${json.version}
</version>
</dependency>
<dependency>
<groupId>
com.github.nscala-time
</groupId>
<artifactId>
nscala-time_
2.10
</artifactId>
<artifactId>
nscala-time_
${scala.binary.version}
</artifactId>
<version>
1.6.0
</version>
</dependency>
...
...
@@ -1302,19 +1336,19 @@
<dependency>
<groupId>
com.typesafe.akka
</groupId>
<artifactId>
akka-actor_
2.10
</artifactId>
<artifactId>
akka-actor_
${scala.binary.version}
</artifactId>
<version>
${akka.version}
</version>
</dependency>
<dependency>
<groupId>
com.typesafe.akka
</groupId>
<artifactId>
akka-testkit_
2.10
</artifactId>
<artifactId>
akka-testkit_
${scala.binary.version}
</artifactId>
<version>
${akka.version}
</version>
</dependency>
<dependency>
<groupId>
com.typesafe.akka
</groupId>
<artifactId>
akka-slf4j_
2.10
</artifactId>
<artifactId>
akka-slf4j_
${scala.binary.version}
</artifactId>
<version>
${akka.version}
</version>
</dependency>
...
...
@@ -1343,12 +1377,6 @@
</dependency>
<dependency>
<groupId>
com.google.guava
</groupId>
<artifactId>
guava
</artifactId>
<version>
${guava.version}
</version>
</dependency>
<dependency>
<groupId>
com.google.code.gson
</groupId>
<artifactId>
gson
</artifactId>
<version>
${gson.version}
</version>
...
...
@@ -1437,6 +1465,12 @@
<artifactId>
atlas-plugin-classloader
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<groupId>
com.101tec
</groupId>
<artifactId>
zkclient
</artifactId>
<version>
${zkclient.version}
</version>
</dependency>
</dependencies>
</dependencyManagement>
...
...
release-log.txt
View file @
1821667e
...
...
@@ -9,7 +9,9 @@ ATLAS-1060 Add composite indexes for exact match performance improvements for al
ATLAS-1127 Modify creation and modification timestamps to Date instead of Long(sumasai)
ALL CHANGES:
ATLAS-1244 added support for KnoxSSO Authentication
ATLAS-1246 Upgrade versions of dependencies (shwethags)
ATLAS-1244 added support for KnoxSSO Authentication (nixonrodrigues via mneethiraj)
ATLAS-1295 Build failure due to patch for ATLAS-1081 (apoorvnaik via sumasai)
ATLAS-1081 Atlas jetty server configuration (shwethags)
ATLAS-1257 Map Entity REST APIs to ATLAS v1 backend (sumasai)
...
...
repository/pom.xml
View file @
1821667e
...
...
@@ -57,7 +57,6 @@
<artifactId>
atlas-graphdb-api
</artifactId>
</dependency>
<dependency>
<groupId>
org.apache.atlas
</groupId>
<artifactId>
atlas-graphdb-impls
</artifactId>
...
...
@@ -65,7 +64,6 @@
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
joda-time
</groupId>
<artifactId>
joda-time
</artifactId>
...
...
@@ -103,11 +101,6 @@
<dependency>
<groupId>
org.scala-lang
</groupId>
<artifactId>
jline
</artifactId>
</dependency>
<dependency>
<groupId>
org.scala-lang
</groupId>
<artifactId>
scala-library
</artifactId>
</dependency>
...
...
@@ -122,11 +115,6 @@
</dependency>
<dependency>
<groupId>
org.scalamacros
</groupId>
<artifactId>
quasiquotes_${scala.binary.version}
</artifactId>
</dependency>
<dependency>
<groupId>
org.skyscreamer
</groupId>
<artifactId>
jsonassert
</artifactId>
</dependency>
...
...
@@ -142,34 +130,35 @@
</dependency>
<dependency>
<groupId>
org.apache.hbase
</groupId>
<artifactId>
hbase-client
</artifactId>
<groupId>
org.apache.atlas
</groupId>
<artifactId>
atlas-typesystem
</artifactId>
<classifier>
tests
</classifier>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.apache.
hbase
</groupId>
<artifactId>
hbase-server
</artifactId>
<groupId>
org.apache.
atlas
</groupId>
<artifactId>
atlas-typesystem
</artifactId>
<classifier>
tests
</classifier>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.apache.hbase
</groupId>
<artifactId>
hbase-server
</artifactId>
<groupId>
org.apache.atlas
</groupId>
<artifactId>
atlas-intg
</artifactId>
<type>
test-jar
</type>
<version>
${project.version}
</version>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.apache.atlas
</groupId>
<artifactId>
atlas-typesystem
</artifactId>
<classifier>
tests
</classifier>
<scope>
test
</scope>
<artifactId>
atlas-hbase-client-shaded
</artifactId>
</dependency>
<dependency>
<groupId>
org.apache.atlas
</groupId>
<artifactId>
atlas-intg
</artifactId>
<type>
test-jar
</type>
<version>
${project.version}
</version>
<artifactId>
atlas-hbase-server-shaded
</artifactId>
<scope>
test
</scope>
</dependency>
</dependencies>
...
...
@@ -211,23 +200,6 @@
<jvmArg>
-Xmx512m
</jvmArg>
<jvmArg>
-XX:MaxPermSize=128m
</jvmArg>
</jvmArgs>
<!--
<javacArgs>
<javacArg>-source</javacArg>
<javacArg>${java.version}</javacArg>
<javacArg>-target</javacArg>
<javacArg>${java.version}</javacArg>
</javacArgs>
-->
<!-- The following plugin is required to use quasiquotes in Scala 2.10 and is used
by Spark SQL for code generation. -->
<!--<compilerPlugins>
<compilerPlugin>
<groupId>org.scalamacros</groupId>
<artifactId>paradise_${scala.version}</artifactId>
<version>${scala.macros.version}</version>
</compilerPlugin>
</compilerPlugins>-->
</configuration>
</plugin>
...
...
repository/src/main/java/org/apache/atlas/discovery/DataSetLineageService.java
View file @
1821667e
...
...
@@ -44,10 +44,12 @@ import org.slf4j.Logger;
import
org.slf4j.LoggerFactory
;
import
scala.Option
;
import
scala.Some
;
import
scala.collection.JavaConversions
;
import
scala.collection.immutable.List
;
import
javax.inject.Inject
;
import
javax.inject.Singleton
;
import
java.util.Arrays
;
import
java.util.Iterator
;
/**
...
...
@@ -59,8 +61,8 @@ public class DataSetLineageService implements LineageService {
private
static
final
Logger
LOG
=
LoggerFactory
.
getLogger
(
DataSetLineageService
.
class
);
private
static
final
Option
<
List
<
String
>>
SELECT_ATTRIBUTES
=
Some
.
<
List
<
String
>>
apply
(
List
.<
String
>
fromArray
(
new
String
[]{
AtlasClient
.
NAME
,
AtlasClient
.
REFERENCEABLE_ATTRIBUTE_NAME
}
));
Some
.
apply
(
JavaConversions
.
asScalaBuffer
(
Arrays
.
asList
(
AtlasClient
.
NAME
,
AtlasClient
.
REFERENCEABLE_ATTRIBUTE_NAME
)).
toList
(
));
public
static
final
String
SELECT_INSTANCE_GUID
=
"__guid"
;
public
static
final
String
DATASET_SCHEMA_QUERY_PREFIX
=
"atlas.lineage.schema.query."
;
...
...
shaded/hbase-client-shaded/pom.xml
0 → 100644
View file @
1821667e
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one
~ or more contributor license agreements. See the NOTICE file
~ distributed with this work for additional information
~ regarding copyright ownership. The ASF licenses this file
~ to you under the Apache License, Version 2.0 (the
~ "License"); you may not use this file except in compliance
~ with the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<parent>
<artifactId>
apache-atlas
</artifactId>
<groupId>
org.apache.atlas
</groupId>
<version>
0.8-incubating-SNAPSHOT
</version>
</parent>
<artifactId>
atlas-hbase-client-shaded
</artifactId>
<description>
Shading of guava in apache hbase-client
</description>
<name>
Shaded version of Apache hbase client
</name>
<packaging>
jar
</packaging>
<properties>
<checkstyle.failOnViolation>
true
</checkstyle.failOnViolation>
</properties>
<dependencies>
<dependency>
<groupId>
org.apache.hbase
</groupId>
<artifactId>
hbase-client
</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-shade-plugin
</artifactId>
<version>
2.4.1
</version>
<executions>
<execution>
<phase>
package
</phase>
<goals>
<goal>
shade
</goal>
</goals>
<configuration>
<artifactSet>
<excludes>
<!-- these are bundled with Atlas -->
<exclude>
org.slf4j:*
</exclude>
</excludes>
</artifactSet>
<relocations>
<!-- guava has incompatibilities across its versions. HBase requires different version of guava than the version that atlas needs.
So, shading the guava reference in HBase -->
<relocation>
<pattern>
com.google
</pattern>
<shadedPattern>
atlas.shaded.hbase.guava
</shadedPattern>
</relocation>
</relocations>
<transformers>
<transformer
implementation=
"org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"
/>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
shaded/hbase-server-shaded/pom.xml
0 → 100644
View file @
1821667e
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one
~ or more contributor license agreements. See the NOTICE file
~ distributed with this work for additional information
~ regarding copyright ownership. The ASF licenses this file
~ to you under the Apache License, Version 2.0 (the
~ "License"); you may not use this file except in compliance
~ with the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<parent>
<artifactId>
apache-atlas
</artifactId>
<groupId>
org.apache.atlas
</groupId>
<version>
0.8-incubating-SNAPSHOT
</version>
</parent>
<artifactId>
atlas-hbase-server-shaded
</artifactId>
<description>
Shading of guava in apache hbase-server
</description>
<name>
Shaded version of Apache hbase server
</name>
<packaging>
jar
</packaging>
<properties>
<checkstyle.failOnViolation>
true
</checkstyle.failOnViolation>
</properties>
<dependencies>
<dependency>
<groupId>
org.apache.hbase
</groupId>
<artifactId>
hbase-server
</artifactId>
<classifier>
tests
</classifier>
</dependency>
<dependency>
<groupId>
org.apache.hbase
</groupId>
<artifactId>
hbase-server
</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-shade-plugin
</artifactId>
<version>
2.4.1
</version>
<executions>
<execution>
<phase>
package
</phase>
<goals>
<goal>
shade
</goal>
</goals>
<configuration>
<artifactSet>
<excludes>
<!-- these are bundled with Atlas -->
<exclude>
org.slf4j:*
</exclude>
</excludes>
</artifactSet>
<relocations>
<!-- guava has incompatibilities across its versions. HBase requires different version of guava than the version that atlas needs.
So, shading the guava reference in HBase -->
<relocation>
<pattern>
com.google
</pattern>
<shadedPattern>
atlas.shaded.hbase.guava
</shadedPattern>
</relocation>
</relocations>
<transformers>
<transformer
implementation=
"org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"
/>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
typesystem/pom.xml
View file @
1821667e
...
...
@@ -49,11 +49,6 @@
<dependency>
<groupId>
org.scala-lang
</groupId>
<artifactId>
jline
</artifactId>
</dependency>
<dependency>
<groupId>
org.scala-lang
</groupId>
<artifactId>
scala-library
</artifactId>
</dependency>
...
...
@@ -68,18 +63,13 @@
</dependency>
<dependency>
<groupId>
org.scalamacros
</groupId>
<artifactId>
quasiquotes_${scala.binary.version}
</artifactId>
</dependency>
<dependency>
<groupId>
org.json4s
</groupId>
<artifactId>
json4s-native_
2.10
</artifactId>
<artifactId>
json4s-native_
${scala.binary.version}
</artifactId>
</dependency>
<dependency>
<groupId>
com.github.nscala-time
</groupId>
<artifactId>
nscala-time_
2.10
</artifactId>
<artifactId>
nscala-time_
${scala.binary.version}
</artifactId>
</dependency>
<dependency>
...
...
@@ -88,11 +78,6 @@
</dependency>
<dependency>
<groupId>
com.google.guava
</groupId>
<artifactId>
guava
</artifactId>
</dependency>
<dependency>
<groupId>
org.testng
</groupId>
<artifactId>
testng
</artifactId>
</dependency>
...
...
@@ -116,6 +101,7 @@
<groupId>
org.apache.commons
</groupId>
<artifactId>
commons-lang3
</artifactId>
</dependency>
<dependency>
<groupId>
org.apache.atlas
</groupId>
<artifactId>
atlas-intg
</artifactId>
...
...
@@ -159,23 +145,6 @@
<jvmArg>
-Xmx512m
</jvmArg>
<jvmArg>
-XX:MaxPermSize=128m
</jvmArg>
</jvmArgs>
<!--
<javacArgs>
<javacArg>-source</javacArg>
<javacArg>${java.version}</javacArg>
<javacArg>-target</javacArg>
<javacArg>${java.version}</javacArg>
</javacArgs>
-->
<!-- The following plugin is required to use quasiquotes in Scala 2.10 and is used
by Spark SQL for code generation. -->
<!--<compilerPlugins>
<compilerPlugin>
<groupId>org.scalamacros</groupId>
<artifactId>paradise_${scala.version}</artifactId>
<version>${scala.macros.version}</version>
</compilerPlugin>
</compilerPlugins>-->
</configuration>
</plugin>
...
...
webapp/pom.xml
View file @
1821667e
...
...
@@ -103,6 +103,12 @@
<dependencies>
<dependency>
<groupId>
org.apache.atlas
</groupId>
<artifactId>
atlas-graphdb-impls
</artifactId>
<type>
pom
</type>
</dependency>
<dependency>
<groupId>
org.apache.atlas
</groupId>
<artifactId>
atlas-common
</artifactId>
</dependency>
...
...
@@ -141,6 +147,7 @@
<groupId>
org.apache.hadoop
</groupId>
<artifactId>
hadoop-common
</artifactId>
</dependency>
<dependency>
<groupId>
org.apache.hadoop
</groupId>
<artifactId>
hadoop-minikdc
</artifactId>
...
...
@@ -156,10 +163,20 @@
<artifactId>
atlas-catalog
</artifactId>
</dependency>
<!-- Zookeeper, curator -->
<dependency>
<groupId>
org.apache.atlas
</groupId>
<artifactId>
atlas-graphdb-impls
</artifactId>
<type>
pom
</type>
<groupId>
org.apache.curator
</groupId>
<artifactId>
curator-framework
</artifactId>
</dependency>
<dependency>
<groupId>
org.apache.curator
</groupId>
<artifactId>
curator-recipes
</artifactId>
</dependency>
<dependency>
<groupId>
org.apache.zookeeper
</groupId>
<artifactId>
zookeeper
</artifactId>
</dependency>
<!-- supports simple auth handler -->
...
...
@@ -392,7 +409,9 @@
</manifest>
</archive>
<packagingExcludes>
${packages.to.exclude}
<!-- Titan and hbase jars should be excluded because an uber jar with shaded dependencies is created.
But mvn 3.3.x includes them for some reason. So, excluding them explicitly here -->
WEB-INF/lib/titan*.jar,WEB-INF/lib/hbase*.jar,${packages.to.exclude}
</packagingExcludes>
</configuration>
</plugin>
...
...
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