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
c3a684fd
Commit
c3a684fd
authored
7 years ago
by
Sharmadha Sainath
Committed by
Madhan Neethiraj
7 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-2452: updated HBase hook to fix incorrect value assigned to hbase_table.isReadOnly attribute
Signed-off-by:
Madhan Neethiraj
<
madhan@apache.org
>
parent
8a57e657
master
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
HBaseAtlasHook.java
...in/java/org/apache/atlas/hbase/bridge/HBaseAtlasHook.java
+1
-1
No files found.
addons/hbase-bridge/src/main/java/org/apache/atlas/hbase/bridge/HBaseAtlasHook.java
View file @
c3a684fd
...
@@ -450,7 +450,7 @@ public class HBaseAtlasHook extends AtlasHook {
...
@@ -450,7 +450,7 @@ public class HBaseAtlasHook extends AtlasHook {
if
(
htableDescriptor
!=
null
)
{
if
(
htableDescriptor
!=
null
)
{
table
.
setAttribute
(
ATTR_TABLE_MAX_FILESIZE
,
htableDescriptor
.
getMaxFileSize
());
table
.
setAttribute
(
ATTR_TABLE_MAX_FILESIZE
,
htableDescriptor
.
getMaxFileSize
());
table
.
setAttribute
(
ATTR_TABLE_REPLICATION_PER_REGION
,
htableDescriptor
.
getRegionReplication
());
table
.
setAttribute
(
ATTR_TABLE_REPLICATION_PER_REGION
,
htableDescriptor
.
getRegionReplication
());
table
.
setAttribute
(
ATTR_TABLE_ISREADONLY
,
htableDescriptor
.
getMaxFileSize
());
table
.
setAttribute
(
ATTR_TABLE_ISREADONLY
,
htableDescriptor
.
isReadOnly
());
table
.
setAttribute
(
ATTR_TABLE_ISCOMPACTION_ENABLED
,
htableDescriptor
.
isCompactionEnabled
());
table
.
setAttribute
(
ATTR_TABLE_ISCOMPACTION_ENABLED
,
htableDescriptor
.
isCompactionEnabled
());
table
.
setAttribute
(
ATTR_TABLE_DURABLILITY
,
(
htableDescriptor
.
getDurability
()
!=
null
?
htableDescriptor
.
getDurability
().
name
()
:
null
));
table
.
setAttribute
(
ATTR_TABLE_DURABLILITY
,
(
htableDescriptor
.
getDurability
()
!=
null
?
htableDescriptor
.
getDurability
().
name
()
:
null
));
}
}
...
...
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