[ 
https://issues.apache.org/jira/browse/IMPALA-9400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17100112#comment-17100112
 ] 

Sahil Takiar commented on IMPALA-9400:
--------------------------------------

For reference, here is a quick way to create an external table against an Ozone 
volume + bucket.

Given the following pre-existing Ozone volume + bucket ("impala-test" is the 
name of the volume and "data" is the name of the bucket):
{code:java}
 ozone sh bucket info o3://ozone1/impala-test/data
{
  "metadata" : { },
  "volumeName" : "impala-test",
  "name" : "data",
  "storageType" : "DISK",
  "versioning" : false,
  "creationTime" : "2020-05-05T00:42:16.550Z",
  "encryptionKeyName" : null
}{code}

An external table can be created by:
{code}
create external table test (col int) location 
'o3fs://data.impala-test.ozone1/test';
{code}

"ozone1" is the {{ozone.service.id}} (a logical name for an Ozone service).

> Impala Ozone Support
> --------------------
>
>                 Key: IMPALA-9400
>                 URL: https://issues.apache.org/jira/browse/IMPALA-9400
>             Project: IMPALA
>          Issue Type: New Feature
>          Components: Backend, Frontend
>            Reporter: Sahil Takiar
>            Assignee: Sahil Takiar
>            Priority: Major
>
> Impala should be able to read/write data from Apache Ozone: 
> [https://hadoop.apache.org/ozone/]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to