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

ASF GitHub Bot commented on EAGLE-283:
--------------------------------------

Github user haoch commented on a diff in the pull request:

    https://github.com/apache/incubator-eagle/pull/300#discussion_r73635217
  
    --- Diff: 
eagle-security/eagle-security-maprfs-web/src/main/test/java/MapRNameResolverTest.java
 ---
    @@ -0,0 +1,35 @@
    +/*
    + * Licensed to the Apache Software Foundation (ASF) under one or more
    + * contributor license agreements.  See the NOTICE file distributed with
    + * this work for additional information regarding copyright ownership.
    + * The ASF licenses this file to You under the Apache License, Version 2.0
    + * (the "License"); you may not use this file except in compliance with
    + * the License.  You may obtain a copy of the License at
    + *
    + *    http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing, software
    + * distributed under the License is distributed on an "AS IS" BASIS,
    + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    + * See the License for the specific language governing permissions and
    + * limitations under the License.
    + */
    +
    +
    +import org.apache.eagle.service.security.hdfs.rest.MapRNameResolver;
    +
    +public class MapRNameResolverTest {
    +
    +    public static void main(String[] args){
    --- End diff --
    
    Could you pls. refactor the `main` to a unit test case?


> Convert fid,uid in MapR's audit log to FIle/folder name, user name
> ------------------------------------------------------------------
>
>                 Key: EAGLE-283
>                 URL: https://issues.apache.org/jira/browse/EAGLE-283
>             Project: Eagle
>          Issue Type: New Feature
>            Reporter: DanielZhou
>            Assignee: DanielZhou
>
> FIle/folder, user's names are not saved in MapR's audit log file, instead, 
> the audit log file keeps FID, UID. 
> Need a converter to resolve the relationship between ids and their actual 
> names.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to