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
db359532
Commit
db359532
authored
8 years ago
by
Vimal Sharma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix failure of Hive ITs(ayubkhan, svimal2106 via svimal2106)
parent
52a8805e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
46 additions
and
8 deletions
+46
-8
pom.xml
addons/hive-bridge/pom.xml
+42
-0
HiveHookIT.java
.../src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java
+3
-2
pom.xml
pom.xml
+0
-6
release-log.txt
release-log.txt
+1
-0
No files found.
addons/hive-bridge/pom.xml
View file @
db359532
...
@@ -400,6 +400,48 @@
...
@@ -400,6 +400,48 @@
<executions>
<executions>
</executions>
</executions>
</plugin>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-resources-plugin
</artifactId>
<executions>
<execution>
<id>
copy-resources
</id>
<phase>
validate
</phase>
<goals>
<goal>
copy-resources
</goal>
</goals>
<configuration>
<outputDirectory>
${basedir}/target/models
</outputDirectory>
<resources>
<resource>
<directory>
${basedir}/../models
</directory>
<filtering>
true
</filtering>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-failsafe-plugin
</artifactId>
<version>
2.19.1
</version>
<configuration>
<systemPropertyVariables>
<atlas.home>
${basedir}/target
</atlas.home>
</systemPropertyVariables>
</configuration>
<executions>
<execution>
<id>
integration-test
</id>
<phase>
install
</phase>
<goals>
<goal>
integration-test
</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</plugins>
</build>
</build>
</project>
</project>
This diff is collapsed.
Click to expand it.
addons/hive-bridge/src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java
View file @
db359532
...
@@ -200,7 +200,7 @@ public class HiveHookIT extends HiveITBase {
...
@@ -200,7 +200,7 @@ public class HiveHookIT extends HiveITBase {
String
colName
=
columnName
();
String
colName
=
columnName
();
String
pFile
=
createTestDFSPath
(
"parentPath"
);
String
pFile
=
createTestDFSPath
(
"parentPath"
);
final
String
query
=
String
.
format
(
"create
TEMPORARY
EXTERNAL table %s.%s( %s, %s) location '%s'"
,
DEFAULT_DB
,
tableName
,
colName
+
" int"
,
"name string"
,
pFile
);
final
String
query
=
String
.
format
(
"create EXTERNAL table %s.%s( %s, %s) location '%s'"
,
DEFAULT_DB
,
tableName
,
colName
+
" int"
,
"name string"
,
pFile
);
runCommand
(
query
);
runCommand
(
query
);
assertTableIsRegistered
(
DEFAULT_DB
,
tableName
,
null
,
true
);
assertTableIsRegistered
(
DEFAULT_DB
,
tableName
,
null
,
true
);
String
processId
=
assertEntityIsRegistered
(
HiveDataTypes
.
HIVE_PROCESS
.
getName
(),
String
processId
=
assertEntityIsRegistered
(
HiveDataTypes
.
HIVE_PROCESS
.
getName
(),
...
@@ -658,7 +658,8 @@ public class HiveHookIT extends HiveITBase {
...
@@ -658,7 +658,8 @@ public class HiveHookIT extends HiveITBase {
Assert
.
assertEquals
(
process2Reference
.
getId
().
_getId
(),
processReference
.
getId
().
_getId
());
Assert
.
assertEquals
(
process2Reference
.
getId
().
_getId
(),
processReference
.
getId
().
_getId
());
}
}
@Test
//Disabling test as temporary table is not captured by hiveHook(https://issues.apache.org/jira/browse/ATLAS-1274)
@Test
(
enabled
=
false
)
public
void
testInsertIntoTempTable
()
throws
Exception
{
public
void
testInsertIntoTempTable
()
throws
Exception
{
String
tableName
=
createTable
();
String
tableName
=
createTable
();
String
insertTableName
=
createTable
(
false
,
false
,
true
);
String
insertTableName
=
createTable
(
false
,
false
,
true
);
...
...
This diff is collapsed.
Click to expand it.
pom.xml
View file @
db359532
...
@@ -1749,12 +1749,6 @@
...
@@ -1749,12 +1749,6 @@
<forkCount>
1
</forkCount>
<forkCount>
1
</forkCount>
<threadCount>
5
</threadCount>
<threadCount>
5
</threadCount>
<redirectTestOutputToFile>
true
</redirectTestOutputToFile>
<redirectTestOutputToFile>
true
</redirectTestOutputToFile>
<!-- ATLAS-1317: Disable problematic tests. Need to revisit and fix them later -->
<excludes>
<exclude>
**/TypesJerseyResourceIT.java
</exclude>
<exclude>
**/MetadataDiscoveryJerseyResourceIT.java
</exclude>
<exclude>
**/HiveHookIT.java
</exclude>
</excludes>
</configuration>
</configuration>
<executions>
<executions>
<execution>
<execution>
...
...
This diff is collapsed.
Click to expand it.
release-log.txt
View file @
db359532
...
@@ -9,6 +9,7 @@ ATLAS-1060 Add composite indexes for exact match performance improvements for al
...
@@ -9,6 +9,7 @@ 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)
ATLAS-1127 Modify creation and modification timestamps to Date instead of Long(sumasai)
ALL CHANGES:
ALL CHANGES:
ATLAS-1321 Fix failure of Hive ITs (ayubkhan, svimal2106 via svimal2106)
ATLAS-1324 Fix SecureEmbeddedServerTest.testServerConfiguredUsingCredentialProvider UT failure(ayubkhan via svimal2106)
ATLAS-1324 Fix SecureEmbeddedServerTest.testServerConfiguredUsingCredentialProvider UT failure(ayubkhan via svimal2106)
ATLAS-1316 V2 API webapp tests are failing (ayubkhan via svimal2106)
ATLAS-1316 V2 API webapp tests are failing (ayubkhan via svimal2106)
ATLAS-1315 Fix webapp Integration tests (ayubkhan,apoorvnaik via svimal2106)
ATLAS-1315 Fix webapp Integration tests (ayubkhan,apoorvnaik via svimal2106)
...
...
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