You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by ma...@apache.org on 2018/02/16 16:29:05 UTC

[1/2] atlas git commit: ATLAS-2452: updated HBase hook to fix incorrect value assigned to hbase_table.isReadOnly attribute

Repository: atlas
Updated Branches:
  refs/heads/master 8a57e6571 -> 745b520b2


ATLAS-2452: updated HBase hook to fix incorrect value assigned to hbase_table.isReadOnly attribute

Signed-off-by: Madhan Neethiraj <ma...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/c3a684fd
Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/c3a684fd
Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/c3a684fd

Branch: refs/heads/master
Commit: c3a684fd5f5486772ad918e5896a2e27fc8cffb2
Parents: 8a57e65
Author: Sharmadha Sainath <ss...@hortonworks.com>
Authored: Fri Feb 16 19:02:22 2018 +0530
Committer: Madhan Neethiraj <ma...@apache.org>
Committed: Fri Feb 16 08:22:49 2018 -0800

----------------------------------------------------------------------
 .../main/java/org/apache/atlas/hbase/bridge/HBaseAtlasHook.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/atlas/blob/c3a684fd/addons/hbase-bridge/src/main/java/org/apache/atlas/hbase/bridge/HBaseAtlasHook.java
----------------------------------------------------------------------
diff --git a/addons/hbase-bridge/src/main/java/org/apache/atlas/hbase/bridge/HBaseAtlasHook.java b/addons/hbase-bridge/src/main/java/org/apache/atlas/hbase/bridge/HBaseAtlasHook.java
index 2074684..11f24a7 100644
--- a/addons/hbase-bridge/src/main/java/org/apache/atlas/hbase/bridge/HBaseAtlasHook.java
+++ b/addons/hbase-bridge/src/main/java/org/apache/atlas/hbase/bridge/HBaseAtlasHook.java
@@ -450,7 +450,7 @@ public class HBaseAtlasHook extends AtlasHook {
         if (htableDescriptor != null) {
             table.setAttribute(ATTR_TABLE_MAX_FILESIZE, htableDescriptor.getMaxFileSize());
             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_DURABLILITY, (htableDescriptor.getDurability() != null ? htableDescriptor.getDurability().name() : null));
         }


[2/2] atlas git commit: ATLAS-2453: changed datatype of hbase_table.maxFileSize from int to long

Posted by ma...@apache.org.
ATLAS-2453: changed datatype of hbase_table.maxFileSize from int to long

Signed-off-by: Madhan Neethiraj <ma...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/745b520b
Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/745b520b
Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/745b520b

Branch: refs/heads/master
Commit: 745b520b25e0f733a7a7c6d8fea49b2a7b1573b8
Parents: c3a684f
Author: Sharmadha Sainath <ss...@hortonworks.com>
Authored: Fri Feb 16 21:01:37 2018 +0530
Committer: Madhan Neethiraj <ma...@apache.org>
Committed: Fri Feb 16 08:27:45 2018 -0800

----------------------------------------------------------------------
 .../005-hbase_table_column_family_add_additional_attribute.json    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/atlas/blob/745b520b/addons/models/1000-Hadoop/patches/005-hbase_table_column_family_add_additional_attribute.json
----------------------------------------------------------------------
diff --git a/addons/models/1000-Hadoop/patches/005-hbase_table_column_family_add_additional_attribute.json b/addons/models/1000-Hadoop/patches/005-hbase_table_column_family_add_additional_attribute.json
index 0ee7908..8624774 100644
--- a/addons/models/1000-Hadoop/patches/005-hbase_table_column_family_add_additional_attribute.json
+++ b/addons/models/1000-Hadoop/patches/005-hbase_table_column_family_add_additional_attribute.json
@@ -9,7 +9,7 @@
       "attributeDefs": [
         {
           "name": "maxFileSize",
-          "typeName": "int",
+          "typeName": "long",
           "cardinality": "SINGLE",
           "isIndexable": false,
           "isOptional": true,