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
9eafb165
Commit
9eafb165
authored
8 years ago
by
Suma Shivaprasad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-1086 Build failure in hive-bridge after security fixes in ATLAS-762 (sumasai)
parent
dd030eca
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
4 deletions
+26
-4
FalconHookIT.java
.../test/java/org/apache/atlas/falcon/hook/FalconHookIT.java
+6
-1
HiveITBase.java
...ridge/src/test/java/org/apache/atlas/hive/HiveITBase.java
+6
-1
SqoopHookIT.java
...rc/test/java/org/apache/atlas/sqoop/hook/SqoopHookIT.java
+6
-1
StormAtlasHookIT.java
...st/java/org/apache/atlas/storm/hook/StormAtlasHookIT.java
+7
-1
release-log.txt
release-log.txt
+1
-0
No files found.
addons/falcon-bridge/src/test/java/org/apache/atlas/falcon/hook/FalconHookIT.java
View file @
9eafb165
...
...
@@ -31,6 +31,7 @@ import org.apache.atlas.hive.model.HiveDataTypes;
import
org.apache.atlas.typesystem.Referenceable
;
import
org.apache.atlas.typesystem.persistence.Id
;
import
org.apache.atlas.typesystem.types.TypeUtils
;
import
org.apache.atlas.utils.AuthenticationUtil
;
import
org.apache.atlas.utils.ParamChecker
;
import
org.apache.commons.configuration.Configuration
;
import
org.apache.commons.lang.RandomStringUtils
;
...
...
@@ -74,7 +75,11 @@ public class FalconHookIT {
@BeforeClass
public
void
setUp
()
throws
Exception
{
Configuration
atlasProperties
=
ApplicationProperties
.
get
();
atlasClient
=
new
AtlasClient
(
atlasProperties
.
getString
(
"atlas.rest.address"
));
if
(!
AuthenticationUtil
.
isKerberosAuthenticationEnabled
())
{
atlasClient
=
new
AtlasClient
(
new
String
[]{
atlasProperties
.
getString
(
HiveMetaStoreBridge
.
ATLAS_ENDPOINT
)},
new
String
[]{
"admin"
,
"admin"
});
}
else
{
atlasClient
=
new
AtlasClient
(
atlasProperties
.
getString
(
HiveMetaStoreBridge
.
ATLAS_ENDPOINT
));
}
AtlasService
service
=
new
AtlasService
();
service
.
init
();
...
...
This diff is collapsed.
Click to expand it.
addons/hive-bridge/src/test/java/org/apache/atlas/hive/HiveITBase.java
View file @
9eafb165
...
...
@@ -26,6 +26,7 @@ import org.apache.atlas.hive.hook.HiveHookIT;
import
org.apache.atlas.hive.model.HiveDataTypes
;
import
org.apache.atlas.typesystem.Referenceable
;
import
org.apache.atlas.typesystem.persistence.Id
;
import
org.apache.atlas.utils.AuthenticationUtil
;
import
org.apache.atlas.utils.ParamChecker
;
import
org.apache.commons.configuration.Configuration
;
import
org.apache.commons.lang.RandomStringUtils
;
...
...
@@ -79,7 +80,11 @@ public class HiveITBase {
SessionState
.
setCurrentSessionState
(
ss
);
Configuration
configuration
=
ApplicationProperties
.
get
();
atlasClient
=
new
AtlasClient
(
configuration
.
getString
(
HiveMetaStoreBridge
.
ATLAS_ENDPOINT
,
DGI_URL
));
if
(!
AuthenticationUtil
.
isKerberosAuthenticationEnabled
())
{
atlasClient
=
new
AtlasClient
(
new
String
[]{
configuration
.
getString
(
HiveMetaStoreBridge
.
ATLAS_ENDPOINT
,
DGI_URL
)},
new
String
[]{
"admin"
,
"admin"
});
}
else
{
atlasClient
=
new
AtlasClient
(
configuration
.
getString
(
HiveMetaStoreBridge
.
ATLAS_ENDPOINT
,
DGI_URL
));
}
hiveMetaStoreBridge
=
new
HiveMetaStoreBridge
(
configuration
,
conf
,
atlasClient
);
hiveMetaStoreBridge
.
registerHiveDataModel
();
...
...
This diff is collapsed.
Click to expand it.
addons/sqoop-bridge/src/test/java/org/apache/atlas/sqoop/hook/SqoopHookIT.java
View file @
9eafb165
...
...
@@ -26,6 +26,7 @@ import org.apache.atlas.hive.bridge.HiveMetaStoreBridge;
import
org.apache.atlas.hive.model.HiveDataTypes
;
import
org.apache.atlas.sqoop.model.SqoopDataModelGenerator
;
import
org.apache.atlas.sqoop.model.SqoopDataTypes
;
import
org.apache.atlas.utils.AuthenticationUtil
;
import
org.apache.commons.configuration.Configuration
;
import
org.apache.hadoop.hive.conf.HiveConf
;
import
org.apache.sqoop.SqoopJobDataPublisher
;
...
...
@@ -48,7 +49,11 @@ public class SqoopHookIT {
public
void
setUp
()
throws
Exception
{
//Set-up sqoop session
Configuration
configuration
=
ApplicationProperties
.
get
();
atlasClient
=
new
AtlasClient
(
configuration
.
getString
(
"atlas.rest.address"
));
if
(!
AuthenticationUtil
.
isKerberosAuthenticationEnabled
())
{
atlasClient
=
new
AtlasClient
(
new
String
[]{
configuration
.
getString
(
HiveMetaStoreBridge
.
ATLAS_ENDPOINT
)},
new
String
[]{
"admin"
,
"admin"
});
}
else
{
atlasClient
=
new
AtlasClient
(
configuration
.
getString
(
HiveMetaStoreBridge
.
ATLAS_ENDPOINT
));
}
registerDataModels
(
atlasClient
);
}
...
...
This diff is collapsed.
Click to expand it.
addons/storm-bridge/src/test/java/org/apache/atlas/storm/hook/StormAtlasHookIT.java
View file @
9eafb165
...
...
@@ -23,6 +23,7 @@ import org.apache.atlas.ApplicationProperties;
import
org.apache.atlas.AtlasClient
;
import
org.apache.atlas.AtlasException
;
import
org.apache.atlas.AtlasServiceException
;
import
org.apache.atlas.hive.bridge.HiveMetaStoreBridge
;
import
org.apache.atlas.hive.model.HiveDataModelGenerator
;
import
org.apache.atlas.hive.model.HiveDataTypes
;
import
org.apache.atlas.storm.model.StormDataModel
;
...
...
@@ -30,6 +31,7 @@ import org.apache.atlas.storm.model.StormDataTypes;
import
org.apache.atlas.typesystem.Referenceable
;
import
org.apache.atlas.typesystem.TypesDef
;
import
org.apache.atlas.typesystem.json.TypesSerialization
;
import
org.apache.atlas.utils.AuthenticationUtil
;
import
org.apache.commons.configuration.Configuration
;
import
org.apache.storm.ILocalCluster
;
import
org.apache.storm.generated.StormTopology
;
...
...
@@ -60,7 +62,11 @@ public class StormAtlasHookIT {
LOG
.
info
(
"Created a storm local cluster"
);
Configuration
configuration
=
ApplicationProperties
.
get
();
atlasClient
=
new
AtlasClient
(
configuration
.
getString
(
"atlas.rest.address"
,
ATLAS_URL
));
if
(!
AuthenticationUtil
.
isKerberosAuthenticationEnabled
())
{
atlasClient
=
new
AtlasClient
(
new
String
[]{
configuration
.
getString
(
HiveMetaStoreBridge
.
ATLAS_ENDPOINT
)},
new
String
[]{
"admin"
,
"admin"
});
}
else
{
atlasClient
=
new
AtlasClient
(
configuration
.
getString
(
HiveMetaStoreBridge
.
ATLAS_ENDPOINT
));
}
registerDataModel
(
new
HiveDataModelGenerator
());
}
...
...
This diff is collapsed.
Click to expand it.
release-log.txt
View file @
9eafb165
...
...
@@ -6,6 +6,7 @@ INCOMPATIBLE CHANGES:
ALL CHANGES:
ATLAS-1086 Build failure in hive-bridge after security fixes in ATLAS-762 (sumasai)
ATLAS-1088 Fix /search api to default to fulltext on dsl failure (sumasai)
ATLAS-762 Assertion in NegativeSSLAndKerberosTest.testUnsecuredClient needs to be hardened (nixonrodrigues via sumasai)
ATLAS-1071 Regression - UI - Details Button under Audits Tab is not working.(kevalbhatt18 via sumasai)
...
...
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