Return-Path: Delivered-To: apmail-incubator-hama-dev-archive@locus.apache.org Received: (qmail 71275 invoked from network); 29 Oct 2008 06:17:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Oct 2008 06:17:05 -0000 Received: (qmail 53784 invoked by uid 500); 29 Oct 2008 06:17:10 -0000 Delivered-To: apmail-incubator-hama-dev-archive@incubator.apache.org Received: (qmail 53772 invoked by uid 500); 29 Oct 2008 06:17:09 -0000 Mailing-List: contact hama-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hama-dev@incubator.apache.org Delivered-To: mailing list hama-dev@incubator.apache.org Received: (qmail 53761 invoked by uid 99); 29 Oct 2008 06:17:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Oct 2008 23:17:09 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Oct 2008 06:16:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 39EC7234C247 for ; Tue, 28 Oct 2008 23:16:44 -0700 (PDT) Message-ID: <238081318.1225261004222.JavaMail.jira@brutus> Date: Tue, 28 Oct 2008 23:16:44 -0700 (PDT) From: "Samuel Guo (JIRA)" To: hama-dev@incubator.apache.org Subject: [jira] Updated: (HAMA-88) DenseMatrix.close should not delete the table that are aliased in HamaAdmin. In-Reply-To: <1426872051.1224673604360.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HAMA-88?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Samuel Guo updated HAMA-88: --------------------------- Attachment: HAMA-88_v02.patch attach my patch. can anyone review it? > DenseMatrix.close should not delete the table that are aliased in HamaAdmin. > ---------------------------------------------------------------------------- > > Key: HAMA-88 > URL: https://issues.apache.org/jira/browse/HAMA-88 > Project: Hama > Issue Type: Bug > Affects Versions: 0.1.0 > Reporter: Samuel Guo > Assignee: Samuel Guo > Fix For: 0.1.0 > > Attachments: HAMA-88_v01.patch, HAMA-88_v02.patch > > > for example: > " > String matrixname = "MatrixA"; > Matrix a = DenseMatrix.random(conf, 10, 10); > a.save(matrixname); > a.close(); > Matrix b = new DenseMatrix(conf, matrixname); > " > If we close a matrix, we alse delete the table in hbase. so we can use its aliase name keeped in HamaAdmin to reopen the matrix. > so we need to identify if the matrix has been keeped in HamaAdmin. If the matrix has been aliased in HamaAdmin, we should not delete the table in Hbase. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.