You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/08/03 21:41:00 UTC

[jira] [Commented] (HUDI-2090) when hudi metadata is enabled, use different user to query table, the query will failed

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

ASF GitHub Bot commented on HUDI-2090:
--------------------------------------

hudi-bot edited a comment on pull request #3329:
URL: https://github.com/apache/hudi/pull/3329#issuecomment-885330993


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "1b46f976d18083ee2ad7a64c9eaa9a4f19fcb666",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=1108",
       "triggerID" : "1b46f976d18083ee2ad7a64c9eaa9a4f19fcb666",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a8c0846435a59cb7422c8962db7f121d72ced322",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "a8c0846435a59cb7422c8962db7f121d72ced322",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9f3807615378aaeb6bd901b240346271f5346c28",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=1114",
       "triggerID" : "9f3807615378aaeb6bd901b240346271f5346c28",
       "triggerType" : "PUSH"
     }, {
       "hash" : "79c95f5819d816dc88ae89daceb04c9413c3bb09",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=1249",
       "triggerID" : "79c95f5819d816dc88ae89daceb04c9413c3bb09",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f877900b3c7969ef412f1e3d54bcae4621b84f56",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "f877900b3c7969ef412f1e3d54bcae4621b84f56",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * a8c0846435a59cb7422c8962db7f121d72ced322 UNKNOWN
   * 79c95f5819d816dc88ae89daceb04c9413c3bb09 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=1249) 
   * f877900b3c7969ef412f1e3d54bcae4621b84f56 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run travis` re-run the last Travis build
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> when  hudi metadata is enabled,  use different user to query table, the query will failed
> -----------------------------------------------------------------------------------------
>
>                 Key: HUDI-2090
>                 URL: https://issues.apache.org/jira/browse/HUDI-2090
>             Project: Apache Hudi
>          Issue Type: Bug
>          Components: Common Core
>    Affects Versions: 0.8.0
>            Reporter: tao meng
>            Assignee: tao meng
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.9.0
>
>
> when hudi metadata is enabled, use different user to query table, the query will failed.
>  
> The user permissions of the temporary directory generated by DiskBasedMap are incorrect. This directory only has permissions for the user of current operation, and other users have no permissions to access it, which leads to this problem
> test step:
> step1: create hudi table with metadata enabled.
> step1: create two user(omm,user2)
> step2:  
> f1) use omm to query hudi table 
> DiskBasedMap will generate view_map with permissions drwx------.
> 2) then user user2 to query hudi table
> now user2 has no right to access view_map which created by omm,   the exception will throws:
>      org.apache.hudi.exception.HoodieIOException: IOException when creating ExternalSplillableMap at /tmp/view_map
>  
>  
>  



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