From dev-return-21156-archive-asf-public=cust-asf.ponee.io@atlas.apache.org Fri Feb 16 14:32:05 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 0C8C9180647 for ; Fri, 16 Feb 2018 14:32:04 +0100 (CET) Received: (qmail 54399 invoked by uid 500); 16 Feb 2018 13:32:04 -0000 Mailing-List: contact dev-help@atlas.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@atlas.apache.org Delivered-To: mailing list dev@atlas.apache.org Received: (qmail 54388 invoked by uid 99); 16 Feb 2018 13:32:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Feb 2018 13:32:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 999CD1A06DC for ; Fri, 16 Feb 2018 13:32:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -102.311 X-Spam-Level: X-Spam-Status: No, score=-102.311 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id YO5U1iYx7No8 for ; Fri, 16 Feb 2018 13:32:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 1F0585F523 for ; Fri, 16 Feb 2018 13:32:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 627AFE015F for ; Fri, 16 Feb 2018 13:32:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1C54821E59 for ; Fri, 16 Feb 2018 13:32:00 +0000 (UTC) Date: Fri, 16 Feb 2018 13:32:00 +0000 (UTC) From: "Sharmadha Sainath (JIRA)" To: dev@atlas.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (ATLAS-2452) HBase Atlas Hook : isReadOnly hbase_table parameter is always false MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Sharmadha Sainath created ATLAS-2452: ---------------------------------------- Summary: HBase Atlas Hook : isReadOnly hbase_table parameter is always false Key: ATLAS-2452 URL: https://issues.apache.org/jira/browse/ATLAS-2452 Project: Atlas Issue Type: Bug Components: atlas-intg Reporter: Sharmadha Sainath isReadOnly hbase_table attribute is always set as -1 because of : table.setAttribute(ATTR_TABLE_ISREADONLY, htableDescriptor.getMaxFileSize()); (https://github.com/apache/atlas/blob/master/addons/hbase-bridge/src/main/java/org/apache/atlas/hbase/bridge/HBaseAtlasHook.java#L453) Change needed to use htableDescriptor.isReadOnly() instead of htableDescriptor.getMaxFileSize(). CC : [~rmani] -- This message was sent by Atlassian JIRA (v7.6.3#76005)