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
56e97e22
Commit
56e97e22
authored
Jul 25, 2016
by
Suma Shivaprasad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-1052 Fix NPE in HiveHook due to null Session State (sumasai)
parent
46ec799c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
HiveMetaStoreBridge.java
...ava/org/apache/atlas/hive/bridge/HiveMetaStoreBridge.java
+1
-1
release-log.txt
release-log.txt
+1
-0
No files found.
addons/hive-bridge/src/main/java/org/apache/atlas/hive/bridge/HiveMetaStoreBridge.java
View file @
56e97e22
...
@@ -362,7 +362,7 @@ public class HiveMetaStoreBridge {
...
@@ -362,7 +362,7 @@ public class HiveMetaStoreBridge {
public
static
String
getTableQualifiedName
(
String
clusterName
,
String
dbName
,
String
tableName
,
boolean
isTemporaryTable
)
{
public
static
String
getTableQualifiedName
(
String
clusterName
,
String
dbName
,
String
tableName
,
boolean
isTemporaryTable
)
{
String
tableTempName
=
tableName
;
String
tableTempName
=
tableName
;
if
(
isTemporaryTable
)
{
if
(
isTemporaryTable
)
{
if
(
SessionState
.
get
().
getSessionId
()
!=
null
)
{
if
(
SessionState
.
get
()
!=
null
&&
SessionState
.
get
()
.
getSessionId
()
!=
null
)
{
tableTempName
=
tableName
+
TEMP_TABLE_PREFIX
+
SessionState
.
get
().
getSessionId
();
tableTempName
=
tableName
+
TEMP_TABLE_PREFIX
+
SessionState
.
get
().
getSessionId
();
}
else
{
}
else
{
tableTempName
=
tableName
+
TEMP_TABLE_PREFIX
+
RandomStringUtils
.
random
(
10
);
tableTempName
=
tableName
+
TEMP_TABLE_PREFIX
+
RandomStringUtils
.
random
(
10
);
...
...
release-log.txt
View file @
56e97e22
...
@@ -6,6 +6,7 @@ INCOMPATIBLE CHANGES:
...
@@ -6,6 +6,7 @@ INCOMPATIBLE CHANGES:
ALL CHANGES:
ALL CHANGES:
ATLAS-1052 Fix NPE in HiveHook due to null Session State (sumasai)
ATLAS-1051 Sqoop Hook does not package HDFS model jars which is required (sumasai)
ATLAS-1051 Sqoop Hook does not package HDFS model jars which is required (sumasai)
ATLAS-1049 List types by supertype (shwethags via sumasai)
ATLAS-1049 List types by supertype (shwethags via sumasai)
ATLAS-1032 Atlas hook package should not include libraries already present in host component - like log4j(mneethiraj via sumasai)
ATLAS-1032 Atlas hook package should not include libraries already present in host component - like log4j(mneethiraj via sumasai)
...
...
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