Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 78AC61022E for ; Sat, 31 May 2014 00:13:27 +0000 (UTC) Received: (qmail 37238 invoked by uid 500); 31 May 2014 00:13:27 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 37209 invoked by uid 500); 31 May 2014 00:13:27 -0000 Mailing-List: contact issues-help@drill.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.incubator.apache.org Delivered-To: mailing list issues@drill.incubator.apache.org Received: (qmail 37198 invoked by uid 99); 31 May 2014 00:13:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 May 2014 00:13:27 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 31 May 2014 00:13:27 +0000 Received: (qmail 36499 invoked by uid 99); 31 May 2014 00:13:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 May 2014 00:13:02 +0000 Date: Sat, 31 May 2014 00:13:02 +0000 (UTC) From: "Mehant Baid (JIRA)" To: issues@drill.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (DRILL-879) SHOW FILES does not work correctly for non-default DFS workspaces MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DRILL-879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mehant Baid reassigned DRILL-879: --------------------------------- Assignee: Mehant Baid > SHOW FILES does not work correctly for non-default DFS workspaces > ----------------------------------------------------------------- > > Key: DRILL-879 > URL: https://issues.apache.org/jira/browse/DRILL-879 > Project: Apache Drill > Issue Type: Bug > Reporter: George Chow > Assignee: Mehant Baid > Priority: Minor > > Given a storage-plugsins.json that looks like the following: > {code} > "storage":{ > dfs: { > type: "file", > connection: "maprfs:///", > workspaces: { > "MFS root" : { > location: "/mapr/summit-drill/JSON", > writable: false > }, > "JSON-files" : { > location: "/JSON", > writable: false > } > }, > {code} > SHOW FILES of dfs.default and dfs.JSON-files should be different. But they're not. > {code} > 0: jdbc:drill:zk=localhost:5181> show files from `dfs.default`.`/`; > +------------+-------------+------------+------------+------------+------------+-------------+-+ > | name | isDirectory | isFile | length | owner | group | permissions | | > +------------+-------------+------------+------------+------------+------------+-------------+-+ > | etc | true | false | 4096 | root | root | rwxr-xr-x | | > | tmp | true | false | 4096 | root | root | rwxrwxrwt | | > | boot | true | false | 4096 | root | root | rwxr-xr-x | | > | mavenoutput.txt | false | true | 333790 | root | root | rw-r--r- | > | RPMS | true | false | 4096 | root | root | rwxr-xr-x | | > | sys | true | false | 0 | root | root | rwxr-xr-x | | > ... > | media | true | false | 4096 | root | root | rwxr-xr-x | | > | opt | true | false | 4096 | root | root | rwxr-xr-x | | > +------------+-------------+------------+------------+------------+------------+-------------+-+ > 27 rows selected (0.394 seconds) > {code} > {code} > 0: jdbc:drill:zk=localhost:5181> show files from `dfs.JSON-files`.`/`; > +------------+-------------+------------+------------+------------+------------+-------------+-+ > | name | isDirectory | isFile | length | owner | group | permissions | | > +------------+-------------+------------+------------+------------+------------+-------------+-+ > | etc | true | false | 4096 | root | root | rwxr-xr-x | | > | tmp | true | false | 4096 | root | root | rwxrwxrwt | | > | boot | true | false | 4096 | root | root | rwxr-xr-x | | > | mavenoutput.txt | false | true | 333790 | root | root | rw-r--r- | > | RPMS | true | false | 4096 | root | root | rwxr-xr-x | | > | sys | true | false | 0 | root | root | rwxr-xr-x | | > ... > | media | true | false | 4096 | root | root | rwxr-xr-x | | > | opt | true | false | 4096 | root | root | rwxr-xr-x | | > +------------+-------------+------------+------------+------------+------------+-------------+-+ > 27 rows selected (0.347 seconds) > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)