[
https://issues.apache.org/jira/browse/EAGLE-283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15408791#comment-15408791
]
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_r73635450
--- Diff:
eagle-security/eagle-security-maprfs-web/src/main/test/java/org/apache/eagle/service/security/hdfs/rest/HttpRequestTest.java
---
@@ -0,0 +1,33 @@
+/*
+ * 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.
+ */
+package org.apache.eagle.service.security.hdfs.rest;
+
+import
org.apache.eagle.service.security.hdfs.resolver.MAPRFSVolumeResolver;
+import org.json.JSONObject;
+
+import java.util.List;
+
+public class HttpRequestTest {
+ public static void main(String args[]) throws Exception {
+ String restUrl = "https://mapr1.da.dg:8443/rest/volume/list";
--- End diff --
- Could you pls. refactor the `main` to a unit test case ?
- Probably sensitive info?
> 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)