|
@@ -281,7 +281,7 @@ public class HttpFSServer {
|
|
|
}
|
|
|
});
|
|
|
} catch (InterruptedException ie) {
|
|
|
- LOG.info("Open interrupted.", ie);
|
|
|
+ LOG.warn("Open interrupted.", ie);
|
|
|
Thread.currentThread().interrupt();
|
|
|
}
|
|
|
Long offset = params.get(OffsetParam.NAME, OffsetParam.class);
|
|
@@ -314,7 +314,7 @@ public class HttpFSServer {
|
|
|
enforceRootPath(op.value(), path);
|
|
|
FSOperations.FSHomeDir command = new FSOperations.FSHomeDir();
|
|
|
JSONObject json = fsExecute(user, command);
|
|
|
- AUDIT_LOG.info("");
|
|
|
+ AUDIT_LOG.info("Home Directory for [{}]", user);
|
|
|
response = Response.ok(json).type(MediaType.APPLICATION_JSON).build();
|
|
|
break;
|
|
|
}
|
|
@@ -336,7 +336,7 @@ public class HttpFSServer {
|
|
|
FSOperations.FSContentSummary command =
|
|
|
new FSOperations.FSContentSummary(path);
|
|
|
Map json = fsExecute(user, command);
|
|
|
- AUDIT_LOG.info("[{}]", path);
|
|
|
+ AUDIT_LOG.info("Content summary for [{}]", path);
|
|
|
response = Response.ok(json).type(MediaType.APPLICATION_JSON).build();
|
|
|
break;
|
|
|
}
|
|
@@ -344,7 +344,7 @@ public class HttpFSServer {
|
|
|
FSOperations.FSQuotaUsage command =
|
|
|
new FSOperations.FSQuotaUsage(path);
|
|
|
Map json = fsExecute(user, command);
|
|
|
- AUDIT_LOG.info("[{}]", path);
|
|
|
+ AUDIT_LOG.info("Quota Usage for [{}]", path);
|
|
|
response = Response.ok(json).type(MediaType.APPLICATION_JSON).build();
|
|
|
break;
|
|
|
}
|
|
@@ -597,14 +597,11 @@ public class HttpFSServer {
|
|
|
break;
|
|
|
}
|
|
|
case CONCAT: {
|
|
|
- System.out.println("HTTPFS SERVER CONCAT");
|
|
|
String sources = params.get(SourcesParam.NAME, SourcesParam.class);
|
|
|
-
|
|
|
FSOperations.FSConcat command =
|
|
|
new FSOperations.FSConcat(path, sources.split(","));
|
|
|
fsExecute(user, command);
|
|
|
AUDIT_LOG.info("[{}]", path);
|
|
|
- System.out.println("SENT RESPONSE");
|
|
|
response = Response.ok().build();
|
|
|
break;
|
|
|
}
|