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
78c835ed
Commit
78c835ed
authored
8 years ago
by
Suma Shivaprasad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-1351 HiveHook fails with NPE for hive process registration (vimalsharma via sumasai)
parent
c91f582a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
HiveHook.java
...ge/src/main/java/org/apache/atlas/hive/hook/HiveHook.java
+7
-1
release-log.txt
release-log.txt
+1
-0
No files found.
addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/HiveHook.java
View file @
78c835ed
...
...
@@ -1087,7 +1087,13 @@ public class HiveHook extends AtlasHook implements ExecuteWithHookContext {
static
final
class
EntityComparator
implements
Comparator
<
Entity
>
{
@Override
public
int
compare
(
Entity
o1
,
Entity
o2
)
{
return
o1
.
getName
().
toLowerCase
().
compareTo
(
o2
.
getName
().
toLowerCase
());
String
s1
=
o1
.
getName
();
String
s2
=
o2
.
getName
();
if
(
s1
==
null
||
s2
==
null
){
s1
=
o1
.
getD
().
toString
();
s2
=
o2
.
getD
().
toString
();
}
return
s1
.
toLowerCase
().
compareTo
(
s2
.
toLowerCase
());
}
}
...
...
This diff is collapsed.
Click to expand it.
release-log.txt
View file @
78c835ed
...
...
@@ -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)
ALL CHANGES:
ATLAS-1351 HiveHook fails with NPE for hive process registration (vimalsharma via sumasai)
ATLAS-1342 Titan Solrclient - Add timeouts for zookeeper connect and session (sumasai)
ATLAS-1353 Invalid error message(500 internal server error) for lineage query on non-existing table. (sumasai)
ATLAS-1347 Creating a class with unknown supertype results in "409 Conflict", where as expected is "400 Bad Message" (apoorvnairk 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