[
https://issues.apache.org/jira/browse/METRON-1674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16546718#comment-16546718
]
ASF GitHub Bot commented on METRON-1674:
----------------------------------------
Github user cestella commented on a diff in the pull request:
https://github.com/apache/metron/pull/1109#discussion_r203049598
--- Diff:
metron-platform/metron-common/src/main/java/org/apache/metron/common/utils/HDFSUtils.java
---
@@ -29,6 +29,16 @@
public class HDFSUtils {
+ public static byte[] readBytes(String path) throws IOException {
+ return readBytes(new Path(path));
+ }
+
+ public static byte[] readBytes(Path inPath) throws IOException {
+ FileSystem fs = FileSystem.get(inPath.toUri(), new Configuration());
+ FSDataInputStream inputStream = fs.open(inPath);
--- End diff --
I retract this, it originated in @mmiklavc 's PR. I moved the comment
there.
> Create REST endpoint for job status abstraction
> -----------------------------------------------
>
> Key: METRON-1674
> URL: https://issues.apache.org/jira/browse/METRON-1674
> Project: Metron
> Issue Type: Sub-task
> Reporter: Ryan Merriman
> Priority: Major
>
> We need a REST endpoint that will enable us to get the status of a running
> job.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)